Re: [CMake] adding to CMAKE_CXX_FLAGS

2012-09-01 Thread Loaden
I can't sure it will works, just try to using: > -DCMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} /MT /D UNICODE" > 2012/9/1 philrosenberg > -DCMAKE_CXX_FLAGS="/MT /D UNICODE" -- Best Regards Yuchen -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/op

[CMake] adding to CMAKE_CXX_FLAGS

2012-08-31 Thread philrosenberg
Hi This is my first post to the CMAKE mailing list and I'm a complete CMAKe beginner so please go easy on me. I'm trying to compile a library using visual studio that uses CMAKe as its build system and want to add some extra command line options to the compilation. Specifically /MT to link statica