Compare commits
No commits in common. "247a066e6fe1147aa0d76c94076f950210376443" and "b4fb508ba1eea151f0fb8be0fda1d4850991ae9a" have entirely different histories.
247a066e6f
...
b4fb508ba1
4 changed files with 11 additions and 6 deletions
2
build.sh
2
build.sh
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
cmake --build build
|
|
|
@ -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
|
|
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
cmake -S . -B build
|
|
11
mingw.cmake
Normal file
11
mingw.cmake
Normal 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)
|
Loading…
Reference in a new issue