diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-17 22:07:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-17 22:07:24 +0300 |
commit | d14bb7a27ee23cc83b3af1db2f1976eaaa55d78a (patch) | |
tree | 5f128768c66436eefd70632f02889607596609d4 /build/toolchain.nightly | |
parent | f1e92aca00a4859047e83fab76220767b9a2f814 (diff) | |
parent | e93e6beb456d105987da3190c2a80847b6900081 (diff) | |
download | manaverse-stripped1.1.10.16.tar.gz manaverse-stripped1.1.10.16.tar.bz2 manaverse-stripped1.1.10.16.tar.xz manaverse-stripped1.1.10.16.zip |
Merge branch 'master' into strippedstripped1.1.10.16
Conflicts:
data/fonts/mplus-1p-bold.ttf
data/fonts/mplus-1p-regular.ttf
Diffstat (limited to 'build/toolchain.nightly')
-rw-r--r-- | build/toolchain.nightly | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/build/toolchain.nightly b/build/toolchain.nightly new file mode 100644 index 000000000..6093a82f8 --- /dev/null +++ b/build/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 Release) + +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 OFF) + +# 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) + |