Browse Source

CMakeLists.txt: Enable debug symbols only on GCC (as e.g. Visual

Studio creates a debug version automatically...)
tempestpy_adaptions
Thomas Heinemann 13 years ago
committed by Lanchid
parent
commit
395d2822b5
  1. 4
      CMakeLists.txt

4
CMakeLists.txt

@ -6,7 +6,11 @@ project (MRMC-cpp CXX C)
set (MRMC_CPP_VERSION_MAJOR 1) set (MRMC_CPP_VERSION_MAJOR 1)
set (MRMC_CPP_VERSION_MINOR 0) set (MRMC_CPP_VERSION_MINOR 0)
#Configurations for GCC
if(CMAKE_COMPILER_IS_GNUCC)
#Debug symbols
set (CMAKE_CXX_FLAGS "-g") set (CMAKE_CXX_FLAGS "-g")
endif()
# configure a header file to pass some of the CMake settings # configure a header file to pass some of the CMake settings
# to the source code # to the source code

Loading…
Cancel
Save