forked from Unity-Technologies/crunch
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Target operating system and architecture | ||
set( CMAKE_SYSTEM_NAME Windows ) | ||
set( CMAKE_SYSTEM_PROCESSOR x86 ) | ||
|
||
# C/C++ compilers | ||
set( CMAKE_C_COMPILER i686-w64-mingw32-gcc ) | ||
set( CMAKE_CXX_COMPILER i686-w64-mingw32-g++ ) | ||
set( CMAKE_RC_COMPILER i686-w64-mingw32-windres ) | ||
|
||
# Target prefix | ||
set( CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32 ) | ||
|
||
# Find programs using host paths and headers/libraries using target paths | ||
set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER ) | ||
set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY ) | ||
set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Target operating system and architecture | ||
set( CMAKE_SYSTEM_NAME Windows ) | ||
set( CMAKE_SYSTEM_PROCESSOR x86_64 ) | ||
|
||
# C/C++ compilers | ||
set( CMAKE_C_COMPILER x86_64-w64-mingw32-gcc ) | ||
set( CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++ ) | ||
set( CMAKE_RC_COMPILER x86_64-w64-mingw32-windres ) | ||
|
||
# Target prefix | ||
set( CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32 ) | ||
|
||
# Find programs using host paths and headers/libraries using target paths | ||
set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER ) | ||
set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY ) | ||
set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY ) |