What is the “modern” way to append to CMAKE_CXX_FLAGS? This is the logic that I would like:
If (MSVC) Set(CMAKE_CXX_FLAGS ${ CMAKE_CXX_FLAGS} “/MP”) Endif() I have always heard that appending to the compile flags in this way is “bad”. What is the best practice for doing this? Thanks -- Michael Jackson | Owner, President BlueQuartz Software [e] mike.jack...@bluequartz.net [w] www.bluequartz.net
-- 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