[CMake] Generators options
Alexander Neundorf
a.neundorf-work at gmx.net
Mon Oct 13 18:43:49 EDT 2008
On Monday 13 October 2008, Yves Martelli wrote:
> Hi,
> I'm trying to find out if it is possible to set options of generated
> project files in CMake. Can I for example set the 'stop on first error' in
> a Kdevelop project file from my CMakeList?
No.
This option is currently not set by the kdevelop generator, so you get the
default from kdevelop.
Then you can adjust it in kdevelop and this setting will be kept.
I also wondered whether it might make sense to introduce special variables or
properties for this, so you could do
set(KDEVELOP_STOP_ON_FIRST_ERROR TRUE)
set(XCODE_SOME_OTHER_OPTION FALSE)
in the CMakeLists.txt and have it applied to the generated projects.
Alex
More information about the CMake
mailing list