summaryrefslogtreecommitdiff
path: root/build/toolchain.cmake
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-11 20:24:44 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-12 01:46:27 +0300
commit64e746127640a22e36d8ec98f33a64032a1dd1dc (patch)
treeff5f9f69cc4fc80b1461e7ad9a60d15c7c6e721c /build/toolchain.cmake
parentdc53f8b7f360a489bd10355131339809d66378ef (diff)
downloadmv-64e746127640a22e36d8ec98f33a64032a1dd1dc.tar.gz
mv-64e746127640a22e36d8ec98f33a64032a1dd1dc.tar.bz2
mv-64e746127640a22e36d8ec98f33a64032a1dd1dc.tar.xz
mv-64e746127640a22e36d8ec98f33a64032a1dd1dc.zip
Fix cmake build file.
Diffstat (limited to 'build/toolchain.cmake')
-rw-r--r--build/toolchain.cmake4
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)