mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-20 06:00:30 -06:00
Configure a hand-generated Visual Studio project to build the compiler id source file since we cannot run the compiler command-line tool directly. Add a post-build command to print out the full path to the compiler tool. Parse the full path to the compiler tool from the build output.
61 lines
1.3 KiB
XML
61 lines
1.3 KiB
XML
<?xml version="1.0" encoding="Windows-1252"?>
|
|
<VisualStudioProject
|
|
ProjectType="Visual C++"
|
|
Version="@id_version@"
|
|
Name="CompilerId@id_lang@"
|
|
ProjectGUID="{CAE07175-D007-4FC3-BFE8-47B392814159}"
|
|
RootNamespace="CompilerId@id_lang@"
|
|
Keyword="Win32Proj"
|
|
TargetFrameworkVersion="196613"
|
|
>
|
|
<Platforms>
|
|
<Platform
|
|
Name="@id_arch@"
|
|
/>
|
|
</Platforms>
|
|
<Configurations>
|
|
<Configuration
|
|
Name="Debug|@id_arch@"
|
|
OutputDirectory="."
|
|
IntermediateDirectory="$(ConfigurationName)"
|
|
ConfigurationType="1"
|
|
CharacterSet="1"
|
|
>
|
|
<Tool
|
|
Name="VCCLCompilerTool"
|
|
Optimization="0"
|
|
PreprocessorDefinitions=""
|
|
MinimalRebuild="false"
|
|
BasicRuntimeChecks="3"
|
|
RuntimeLibrary="3"
|
|
UsePrecompiledHeader="0"
|
|
WarningLevel="0"
|
|
DebugInformationFormat="0"
|
|
/>
|
|
<Tool
|
|
Name="VCLinkerTool"
|
|
LinkIncremental="1"
|
|
GenerateDebugInformation="false"
|
|
SubSystem="1"
|
|
TargetMachine="@id_machine_7@"
|
|
/>
|
|
<Tool
|
|
Name="VCPostBuildEventTool"
|
|
CommandLine="for %%i in (@id_cl@) do @echo CMAKE_@id_lang@_COMPILER=%%~$PATH:i"
|
|
/>
|
|
</Configuration>
|
|
</Configurations>
|
|
<Files>
|
|
<Filter
|
|
Name="Source Files"
|
|
Filter="cpp;c"
|
|
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
|
>
|
|
<File
|
|
RelativePath="@id_src@"
|
|
>
|
|
</File>
|
|
</Filter>
|
|
</Files>
|
|
</VisualStudioProject>
|