Compare commits

..

No commits in common. "247a066e6fe1147aa0d76c94076f950210376443" and "b4fb508ba1eea151f0fb8be0fda1d4850991ae9a" have entirely different histories.

4 changed files with 11 additions and 6 deletions

View file

@ -1,2 +0,0 @@
#!/bin/sh
cmake --build build

View file

@ -1,2 +0,0 @@
#!/bin/sh
cmake -G "MinGW Makefiles" -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_MAKE_PROGRAM=mingw32-make -S . -B build

View file

@ -1,2 +0,0 @@
#!/bin/sh
cmake -S . -B build

11
mingw.cmake Normal file
View file

@ -0,0 +1,11 @@
set(CMAKE_SYSTEM_NAME Windows)
set(TOOLCHAIN_PREFIX x86_64-w64-mingw32)
set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc)
set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++)
set(CMAKE_FIND_ROOT_PATH /usr/${TOOLCHAIN_PREFIX})
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)