diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-11 20:24:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-12 01:46:27 +0300 |
commit | 64e746127640a22e36d8ec98f33a64032a1dd1dc (patch) | |
tree | ff5f9f69cc4fc80b1461e7ad9a60d15c7c6e721c /build/toolchain.cmake | |
parent | dc53f8b7f360a489bd10355131339809d66378ef (diff) | |
download | manaplus-64e746127640a22e36d8ec98f33a64032a1dd1dc.tar.gz manaplus-64e746127640a22e36d8ec98f33a64032a1dd1dc.tar.bz2 manaplus-64e746127640a22e36d8ec98f33a64032a1dd1dc.tar.xz manaplus-64e746127640a22e36d8ec98f33a64032a1dd1dc.zip |
Fix cmake build file.
Diffstat (limited to 'build/toolchain.cmake')
-rw-r--r-- | build/toolchain.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build/toolchain.cmake b/build/toolchain.cmake index c8493c0c5..92415eb1e 100644 --- a/build/toolchain.cmake +++ b/build/toolchain.cmake @@ -12,7 +12,9 @@ SET(CMAKE_CXX_COMPILER ${TOOLCHAIN}g++) SET(CMAKE_RC_COMPILER ${TOOLCHAIN}windres) SET(CMAKE_INSTALL_PREFIX ./win) -SET(CMAKE_BUILD_TYPE RelWithDebInfo) +SET(CMAKE_BUILD_TYPE None) +SET(CMAKE_C_FLAGS -O3 -Wall) +SET(CMAKE_CXX_FLAGS -O3 -Wall) SET(SDLIMAGE_INCLUDE_DIR ../mana_win/libs/include/SDL) SET(SDLMIXER_INCLUDE_DIR ../mana_win/libs/include/SDL) |