aboutsummaryrefslogtreecommitdiff
path: root/cmake/windows-dummy-toolchain.cmake
blob: 493652b711cbcd302b30a39ec3bc7fad89aa3109 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)