From 895b89046601e61f6fb76bf17c5306ea102b9bf6 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 16 Jan 2017 15:24:24 -0500 Subject: VS: Add more placeholders to compiler id detection project file template --- Modules/CMakeDetermineCompilerId.cmake | 4 ++++ Modules/CompilerId/VS-10.vcxproj.in | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake index 7dcd981..5d85186 100644 --- a/Modules/CMakeDetermineCompilerId.cmake +++ b/Modules/CMakeDetermineCompilerId.cmake @@ -237,6 +237,10 @@ Id flags: ${testflags} ${CMAKE_${lang}_COMPILER_ID_FLAGS_ALWAYS} set(id_src "${src}") set(id_compile "ClCompile") set(id_PostBuildEvent_Command "for %%i in (${id_cl}) do %40echo CMAKE_${lang}_COMPILER=%%~$PATH:i") + set(id_Import_props "") + set(id_Import_targets "") + set(id_ItemDefinitionGroup_entry "") + set(id_Link_AdditionalDependencies "") configure_file(${CMAKE_ROOT}/Modules/CompilerId/VS-${v}.${ext}.in ${id_dir}/CompilerId${lang}.${ext} @ONLY) if(CMAKE_VS_MSBUILD_COMMAND AND NOT lang STREQUAL "Fortran") diff --git a/Modules/CompilerId/VS-10.vcxproj.in b/Modules/CompilerId/VS-10.vcxproj.in index a900482..6b9b361 100644 --- a/Modules/CompilerId/VS-10.vcxproj.in +++ b/Modules/CompilerId/VS-10.vcxproj.in @@ -25,6 +25,9 @@ MultiByte + + @id_Import_props@ + <_ProjectFileVersion>10.0.30319.1 .\ @@ -44,9 +47,11 @@ + @id_ItemDefinitionGroup_entry@ false Console + @id_Link_AdditionalDependencies@ @id_PostBuildEvent_Command@ @@ -56,4 +61,7 @@ <@id_compile@ Include="@id_src@" /> + + @id_Import_targets@ + -- cgit v0.12