On Mon, Jul 26, 2010 at 3:03 PM, Olaf van der Spek <olafvds...@gmail.com> wrote:
> On Mon, Jul 26, 2010 at 9:00 PM, John Drescher <dresche...@gmail.com> wrote:
>> You need to add variables and such. I believe that is done in 
>> windows-cl.cmake
>
> I'd like to generate both dynamic and static, x86 and x64 configs.
> CMake already knows how to build those, so it's not about adding
> variables for those.
>

I believe you still need to fill in the details for the new
configurations. Here is part of Windows-cl.cmake

SET (CMAKE_CXX_FLAGS_INIT "/DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR")
SET (CMAKE_CXX_FLAGS_DEBUG_INIT "/D_DEBUG /MDd /Zi /Ob0 /Od /RTC1")
SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "/MD /O1 /Ob1 /D NDEBUG")
SET (CMAKE_CXX_FLAGS_RELEASE_INIT "/MD /O2 /Ob2 /D NDEBUG")
SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "/MD /Zi /O2 /Ob1 /D NDEBUG")

As for 64bit / 32 bit I do not think this is a simple modification to
allow 64bit and be 100% correct.

John
_______________________________________________
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

Reply via email to