diff options
Diffstat (limited to 'cmake/windows-dummy-toolchain.cmake')
| -rw-r--r-- | cmake/windows-dummy-toolchain.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cmake/windows-dummy-toolchain.cmake b/cmake/windows-dummy-toolchain.cmake new file mode 100644 index 0000000..493652b --- /dev/null +++ b/cmake/windows-dummy-toolchain.cmake @@ -0,0 +1,14 @@ +# Fake CMake toolchain file, good enough to make cmake's initial +# configuration think it's going to build for Windows, but not good +# enough to actually do any building. The purpose is so that I can run +# Puzzles's CMakeLists.txt in Windows mode as far as making +# gamedesc.txt. + +set(CMAKE_SYSTEM_NAME Windows) + +set(CMAKE_C_COMPILER /bin/false) +set(CMAKE_LINKER /bin/false) +set(CMAKE_MT /bin/false) +set(CMAKE_RC_COMPILER /bin/false) + +set(CMAKE_C_COMPILER_WORKS ON) |