Hi, I believe compile flags are *not* used during linking, while CMAKE_CXX_FLAGS will also be used during linking (if your linker language is C++). I do not know of any other differences, but perhaps an expert wants to correct me..
Cheers, Yngve On 02. april 2013 11:21, Daniel Carrera wrote: > Hi everyone, > > What is the difference between CMAKE_CXX_COMPILE_FLAGS and CMAKE_CXX_FLAGS? > > The wiki only mentions CMAKE_CXX_FLAGS and CMAKE_C_FLAGS, and those > are clearly used for compiling. But if you Google for CMake examples > (e.g with MPI) you will quickly find CMake scripts that have > CMAKE_CXX_COMPILE_FLAGS. > > I am experimenting with CMake and I want to figure out if I should be > using CMAKE_Fortran_FLAGS or CMAKE_Fortran_COMPILE_FLAGS. > > Thanks for the help. > > Cheers, > Daniel. > -- > Lord of the rings calendar in your Linux/Unix/Mac terminal: cat > /usr/share/calendar/calendar.lotr > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
