1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <Project DefaultTargets =" Build" ToolsVersion =" 4.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
+ <ItemGroup Label =" ProjectConfigurations" >
4
+ <ProjectConfiguration Include =" Debug|Win32" >
5
+ <Configuration >Debug</Configuration >
6
+ <Platform >Win32</Platform >
7
+ </ProjectConfiguration >
8
+ <ProjectConfiguration Include =" Release|Win32" >
9
+ <Configuration >Release</Configuration >
10
+ <Platform >Win32</Platform >
11
+ </ProjectConfiguration >
12
+ </ItemGroup >
13
+ <PropertyGroup Label =" Globals" >
14
+ <ProjectGuid >{345C65D4-A3E2-43AB-AE1C-BA295119C74E}</ProjectGuid >
15
+ <Keyword >Win32Proj</Keyword >
16
+ <RootNamespace >cppparser</RootNamespace >
17
+ </PropertyGroup >
18
+ <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
19
+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" Label =" Configuration" >
20
+ <ConfigurationType >StaticLibrary</ConfigurationType >
21
+ <UseDebugLibraries >true</UseDebugLibraries >
22
+ <CharacterSet >Unicode</CharacterSet >
23
+ </PropertyGroup >
24
+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" Label =" Configuration" >
25
+ <ConfigurationType >StaticLibrary</ConfigurationType >
26
+ <UseDebugLibraries >false</UseDebugLibraries >
27
+ <WholeProgramOptimization >true</WholeProgramOptimization >
28
+ <CharacterSet >Unicode</CharacterSet >
29
+ </PropertyGroup >
30
+ <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.props" />
31
+ <ImportGroup Label =" ExtensionSettings" >
32
+ </ImportGroup >
33
+ <ImportGroup Label =" PropertySheets" Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >
34
+ <Import Project =" $(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition =" exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label =" LocalAppDataPlatform" />
35
+ </ImportGroup >
36
+ <ImportGroup Label =" PropertySheets" Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >
37
+ <Import Project =" $(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition =" exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label =" LocalAppDataPlatform" />
38
+ </ImportGroup >
39
+ <PropertyGroup Label =" UserMacros" />
40
+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >
41
+ <LinkIncremental >true</LinkIncremental >
42
+ <TargetExt >.lib</TargetExt >
43
+ <OutDir >..\build_results\$(Configuration)\bin\</OutDir >
44
+ <IntDir >..\build_results\$(Configuration)\obj\$(ProjectName)\</IntDir >
45
+ </PropertyGroup >
46
+ <PropertyGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >
47
+ <LinkIncremental >false</LinkIncremental >
48
+ <OutDir >..\build_results\$(Configuration)\bin\</OutDir >
49
+ <IntDir >..\build_results\$(Configuration)\obj\$(ProjectName)\</IntDir >
50
+ </PropertyGroup >
51
+ <ItemDefinitionGroup Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >
52
+ <ClCompile >
53
+ <PrecompiledHeader >
54
+ </PrecompiledHeader >
55
+ <WarningLevel >Level3</WarningLevel >
56
+ <Optimization >Disabled</Optimization >
57
+ <PreprocessorDefinitions >BOOST_AUTO_LINK_NOMANGLE;CPPPARSEREXPORT;WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS</PreprocessorDefinitions >
58
+ <AdditionalIncludeDirectories >./hack;./pub;../common/third_party/boost_tp</AdditionalIncludeDirectories >
59
+ <DisableSpecificWarnings >4251</DisableSpecificWarnings >
60
+ <TreatWarningAsError >true</TreatWarningAsError >
61
+ </ClCompile >
62
+ <Link >
63
+ <SubSystem >Console</SubSystem >
64
+ <GenerateDebugInformation >true</GenerateDebugInformation >
65
+ </Link >
66
+ </ItemDefinitionGroup >
67
+ <ItemDefinitionGroup Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >
68
+ <ClCompile >
69
+ <WarningLevel >Level3</WarningLevel >
70
+ <PrecompiledHeader >
71
+ </PrecompiledHeader >
72
+ <Optimization >MaxSpeed</Optimization >
73
+ <FunctionLevelLinking >true</FunctionLevelLinking >
74
+ <IntrinsicFunctions >true</IntrinsicFunctions >
75
+ <PreprocessorDefinitions >BOOST_AUTO_LINK_NOMANGLE;CPPPARSEREXPORT;WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions >
76
+ <AdditionalIncludeDirectories >./hack;./pub;../common/third_party/boost_tp</AdditionalIncludeDirectories >
77
+ <DisableSpecificWarnings >4251</DisableSpecificWarnings >
78
+ <TreatWarningAsError >true</TreatWarningAsError >
79
+ </ClCompile >
80
+ <Link >
81
+ <SubSystem >Console</SubSystem >
82
+ <GenerateDebugInformation >true</GenerateDebugInformation >
83
+ <EnableCOMDATFolding >true</EnableCOMDATFolding >
84
+ <OptimizeReferences >true</OptimizeReferences >
85
+ </Link >
86
+ </ItemDefinitionGroup >
87
+ <ItemGroup >
88
+ <ClCompile Include =" cppparser.cpp" >
89
+ <PreprocessToFile Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >false</PreprocessToFile >
90
+ <PreprocessToFile Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >false</PreprocessToFile >
91
+ </ClCompile >
92
+ <ClCompile Include =" cppprog.cpp" />
93
+ <ClCompile Include =" cppwriter.cpp" />
94
+ <ClCompile Include =" parser.lex.cpp" />
95
+ <ClCompile Include =" parser.tab.cpp" />
96
+ </ItemGroup >
97
+ <ItemGroup >
98
+ <CustomBuild Include =" parser.l" >
99
+ <FileType >Document</FileType >
100
+ <Command Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >flex -oparser.lex.cpp parser.l
101
+ </Command >
102
+ <Outputs Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >parser.lex.cpp</Outputs >
103
+ <Command Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >flex -oparser.lex.cpp parser.l
104
+ </Command >
105
+ <Message Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >Running Fast lexer for parser.l</Message >
106
+ <Message Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >Running Fast lexer for parser.l</Message >
107
+ <Outputs Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >parser.lex.cpp</Outputs >
108
+ </CustomBuild >
109
+ <CustomBuild Include =" parser.y" >
110
+ <FileType >Document</FileType >
111
+ <Command Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >..\build_results\$(Configuration)\tools\btyacc.exe -d parser.y
112
+ XCOPY /D /Y y_tab.c parser.tab.cpp
113
+ XCOPY /D /Y y_tab.h parser.tab.h
114
+ </Command >
115
+ <Message Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >Running BtYacc</Message >
116
+ <Outputs Condition =" '$(Configuration)|$(Platform)'=='Debug|Win32'" >y_tab.c;y_tab.h</Outputs >
117
+ <Command Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >..\build_results\$(Configuration)\tools\btyacc.exe -dl parser.y
118
+ XCOPY /D /Y y_tab.c parser.tab.cpp
119
+ XCOPY /D /Y y_tab.h parser.tab.h
120
+ </Command >
121
+ <Message Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >Running BtYacc</Message >
122
+ <Outputs Condition =" '$(Configuration)|$(Platform)'=='Release|Win32'" >y_tab.c;y_tab.h</Outputs >
123
+ </CustomBuild >
124
+ </ItemGroup >
125
+ <ItemGroup >
126
+ <ClInclude Include =" pub\const.h" />
127
+ <ClInclude Include =" pub\cppdom.h" />
128
+ <ClInclude Include =" pub\cppparser.h" />
129
+ <ClInclude Include =" pub\cppprog.h" />
130
+ <ClInclude Include =" pub\cppwriter.h" />
131
+ <ClInclude Include =" cpptoken.h" />
132
+ <ClInclude Include =" parser.tab.h" />
133
+ </ItemGroup >
134
+ <Import Project =" $(VCTargetsPath)\Microsoft.Cpp.targets" />
135
+ <ImportGroup Label =" ExtensionTargets" >
136
+ </ImportGroup >
137
+ </Project >
0 commit comments