llvm.org GIT mirror llvm / 31eb340
msbuild: Set _MSC_VER to match the CRT we're using Various Windows SDK headers use _MSC_VER values to figure out what version of the VC++ headers they're using, in particular for SAL macros. Patch by Paul Hampson! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191015 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Kleckner 7 years ago
2 changed file(s) with 10 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
77 set(REG_KEY "${CMAKE_PROJECT_NAME} ${CPACK_PACKAGE_VERSION}")
88
99 set(VS_VERSION "v100")
10 set(MSC_VERSION "1600")
1011 configure_file(${prop_file_in} ${prop_file_v100})
1112 set(VS_VERSION "v110")
13 set(MSC_VERSION "1700")
1214 configure_file(${prop_file_in} ${prop_file_v110})
1315 set(VS_VERSION "v110_xp")
1416 configure_file(${prop_file_in} ${prop_file_v110_xp})
1517
1618 set(REG_KEY)
1719 set(VS_VERSION)
20 set(MSC_VERSION)
1821 install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${prop_file_v100}" DESTINATION tools/msbuild)
1922 install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${prop_file_v110}" DESTINATION tools/msbuild)
2023 install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${prop_file_v110_xp}" DESTINATION tools/msbuild)
66 $(LLVMInstallDir)\msbuild-bin;$(ExecutablePath)
77 $(LLVMInstallDir)\lib\clang\3.4\lib\windows;$(LibraryPath)
88
9
10
11
12
13 -fmsc-version=@MSC_VERSION@ %(AdditionalOptions)
14
15
916