1# the name of the target operating system
2SET(CMAKE_SYSTEM_NAME "Windows")
3SET(ARCH   "x86_64")
4
5# which compilers to use for C and C++
6SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
7SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
8SET(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
9SET(CMAKE_Fortran_COMPILER x86_64-w64-mingw32-gfortran)
10
11# here is the target environment located
12SET(CMAKE_FIND_ROOT_PATH  /usr/x86_64-w64-mingw32)
13
14# include general MinGW module
15set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
16include(MinGW)
17
18# Commands for running various external tools
19set(BROWSER "start")
20set(VRMLVIEW "start")
21set(MPICC "mpicc.bat")
22set(MPIRUN "mpiexec.exe")
23set(PGPLOT "yes") # <- Not actually run, but non-empty indicates available
24set(GNUPLOT "gnuplot.exe")
25
26# Plotting options
27
28set(PLOTTER "PGPLOT")
29set(PGDEV "/gw")
30set(GNUDEV "windows")
31
32# Suffix for executables
33set(EXE "exe")
34
35