Hello!
Jason Heeris wrote > I'm not 100% that the latter is relevant, because I think the "_DEBUG" > affects the build *type* (a Makefile generator thing) and not the build > *configuration* (a VS thing). AFAIK, the CMAKE_C[XX]_FLAGS_<CONFIG> work for all generators, so if you are using MSVS they will apply to respective configurations (i.e. Release, Debug, RelWithDebInfo). You can provide the desired build configuration with the --config option to cmake in the command line: cmake --build . --config Release [--target <target name]> It may also worth looking at CMAKE_C[XX]_FLAGS_RELEASE as well as CMAKE_EXE_LINKER_FLAGS[_<CONFIG>], CMAKE_MODULE_LINKER_FLAGS[_<CONFIG>] (if you are building MODULE_LIBRARY targets), CMAKE_SHARED_LINKER_FLAGS[_<CONFIG>] and CMAKE_STATIC_LINKER_FLAGS[_<CONFIG>]. These flags are visible in cmake-gui if you set (I don't know/remember the right word) the Advanced combo box (setting Grouped will dramatically improve readability). Hope this will be helpful in any way. Best regards, Innokentiy Alaytsev -- Sent from: http://cmake.3232098.n2.nabble.com/ -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake