|
|
1.1 ! root 1: # This Toolchain file is used to cross compile the windows ! 2: # version of Hatari under linux using mingw32 ! 3: # use : cmake -DCMAKE_TOOLCHAIN_FILE=Toolchain-mingw32.cmake ! 4: ! 5: # The name of the target operating system ! 6: SET(CMAKE_SYSTEM_NAME Windows) ! 7: ! 8: # mingw32 versions of the different tools ! 9: # (change these depending on your system settings) ! 10: SET(CMAKE_C_COMPILER i586-mingw32msvc-gcc) ! 11: SET(CMAKE_CXX_COMPILER i586-mingw32msvc-g++) ! 12: SET(CMAKE_RC_COMPILER i586-mingw32msvc-windres) ! 13: SET(CMAKE_ASM_COMPILER i586-mingw32msvc-as) ! 14: ! 15: # Base directory for the target environment ! 16: SET(CMAKE_FIND_ROOT_PATH /usr/i586-mingw32msvc/ ) ! 17: ! 18: # FindSDL.cmake doesn't search correctly in CMAKE_FIND_ROOT_PATH ! 19: # so we force SDLDIR here ! 20: set ( ENV{SDLDIR} ${CMAKE_FIND_ROOT_PATH}/include/SDL ) ! 21: ! 22: # Adjust the default behaviour of the FIND_XXX() commands: ! 23: # search headers and libraries in the target environment, search ! 24: # programs in the host environment ! 25: set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) ! 26: set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) ! 27: set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) ! 28:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.