Ignore:
Timestamp:
09/08/18 19:35:41 (6 years ago)
Author:
tbretz
Message:
That's the better approach. To avoid confusion, disable clang as a default.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/CMakeLists.txt

    r19220 r19221  
    88# Enable debug symbols by default
    99# must be done before project() statement
    10 IF (NOT CMAKE_BUILD_TYPE)
    11         SET(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build (Debug or Release)" FORCE)
    12 ENDIF()
     10SET(CMAKE_BUILD_TYPE_INIT Release)
    1311# (you can also set it on the command line: -D CMAKE_BUILD_TYPE=Release)
    1412
     
    1816# the cache is deleted
    1917
    20 IF (NOT DEFINED CMAKE_C_COMPILER)
    21         SET(CMAKE_C_COMPILER   "clang")#   CACHE STRING "Choose the compiler (c++, g++, clang++)" FORCE)
    22 ENDIF()
     18#IF (NOT DEFINED CMAKE_C_COMPILER)
     19#       SET(CMAKE_C_COMPILER   "clang")#   CACHE STRING "Choose the compiler (c++, g++, clang++)" FORCE)
     20#ENDIF()
    2321#
    24 IF (NOT DEFINED CMAKE_CXX_COMPILER)
    25         SET(CMAKE_CXX_COMPILER "clang++")# CACHE STRING "Choose the compiler (c++, g++, clang++)" FORCE)
    26 ENDIF()
     22#IF (NOT DEFINED CMAKE_CXX_COMPILER)
     23#       SET(CMAKE_CXX_COMPILER "clang++")# CACHE STRING "Choose the compiler (c++, g++, clang++)" FORCE)
     24#ENDIF()
    2725
    2826#SET(CMAKE_VERBOSE_MAKEFILE ON)
Note: See TracChangeset for help on using the changeset viewer.