CMakeStuff/toolchains/win10-mingw64-toolchain.cmake
raw| 1 | message("\n${BoldRed}WIN10-MINGW64 environment${ColourReset}\n") |
| 2 | message("Please run the configuration like this:") |
| 3 | message("cmake -G \"Unix Makefiles\" -DCMAKE_BUILD_TYPE=Release ../development") |
| 4 | |
| 5 | |
| 6 | if(WIN32 OR _WIN32) |
| 7 | message(STATUS "Building with WIN32 defined.") |
| 8 | endif() |
| 9 | |
| 10 | |
| 11 | # On Win10 all the code is relocatable. |
| 12 | message(STATUS "Removing definitions -fPIC.") |
| 13 | remove_definitions(-fPIC) |
| 14 |