set EXECUTABLE_OUTPUT_PATH with FORCE in CMakeList.txt looks wrong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
Mc |
Bug Description
Dear Inkscape Team,
I wonder why you set
set(EXECUTABLE_
with FORCE in CMakeList.txt. There are good reasons to override this on the cmake command line, but FORCE disables the possibility to override this from the command line.
One reason to do this is to setup the makefile such that the executables are directly built in a private install location. Inkscape doesn't run very well from an out of source build location (it doesn't find icons and other things). E.g. I want to create an eclipse project like this:
Local development install dir
/home/michael/
Eclipse workspace dir:
/home/michael/
Eclipse project and build dir
/home/michael/
Inkscape source dir
/home/michael/
Then I run from the eclipse project dir:
cmake -G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILD_
This creates a nice eclipse project, I can simply import to eclipse.
Then I can build and install to the local install folder. When I rebuild or debug inkscape from eclipse, it will also go into the local install folder and I can nicely debug it there.
I guess you have some other tricks to nicely debug it, but as far as I can tell doing it the way I outlined above is quite common.
Best regards,
Michael
Version: Git master from about 1 week ago
Related branches
tags: | added: build |
Changed in inkscape: | |
milestone: | none → 0.92 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Fixed in r14775