summaryrefslogtreecommitdiff
path: root/Modules/CompilerId
diff options
context:
space:
mode:
authorPatrick Gansterer <paroga@paroga.com>2012-11-20 13:37:50 +0100
committerBrad King <brad.king@kitware.com>2012-11-27 08:31:19 -0500
commit40c36c9f7bd101185b06ddf2aee079ccbe7634d3 (patch)
treeec739b73730ab2beb87e5e438b890ce4cb440648 /Modules/CompilerId
parent038df9e49e6fcb54d6f6a1bcfb09f6a0e5ec0c2e (diff)
downloadcmake-40c36c9f7bd101185b06ddf2aee079ccbe7634d3.tar.gz
VS: Make DetermineCompilerId working with WinCE too
Add a dummy mainCRTStartup() function, since the linker searches for it instead of main() and set the CMAKE_SYSTEM_* variables depending on the MSVC_C_ARCHITECTURE_ID and CMAKE_VS_WINCE_VERSION variables.
Diffstat (limited to 'Modules/CompilerId')
-rw-r--r--Modules/CompilerId/VS-7.vcproj.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CompilerId/VS-7.vcproj.in b/Modules/CompilerId/VS-7.vcproj.in
index bcb18a5b7a..b1449e4acd 100644
--- a/Modules/CompilerId/VS-7.vcproj.in
+++ b/Modules/CompilerId/VS-7.vcproj.in
@@ -24,7 +24,7 @@
<Tool
Name="VCCLCompilerTool"
Optimization="0"
- PreprocessorDefinitions=""
+ PreprocessorDefinitions="@id_definitions@"
MinimalRebuild="false"
BasicRuntimeChecks="3"
RuntimeLibrary="3"