config.vcxproj 8.03 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|Win32">
      <Configuration>Release</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <ProjectGuid>{2F87BA6F-8EE1-48D0-9817-6BA30BDDB3C1}</ProjectGuid>
    <Keyword>MakeFileProj</Keyword>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    <ConfigurationType>Utility</ConfigurationType>
    <UseOfMfc>false</UseOfMfc>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    <ConfigurationType>Utility</ConfigurationType>
    <UseOfMfc>false</UseOfMfc>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="ExtensionSettings">
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
31
    <Import Project="SDCC.props" />
32 33 34
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
35
    <Import Project="SDCC.props" />
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
  </ImportGroup>
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup>
    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</OutDir>
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</OutDir>
    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
  </PropertyGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    <Midl>
      <TypeLibraryName>.\Debug/config.tlb</TypeLibraryName>
      <HeaderFileName>
      </HeaderFileName>
    </Midl>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <Midl>
      <TypeLibraryName>.\Release/config.tlb</TypeLibraryName>
      <HeaderFileName>
      </HeaderFileName>
    </Midl>
  </ItemDefinitionGroup>
  <ItemGroup>
    <CustomBuild Include="sdas\linksrc\asxxxx_config.h.in">
      <FileType>Document</FileType>
      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">gawk -f configure_vc.awk sdas/linksrc/asxxxx_config.h.in &gt; sdas/linksrc/asxxxx_config.h</Command>
      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">gawk -f configure_vc.awk sdas/linksrc/asxxxx_config.h.in &gt; sdas/linksrc/asxxxx_config.h</Command>
64
      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">sdas/linksrc/asxxxx_config.h</Outputs>
65
      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">sdas/linksrc/asxxxx_config.h;%(Outputs)</Outputs>
66 67
      <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating: asxxxx_config.h</Message>
      <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating: asxxxx_config.h</Message>
68 69 70
    </CustomBuild>
    <CustomBuild Include="src\version.awk">
      <FileType>Document</FileType>
71 72 73 74 75 76 77 78
      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">gawk -f src/version.awk ChangeLog &gt; ./src/version.h</Command>
      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">gawk -f src/version.awk ChangeLog  &gt; ./src/version.h</Command>
      <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">ChangeLog</AdditionalInputs>
      <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">ChangeLog</AdditionalInputs>
      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">./src/version.h</Outputs>
      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">./src/version.h</Outputs>
      <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating: version.h</Message>
      <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating: version.h</Message>
79 80 81
    </CustomBuild>
  </ItemGroup>
  <ItemGroup>
82 83 84 85 86 87 88 89
    <CustomBuild Include="sdcc_vc.h.in">
      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">gawk -f configure_vc.awk sdcc_vc.h.in &gt; sdcc_vc.h</Command>
      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">gawk -f configure_vc.awk sdcc_vc.h.in &gt; sdcc_vc.h</Command>
      <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.version;configure_vc.awk</AdditionalInputs>
      <AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.version;configure_vc.awk</AdditionalInputs>
      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">sdcc_vc.h</Outputs>
      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">sdcc_vc.h</Outputs>
      <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating: %(Outputs)</Message>
90
      <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating: %(Outputs)</Message>
91 92
    </CustomBuild>
  </ItemGroup>
93 94 95 96
  <ItemGroup>
    <None Include="configure_vc.awk" />
    <None Include=".version">
    </None>
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
    <CustomBuild Include="src\SDCC.lex">
      <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating Lexer: SDCClex.c</Message>
      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">src/SDCClex.c</Outputs>
      <TreatOutputAsContent Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</TreatOutputAsContent>
      <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating Lexer: SDCClex.c</Message>
      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">src/SDCClex.c</Outputs>
      <TreatOutputAsContent Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</TreatOutputAsContent>
      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">flex -8 -f -osrc/SDCClex.c src/SDCC.lex</Command>
      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">flex -8 -f -osrc/SDCClex.c src/SDCC.lex</Command>
    </CustomBuild>
    <CustomBuild Include="src\SDCC.y">
      <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">bison -d -v -o src/SDCCy.c src/SDCC.y</Command>
      <Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Generating Parser: SDCCy.c</Message>
      <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">src/SDCCy.c;src/SDCCy.h</Outputs>
      <TreatOutputAsContent Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</TreatOutputAsContent>
      <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">bison -d -v -o src/SDCCy.c src/SDCC.y</Command>
      <Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Generating Parser: SDCCy.c</Message>
      <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">src/SDCCy.c;src/SDCCy.h</Outputs>
      <TreatOutputAsContent Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</TreatOutputAsContent>
    </CustomBuild>
117
  </ItemGroup>
118 119 120 121
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>
</Project>