View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009529CMakeCMakepublic2009-09-13 15:412009-09-26 04:28
Reporterstefan hechenberger 
Assigned ToAlex Neundorf 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0009529: Working directory for code::blocks-built executables
DescriptionThe code::blocks projects generated with cmake define the working directory for the target executable to be the directory where the project file is. This is a problem when doing out-of-source builds. In these cases it makes it very difficult to deal with resource files.

I am having this issue on code::blocks for Linux but it is likely that this also applies for code::blocks on windos and osx.

Additional InformationIn the cbp file it's the <Option working_dir="" /> tag under the <Target> tag.
This working_dir should be the same as the path to the executable. At least this way it would be consistent with VS9, Xcode etc...
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0017483)
Alex Neundorf (developer)
2009-09-14 15:45

Is this for add_custom_command()/add_custom_target() ?
Or for running the executable which has been built by the project ?

Alex
(0017766)
Alex Neundorf (developer)
2009-09-26 04:28

Fixed in cvs HEAD (i.e. not yet in 2.8.0RC1). Please try and reopen the bug if this is not what you wanted.

Alex

 Issue History
Date Modified Username Field Change
2009-09-13 15:41 stefan hechenberger New Issue
2009-09-14 12:40 Bill Hoffman Status new => assigned
2009-09-14 12:40 Bill Hoffman Assigned To => Alex Neundorf
2009-09-14 15:45 Alex Neundorf Note Added: 0017483
2009-09-26 04:28 Alex Neundorf Note Added: 0017766
2009-09-26 04:28 Alex Neundorf Status assigned => closed
2009-09-26 04:28 Alex Neundorf Resolution open => fixed
2009-09-26 04:28 Alex Neundorf Description Updated
2009-09-26 04:28 Alex Neundorf Additional Information Updated


Copyright © 2000 - 2018 MantisBT Team