summaryrefslogtreecommitdiff
path: root/build/toolchain.nightly
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-15 18:35:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-17 15:25:19 +0300
commit79aba82be3de5b6b571e2f59f7a34ded4b03160f (patch)
tree5f43edee561f67bb7ef19ef1d81ed294a4cb1fc2 /build/toolchain.nightly
parent25adf485cd4eae706ad0d49c05f247e935e8d267 (diff)
downloadplus-79aba82be3de5b6b571e2f59f7a34ded4b03160f.tar.gz
plus-79aba82be3de5b6b571e2f59f7a34ded4b03160f.tar.bz2
plus-79aba82be3de5b6b571e2f59f7a34ded4b03160f.tar.xz
plus-79aba82be3de5b6b571e2f59f7a34ded4b03160f.zip
Add profile build to windows version.
Change mingw dirs.
Diffstat (limited to 'build/toolchain.nightly')
-rw-r--r--build/toolchain.nightly14
1 files changed, 7 insertions, 7 deletions
diff --git a/build/toolchain.nightly b/build/toolchain.nightly
index 564732897..fab923a1f 100644
--- a/build/toolchain.nightly
+++ b/build/toolchain.nightly
@@ -3,7 +3,7 @@ SET(CMAKE_SYSTEM_NAME Windows)
# toolchain prefix, can be overridden by -DTOOLCHAIN=...
# IF (NOT TOOLCHAIN)
-SET(TOOLCHAIN "i586-mingw32msvc-")
+SET(TOOLCHAIN "i686-w64-mingw32-")
# ENDIF()
# which compilers to use for C and C++
@@ -16,15 +16,15 @@ 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)
-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(SDLIMAGE_INCLUDE_DIR ../libs/include/SDL)
+SET(SDLMIXER_INCLUDE_DIR ../libs/include/SDL)
+SET(SDLNET_INCLUDE_DIR ../libs/include/SDL)
+SET(SDLTTF_INCLUDE_DIR ../libs/include/SDL)
+SET(SDL_INCLUDE_DIR ../libs/include/SDL)
SET(ENABLE_MANASERV OFF)
# here is the target environment located
-SET(CMAKE_FIND_ROOT_PATH /usr/i586-mingw32msvc ./packaging/windows/ )
+SET(CMAKE_FIND_ROOT_PATH /home/mingw/cross/i686-w64-mingw32 /../libs/lib )
# adjust the default behaviour of the FIND_XXX() commands:
# search headers and libraries in the target environment, search