summaryrefslogtreecommitdiff
path: root/Modules/CompilerId
diff options
context:
space:
mode:
authorGilles Khouzam <gillesk@microsoft.com>2014-07-28 14:27:59 -0400
committerBrad King <brad.king@kitware.com>2014-07-31 14:08:48 -0400
commitb94ddf6cd70e811e4bc3f3c28ef7195bcf2bb0cf (patch)
treede920a648da90adc5fc49975e5374e35fcba378a /Modules/CompilerId
parentd7938bff37bfa05f34b9ad5a46ae3aff54955eea (diff)
downloadcmake-b94ddf6cd70e811e4bc3f3c28ef7195bcf2bb0cf.tar.gz
CMakeDetermineCompilerId: Recognize WindowsPhone and WindowsStore
When CMAKE_SYSTEM_NAME is set to target one of these, add ApplicationType and ApplicationTypeRevision elements to the .vcxproj file used to identify the compiler so that the WindowsPhone or WindowsStore toolchains can work. Co-Author: Brad King <brad.king@kitware.com>
Diffstat (limited to 'Modules/CompilerId')
-rw-r--r--Modules/CompilerId/VS-10.vcxproj.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CompilerId/VS-10.vcxproj.in b/Modules/CompilerId/VS-10.vcxproj.in
index 1a7a539429..bacbca4ea1 100644
--- a/Modules/CompilerId/VS-10.vcxproj.in
+++ b/Modules/CompilerId/VS-10.vcxproj.in
@@ -10,6 +10,8 @@
<ProjectGuid>{CAE07175-D007-4FC3-BFE8-47B392814159}</ProjectGuid>
<RootNamespace>CompilerId@id_lang@</RootNamespace>
<Keyword>Win32Proj</Keyword>
+ @id_system@
+ @id_system_version@
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@id_platform@'" Label="Configuration">