[CMake] Ignore library flags now works in 2.4.8!

Mark Wyszomierski markww at gmail.com
Mon Feb 18 16:04:28 EST 2008


Hi,

I just downloaded the new CMake version 2.4 patch 8. This command now works:

    SET(VS_MULTITHREADED_DEBUG_IGNORE_LIBRARY_FLAGS
       "/NODEFAULTLIB:nafxcwd.lib
        /NODEFAULTLIB:libcmtd.lib"
    )

I want to do the same thing for my release builds, kind of like:

    SET(VS_MULTITHREADED_RELEASE_IGNORE_LIBRARY_FLAGS
       "/NODEFAULTLIB:nafxcw.lib
        /NODEFAULTLIB:libcmt.lib"
    )

but that above command doesn't seem to do anything, the two libraries
listed don't appear in my ignore library string for release builds.
What's the proper command?

Thanks,
Mark


More information about the CMake mailing list