All: Set default build type to Release
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Dec 2014 18:51:26 -0800
2 files changed,
5 insertions(+),
1 deletions(-)
M
CMakeLists.txt
→
CMakeLists.txt
@@ -25,6 +25,10 @@ include_directories(${CMAKE_SOURCE_DIR}/src/arm)
include_directories(${CMAKE_SOURCE_DIR}/src/gba) include_directories(${CMAKE_SOURCE_DIR}/src) +if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type (e.g. Release or Debug)") +endif() + include(GNUInstallDirs) # Function definitions