Author Topic: A few changes for clean building  (Read 1775 times)

Offline rj-away

  • Single posting newcomer
  • *
  • Posts: 3
A few changes for clean building
« 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: [Select]
$(#cb)\devel\share\codeblocks\plugins\envvars.dllto
Code: [Select]
..\..\..\devel\share\codeblocks\plugins\envvars.dll
In the 'Properties' of the project, 'Build Targets' tab, 'Output object dir' field, change from
Code: [Select]
$(#cb)\.objs\plugins\contrib\envvarsto
Code: [Select]
..\..\..\.objs\plugins\contrib\envvars
In the 'Build options' of the project, 'Pre/post build steps' tab, 'Post-build steps' field, change from
Code: [Select]
zip -j9 $(#cb)\devel\share\codeblocks\envvars.zip manifest.xml *.xrcto
Code: [Select]
zip -j9 ..\..\..\devel\share\codeblocks\envvars.zip manifest.xml *.xrc

Offline aindrajaya

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: A few changes for clean building
« Reply #1 on: July 05, 2017, 08:11:16 pm »
Oh good, It's help me  ;D

Offline aindrajaya

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: A few changes for clean building
« Reply #2 on: July 05, 2017, 08:11:38 pm »
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: [Select]
$(#cb)\devel\share\codeblocks\plugins\envvars.dllto
Code: [Select]
..\..\..\devel\share\codeblocks\plugins\envvars.dll
In the 'Properties' of the project, 'Build Targets' tab, 'Output object dir' field, change from
Code: [Select]
$(#cb)\.objs\plugins\contrib\envvarsto
Code: [Select]
..\..\..\.objs\plugins\contrib\envvars
In the 'Build options' of the project, 'Pre/post build steps' tab, 'Post-build steps' field, change from
Code: [Select]
zip -j9 $(#cb)\devel\share\codeblocks\envvars.zip manifest.xml *.xrcto
Code: [Select]
zip -j9 ..\..\..\devel\share\codeblocks\envvars.zip manifest.xml *.xrc