[CMake] Selecting runtime library on Visual Studio projects

Brad King brad.king at kitware.com
Tue Jul 18 09:07:47 EDT 2006


Sylvain Benner wrote:
> I think you can't override a flag in the current version of CMake
> (release or CVS) because the loop that parses the flag string do not
> provide this.
> I changed this function in order to override easily the flags in the low
> level configuration files.
> 
> I attached the modified flag table for compiler and the modified
> function that loop on this table
> Note that there are imaginery flags that do not exist in VS. With these
> imaginery flags we can set the default options without forcing them in
> the code.
> There are also some flags for VS2005 (especially for exception handling).

Please create a bug report here:

http://www.cmake.org/Bug

with an explantation of your changes and attach the patch to it.

Thanks,
-Brad


More information about the CMake mailing list