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: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Alexander Neundorf 
[EMAIL PROTECTED]
Sent: 14 October 2008 00:43
To: cmake@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@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to