Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
proper check for the -std=gnu++11 standard, and take in on clang too
[simgrid.git] / buildtools / Cross / Mingw.cmake
1 # cmake -DCMAKE_TOOLCHAIN_FILE=buildtools/Cross/Mingw.cmake ..
2
3 set (CMAKE_SYSTEM_NAME Windows)
4 set (CMAKE_SYSTEM_PROCESSOR x86_64)
5
6 set (CMAKE_C_COMPILER /usr/bin/x86_64-w64-mingw32-gcc-win32)
7 set (CMAKE_CXX_COMPILER /usr/bin/x86_64-w64-mingw32-g++-win32)
8 set (CMAKE_Fortran_COMPILER /usr/bin/x86_64-w64-mingw32-gfortran-win32)
9
10 set (CMAKE_FIND_ROOT_PATH /usr/lib/gcc/x86_64-w64-mingw32/ /usr/i686-w64-mingw32/)
11
12 set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
13 set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
14 set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)