diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-28 20:37:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-29 02:02:54 +0300 |
commit | 835db97c56850ad0ee9084c2b1f792f51006ae9b (patch) | |
tree | 45df0af5356fce55d7380a6f06fdd32638a44f70 /toolchain.nightly | |
parent | 4c1c22e62b8d713db30c2ac54fdb025bdfe53836 (diff) | |
download | plus-835db97c56850ad0ee9084c2b1f792f51006ae9b.tar.gz plus-835db97c56850ad0ee9084c2b1f792f51006ae9b.tar.bz2 plus-835db97c56850ad0ee9084c2b1f792f51006ae9b.tar.xz plus-835db97c56850ad0ee9084c2b1f792f51006ae9b.zip |
Add nightly build scripts.
Diffstat (limited to 'toolchain.nightly')
-rw-r--r-- | toolchain.nightly | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/toolchain.nightly b/toolchain.nightly new file mode 100644 index 000000000..c83d9b0c7 --- /dev/null +++ b/toolchain.nightly @@ -0,0 +1,33 @@ +# the name of the target operating system +SET(CMAKE_SYSTEM_NAME Windows) + +# toolchain prefix, can be overridden by -DTOOLCHAIN=... +# IF (NOT TOOLCHAIN) +SET(TOOLCHAIN "i586-mingw32msvc-") +# ENDIF() + +# which compilers to use for C and C++ +SET(CMAKE_C_COMPILER ${TOOLCHAIN}gcc) +SET(CMAKE_CXX_COMPILER ${TOOLCHAIN}g++) +SET(CMAKE_RC_COMPILER ${TOOLCHAIN}windres) + +SET(CMAKE_INSTALL_PREFIX ./win) +SET(CMAKE_BUILD_TYPE RelWithDebInfo) + +SET(SDLIMAGE_INCLUDE_DIR ./packaging/windows/libs/include/SDL) +SET(SDLMIXER_INCLUDE_DIR ./packaging/windows/libs/include/SDL) +SET(SDLNET_INCLUDE_DIR ./packaging/windows/libs/include/SDL) +SET(SDLTTF_INCLUDE_DIR ./packaging/windows/libs/include/SDL) +SET(SDL_INCLUDE_DIR ./packaging/windows/libs/include/SDL) +SET(ENABLE_MANASERV ON) + +# here is the target environment located +SET(CMAKE_FIND_ROOT_PATH /usr/i586-mingw32msvc ./packaging/windows/ ) + +# adjust the default behaviour of the FIND_XXX() commands: +# search headers and libraries in the target environment, search +# programs in the host environment +set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) +set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) +set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) + |