summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild/bcmake5
-rw-r--r--build/toolchain.cmake4
-rw-r--r--build/toolchain.nightly4
3 files changed, 9 insertions, 4 deletions
diff --git a/build/bcmake b/build/bcmake
index 21de1da77..ab6dce6a1 100755
--- a/build/bcmake
+++ b/build/bcmake
@@ -3,7 +3,8 @@
cd ..
export PATH=/usr/i586-mingw32msvc/bin:$PATH
-CXXFLAGS="-Wall -g0 -O2" cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log
+export CXXFLAGS="-Wall -g0 -O3"
+cmake -DCMAKE_TOOLCHAIN_FILE=build/toolchain.cmake . 2>build/make1.log
-make -j5 2>build/make.log
+make -j5 VERBOSE=1 2>build/make.log
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)
diff --git a/build/toolchain.nightly b/build/toolchain.nightly
index 6093a82f8..564732897 100644
--- a/build/toolchain.nightly
+++ b/build/toolchain.nightly
@@ -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 Release)
+SET(CMAKE_BUILD_TYPE None)
+SET(CMAKE_C_FLAGS -O3 -Wall)
+SET(CMAKE_CXX_FLAGS -O3 -Wall)
SET(SDLIMAGE_INCLUDE_DIR ./packaging/windows/libs/include/SDL)
SET(SDLMIXER_INCLUDE_DIR ./packaging/windows/libs/include/SDL)