all repos — mgba @ 0b241710f443040201b0f0464f069b43adb4bff6

mGBA Game Boy Advance Emulator

All: Set default build type to Release
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Dec 2014 18:51:26 -0800
commit

0b241710f443040201b0f0464f069b43adb4bff6

parent

9a2a44871071f648c1f6ec57c7145ac83e30346f

2 files changed, 5 insertions(+), 1 deletions(-)

jump to
M CMakeLists.txtCMakeLists.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
M README.mdREADME.md

@@ -55,7 +55,7 @@ Compiling requires using CMake 2.8.11 or newer. To use CMake to build on a Unix-based system, the recommended commands are as follows:

mkdir build cd build - cmake .. -DCMAKE_BUILD_TYPE=Release + cmake .. make make install