diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-07-12 15:37:52 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-07-17 16:56:48 (GMT) |
commit | 7bb020fcec5c6ede4b24d23670921c1a9f00d63f (patch) | |
tree | 0f7117f277c43fef3e1efef1a9511b1f74c41fe9 /config | |
parent | 6add0919d1dd737a7d9a2da25079d761a85f282e (diff) | |
download | hdf5-7bb020fcec5c6ede4b24d23670921c1a9f00d63f.zip hdf5-7bb020fcec5c6ede4b24d23670921c1a9f00d63f.tar.gz hdf5-7bb020fcec5c6ede4b24d23670921c1a9f00d63f.tar.bz2 |
HDFFV-10845 add support for mingw toolchain
Diffstat (limited to 'config')
-rw-r--r-- | config/toolchain/mingw64.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/toolchain/mingw64.cmake b/config/toolchain/mingw64.cmake new file mode 100644 index 0000000..ad0fb85 --- /dev/null +++ b/config/toolchain/mingw64.cmake @@ -0,0 +1,10 @@ +set (CMAKE_SYSTEM_NAME Windows) +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) +set (CMAKE_Fortran_COMPILER x86_64-w64-mingw32-gfortran) +set (CMAKE_FIND_ROOT_PATH ) +set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) +set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) +set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) +set (CMAKE_CROSSCOMPILING_EMULATOR wine64) |