[CMake] Generators options
Yves Martelli
ymartelli at cistib.upf.edu
Tue Oct 14 02:57:10 EDT 2008
That would be nice but a pain to maintain for all kinds of projects. Couldn't CMake use a project template that people could modify to their will?
________________________________________
From: cmake-bounces at cmake.org [cmake-bounces at cmake.org] On Behalf Of Alexander Neundorf [a.neundorf-work at gmx.net]
Sent: 14 October 2008 00:43
To: cmake at cmake.org
Subject: Re: [CMake] Generators options
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
_______________________________________________
CMake mailing list
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list