summaryrefslogtreecommitdiffstats
path: root/Tests/SourceFileProperty
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-12-18 19:35:34 (GMT)
committerBrad King <brad.king@kitware.com>2015-12-21 15:05:03 (GMT)
commitfae4779864d1e5a93369b1ac7de9ee7428a28043 (patch)
treebcbbd252ca9d42d0f8d08a2c5fd917f278243bb8 /Tests/SourceFileProperty
parent083312a8fd39f6ff7a9abc79184e31eb233e8933 (diff)
downloadCMake-fae4779864d1e5a93369b1ac7de9ee7428a28043.zip
CMake-fae4779864d1e5a93369b1ac7de9ee7428a28043.tar.gz
CMake-fae4779864d1e5a93369b1ac7de9ee7428a28043.tar.bz2
Utilities/Release: Configure Windows binary to support Windows XP
Compile with `-D_WIN32_WINNT=0x501` to use a WinXP-compatible API. Compile with `-D_USING_V110_SDK71_` to tell the VS standard library headers that we are building with a WinXP-compatible Windows SDK. Link executables with `-subsystem:console,5.01` to make them runnable on Windows XP. Ideally `cmake-gui` should instead be linked with `-subsystem:windows,5.01` but with the Ninja and Makefile generators CMake adds `-subsystem:windows` after our `-subsystem:console,5.01` flag and the linker seems to interpret this combination as we need.
Diffstat (limited to 'Tests/SourceFileProperty')
0 files changed, 0 insertions, 0 deletions