Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

A few changes for clean building

(1/1)

rj-away:
This is a fairly minor issue, but would it be possible for someone with svn commit access to change the EnvVars project in the ContribPlugins workspace such that it uses relative paths (like every other project in this workspace) rather than the cb global variable? Using the variable, it doesn't seem to play nicely with paths with spaces in them, resulting in the build not working cleanly if the codeblocks source tree is under a directory with a space in the name.

The three places that need to be amended are:

In the 'Properties' of the project, 'Build Targets' tab, 'Output filename' field, change from

--- Code: ---$(#cb)\devel\share\codeblocks\plugins\envvars.dll
--- End code ---
to

--- Code: ---..\..\..\devel\share\codeblocks\plugins\envvars.dll
--- End code ---

In the 'Properties' of the project, 'Build Targets' tab, 'Output object dir' field, change from

--- Code: ---$(#cb)\.objs\plugins\contrib\envvars
--- End code ---
to

--- Code: ---..\..\..\.objs\plugins\contrib\envvars
--- End code ---

In the 'Build options' of the project, 'Pre/post build steps' tab, 'Post-build steps' field, change from

--- Code: ---zip -j9 $(#cb)\devel\share\codeblocks\envvars.zip manifest.xml *.xrc
--- End code ---
to

--- Code: ---zip -j9 ..\..\..\devel\share\codeblocks\envvars.zip manifest.xml *.xrc
--- End code ---

aindrajaya:
Oh good, It's help me  ;D

aindrajaya:

--- Quote from: rj-away on September 24, 2007, 04:09:29 am ---This is a fairly minor issue, but would it be possible for someone with svn commit access to change the EnvVars project in the ContribPlugins workspace such that it uses relative paths (like every other project in this workspace) rather than the cb global variable? Using the variable, it doesn't seem to play nicely with paths with spaces in them, resulting in the build not working cleanly if the codeblocks source tree is under a directory with a space in the name.

The three places that need to be amended are:

In the 'Properties' of the project, 'Build Targets' tab, 'Output filename' field, change from

--- Code: ---$(#cb)\devel\share\codeblocks\plugins\envvars.dll
--- End code ---
to

--- Code: ---..\..\..\devel\share\codeblocks\plugins\envvars.dll
--- End code ---

In the 'Properties' of the project, 'Build Targets' tab, 'Output object dir' field, change from

--- Code: ---$(#cb)\.objs\plugins\contrib\envvars
--- End code ---
to

--- Code: ---..\..\..\.objs\plugins\contrib\envvars
--- End code ---

In the 'Build options' of the project, 'Pre/post build steps' tab, 'Post-build steps' field, change from

--- Code: ---zip -j9 $(#cb)\devel\share\codeblocks\envvars.zip manifest.xml *.xrc
--- End code ---
to

--- Code: ---zip -j9 ..\..\..\devel\share\codeblocks\envvars.zip manifest.xml *.xrc
--- End code ---

--- End quote ---

Navigation

[0] Message Index

Go to full version