Hi!
This proposal addresses the following issue:
currently there is no solution for creating Visual Studio project
files for static runtime without editing the cmake files.
As the goal of cmake is to define a project in an abstract way it should
be possible to generate for static runtime only via the command line
interface
since someone who never uses Visual Studio will probably not account
for this issue.
A solution could look like this:
split the -G option into three options, e.g.
-G the generator
-V the Version
- T the Target platfrom
some examples:
old: -G "Visual Studio 8 2005 Win64"
new:
-G "Visual Studio" -V 8 -T Win64
or equivalent
-G "Visual Studio" -V 2005 -T Win64
old: -G "Eclipse CDT4 - Unix Makefiles"
new: -G "Eclipse CDT" -V4 -T "Unix Makefiles"
in this new system the static runtime is a target:
-G "Visual Studio" -V 8 -T "Win32 static"
of course the old generator names can continue to exist
for backward compatibility.
What do you think?
-Jochen
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake