File: MinGW_x86_64.cmake

package info (click to toggle)
assimp 3.3.1~dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,144 kB
  • sloc: cpp: 116,933; ansic: 7,063; java: 2,037; python: 1,968; pascal: 341; xml: 146; sh: 126; objc: 122; makefile: 47
file content (16 lines) | stat: -rw-r--r-- 649 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# this one sets internal to crosscompile (in theory)
SET(CMAKE_SYSTEM_NAME Windows)

# the minimalistic settings
SET(CMAKE_C_COMPILER "/usr/bin/x86_64-w64-mingw32-gcc")
SET(CMAKE_CXX_COMPILER "/usr/bin/x86_64-w64-mingw32-g++")
SET(CMAKE_RC_COMPILER "/usr/bin/x86_64-w64-mingw32-windres")

# where is the target (so called staging) environment
SET(CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32)

# search for programs in the build host directories (default BOTH)
#SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
# for libraries and headers in the target directories
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)