15 lines
597 B
CMake
15 lines
597 B
CMake
set(CMAKE_C_COMPILER "/usr/bin/clang")
|
|
set(CMAKE_CXX_COMPILER "/usr/bin/clang++")
|
|
|
|
set(CMAKE_C_FLAGS_INIT "-Wall -std=c99")
|
|
set(CMAKE_C_FLAGS_DEBUG_INIT "-g")
|
|
set(CMAKE_C_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
|
|
set(CMAKE_C_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
|
|
set(CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
|
|
|
|
set(CMAKE_CXX_FLAGS_INIT "-Wall")
|
|
set(CMAKE_CXX_FLAGS_DEBUG_INIT "-g")
|
|
set(CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
|
|
set(CMAKE_CXX_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
|
|
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
|