[CMake] how to completelly remove the /Zm1000 compile option via CMakeLists.txt file

Tyler Roscoe tyler at cryptio.net
Tue Sep 22 11:40:06 EDT 2009


On Tue, Sep 22, 2009 at 05:29:07PM +0400, Anatoly Shirokov wrote:
> How to completelly remove the /Zm1000 compile option via CMakeLists.txt 
> file?

We use:

string (REPLACE "/Zm1000" " " CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})

tyler


More information about the CMake mailing list