Browse Source

Added new Premake-4 based build system.

pull/1/head
triton 13 years ago
parent
commit
6828527628
  1. 44
      build/GenerateProjects.bat
  2. 62
      build/Parser.lua
  3. 166
      build/cxxi.sln
  4. 39
      build/premake4.lua
  5. 20
      build/vs2010/Cxxi2.sln
  6. 135
      build/vs2010/Parser.vcxproj
  7. 37
      build/vs2010/Parser.vcxproj.filters
  8. 13
      build/vs2010/Parser.vcxproj.user

44
build/GenerateProjects.bat

@ -0,0 +1,44 @@ @@ -0,0 +1,44 @@
@echo off
goto menu
:menu
echo Build Project Generator:
echo.
echo [0] Clean
echo [1] Visual C++ 2010
echo [2] Visual C++ 2008
echo [3] CodeLite
echo [4] GNU Make
echo.
:choice
set /P C="Choice: "
if "%C%"=="4" goto gmake
if "%C%"=="3" goto codelite
if "%C%"=="2" goto vs2008
if "%C%"=="1" goto vs2010
if "%C%"=="0" goto clean
:clean
"premake4" --file=premake4.lua clean
goto quit
:vs2010
"premake4" --file=premake4.lua vs2010
goto quit
:vs2008
"premake4" --file=premake4.lua vs2008
goto quit
:codelite
"premake4" --file=premake4.lua codelite
goto quit
:gmake
"premake4" --file=premake4.lua gmake
goto quit
:quit
pause
:end

62
build/Parser.lua

@ -0,0 +1,62 @@ @@ -0,0 +1,62 @@
project "Parser"
kind "ConsoleApp"
language "C++"
targetdir "../bin"
debugdir "../bin"
flags { common_flags }
configuration "vs*"
buildoptions { common_msvc_copts, "/clr" }
configuration "*"
files
{
"../src/Parser/**.h",
"../src/Parser/**.cpp",
"./*.lua"
}
includedirs
{
"../../LLVM/include",
"../../LLVM/build/include",
"../../LLVM/tools/clang/include",
"../../LLVM/build/tools/clang/include"
}
configuration "Debug"
libdirs { "../../LLVM/build/lib/Debug" }
configuration "Release"
libdirs { "../../LLVM/build/lib/RelWithDebInfo" }
configuration "*"
links
{
"LLVMSupport",
"LLVMAsmParser",
"LLVMMC",
"LLVMMCParser",
"LLVMX86AsmParser",
"LLVMX86AsmPrinter",
"LLVMX86Desc",
"LLVMX86Info",
"LLVMX86Utils",
"clangAnalysis",
"clangBasic",
"clangAST",
"clangDriver",
"clangEdit",
"clangFrontend",
"clangLex",
"clangParse",
"clangSema",
"clangSerialization"
}

166
build/cxxi.sln

@ -0,0 +1,166 @@ @@ -0,0 +1,166 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mono.Cxxi", "src\Mono.Cxxi\Mono.Cxxi.csproj", "{4A864586-93C5-4DC1-8A80-F094A88506D7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "tests\Tests.csproj", "{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "gcc-generator", "src\gcc-generator\gcc-generator.csproj", "{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Legacy", "Legacy", "{CC1EED48-730C-417A-9390-525BBCB518DA}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Parser", "vs2010\Parser.vcxproj", "{C8BF56CF-4CD2-324A-9092-43F508104956}"
ProjectSection(ProjectDependencies) = postProject
{6BEB8FA2-97AA-40B7-AB92-42F6EDDC4490} = {6BEB8FA2-97AA-40B7-AB92-42F6EDDC4490}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bridge", "..\src\Bridge\Bridge.csproj", "{6BEB8FA2-97AA-40B7-AB92-42F6EDDC4490}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Generator", "..\src\Generator\Generator.csproj", "{73499B8E-A6A4-42FF-AB8A-754CE2780777}"
ProjectSection(ProjectDependencies) = postProject
{C8BF56CF-4CD2-324A-9092-43F508104956} = {C8BF56CF-4CD2-324A-9092-43F508104956}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Runtime", "..\src\Runtime\Runtime.csproj", "{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|Win32 = Debug|Win32
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|Mixed Platforms = Release|Mixed Platforms
Release|Win32 = Release|Win32
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Debug|Mixed Platforms.Build.0 = Debug|x86
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Debug|Win32.ActiveCfg = Debug|x86
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Debug|x86.ActiveCfg = Debug|x86
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Debug|x86.Build.0 = Debug|x86
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Release|Any CPU.Build.0 = Release|Any CPU
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Release|Mixed Platforms.ActiveCfg = Release|x86
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Release|Mixed Platforms.Build.0 = Release|x86
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Release|Win32.ActiveCfg = Release|x86
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Release|x86.ActiveCfg = Release|x86
{4A864586-93C5-4DC1-8A80-F094A88506D7}.Release|x86.Build.0 = Release|x86
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Debug|Mixed Platforms.Build.0 = Debug|x86
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Debug|Win32.ActiveCfg = Debug|x86
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Debug|x86.ActiveCfg = Debug|x86
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Release|Any CPU.Build.0 = Release|Any CPU
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Release|Mixed Platforms.ActiveCfg = Release|x86
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Release|Mixed Platforms.Build.0 = Release|x86
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Release|Win32.ActiveCfg = Release|x86
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Release|x86.ActiveCfg = Release|x86
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8}.Release|x86.Build.0 = Release|x86
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Debug|Mixed Platforms.Build.0 = Debug|x86
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Debug|Win32.ActiveCfg = Debug|x86
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Debug|x86.ActiveCfg = Debug|x86
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Debug|x86.Build.0 = Debug|x86
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Release|Any CPU.Build.0 = Release|Any CPU
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Release|Mixed Platforms.ActiveCfg = Release|x86
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Release|Mixed Platforms.Build.0 = Release|x86
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Release|Win32.ActiveCfg = Release|x86
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Release|x86.ActiveCfg = Release|x86
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401}.Release|x86.Build.0 = Release|x86
{C8BF56CF-4CD2-324A-9092-43F508104956}.Debug|Any CPU.ActiveCfg = Debug|Win32
{C8BF56CF-4CD2-324A-9092-43F508104956}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
{C8BF56CF-4CD2-324A-9092-43F508104956}.Debug|Mixed Platforms.Build.0 = Debug|Win32
{C8BF56CF-4CD2-324A-9092-43F508104956}.Debug|Win32.ActiveCfg = Debug|Win32
{C8BF56CF-4CD2-324A-9092-43F508104956}.Debug|Win32.Build.0 = Debug|Win32
{C8BF56CF-4CD2-324A-9092-43F508104956}.Debug|x86.ActiveCfg = Debug|Win32
{C8BF56CF-4CD2-324A-9092-43F508104956}.Debug|x86.Build.0 = Debug|Win32
{C8BF56CF-4CD2-324A-9092-43F508104956}.Release|Any CPU.ActiveCfg = Release|Win32
{C8BF56CF-4CD2-324A-9092-43F508104956}.Release|Mixed Platforms.ActiveCfg = Release|Win32
{C8BF56CF-4CD2-324A-9092-43F508104956}.Release|Mixed Platforms.Build.0 = Release|Win32
{C8BF56CF-4CD2-324A-9092-43F508104956}.Release|Win32.ActiveCfg = Release|Win32
{C8BF56CF-4CD2-324A-9092-43F508104956}.Release|Win32.Build.0 = Release|Win32
{C8BF56CF-4CD2-324A-9092-43F508104956}.Release|x86.ActiveCfg = Release|Win32
{C8BF56CF-4CD2-324A-9092-43F508104956}.Release|x86.Build.0 = Release|Win32
{6BEB8FA2-97AA-40B7-AB92-42F6EDDC4490}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6BEB8FA2-97AA-40B7-AB92-42F6EDDC4490}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6BEB8FA2-97AA-40B7-AB92-42F6EDDC4490}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{6BEB8FA2-97AA-40B7-AB92-42F6EDDC4490}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{6BEB8FA2-97AA-40B7-AB92-42F6EDDC4490}.Debug|Win32.ActiveCfg = Debug|Any CPU
{6BEB8FA2-97AA-40B7-AB92-42F6EDDC4490}.Debug|x86.ActiveCfg = Debug|Any CPU
{6BEB8FA2-97AA-40B7-AB92-42F6EDDC4490}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6BEB8FA2-97AA-40B7-AB92-42F6EDDC4490}.Release|Any CPU.Build.0 = Release|Any CPU
{6BEB8FA2-97AA-40B7-AB92-42F6EDDC4490}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{6BEB8FA2-97AA-40B7-AB92-42F6EDDC4490}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{6BEB8FA2-97AA-40B7-AB92-42F6EDDC4490}.Release|Win32.ActiveCfg = Release|Any CPU
{6BEB8FA2-97AA-40B7-AB92-42F6EDDC4490}.Release|x86.ActiveCfg = Release|Any CPU
{73499B8E-A6A4-42FF-AB8A-754CE2780777}.Debug|Any CPU.ActiveCfg = Debug|x86
{73499B8E-A6A4-42FF-AB8A-754CE2780777}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{73499B8E-A6A4-42FF-AB8A-754CE2780777}.Debug|Mixed Platforms.Build.0 = Debug|x86
{73499B8E-A6A4-42FF-AB8A-754CE2780777}.Debug|Win32.ActiveCfg = Debug|x86
{73499B8E-A6A4-42FF-AB8A-754CE2780777}.Debug|Win32.Build.0 = Debug|x86
{73499B8E-A6A4-42FF-AB8A-754CE2780777}.Debug|x86.ActiveCfg = Debug|x86
{73499B8E-A6A4-42FF-AB8A-754CE2780777}.Debug|x86.Build.0 = Debug|x86
{73499B8E-A6A4-42FF-AB8A-754CE2780777}.Release|Any CPU.ActiveCfg = Release|x86
{73499B8E-A6A4-42FF-AB8A-754CE2780777}.Release|Mixed Platforms.ActiveCfg = Release|x86
{73499B8E-A6A4-42FF-AB8A-754CE2780777}.Release|Mixed Platforms.Build.0 = Release|x86
{73499B8E-A6A4-42FF-AB8A-754CE2780777}.Release|Win32.ActiveCfg = Release|x86
{73499B8E-A6A4-42FF-AB8A-754CE2780777}.Release|Win32.Build.0 = Release|x86
{73499B8E-A6A4-42FF-AB8A-754CE2780777}.Release|x86.ActiveCfg = Release|x86
{73499B8E-A6A4-42FF-AB8A-754CE2780777}.Release|x86.Build.0 = Release|x86
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Debug|Mixed Platforms.Build.0 = Debug|x86
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Debug|Win32.ActiveCfg = Debug|x86
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Debug|Win32.Build.0 = Debug|x86
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Debug|x86.ActiveCfg = Debug|x86
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Debug|x86.Build.0 = Debug|x86
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Release|Any CPU.Build.0 = Release|Any CPU
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Release|Mixed Platforms.ActiveCfg = Release|x86
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Release|Mixed Platforms.Build.0 = Release|x86
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Release|Win32.ActiveCfg = Release|x86
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Release|Win32.Build.0 = Release|x86
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Release|x86.ActiveCfg = Release|x86
{6EE1E3FF-B737-4874-B7BC-D1B5297E162C}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{3C290CBE-CA39-47F6-B3A0-ACD16C5A38C8} = {CC1EED48-730C-417A-9390-525BBCB518DA}
{AD0F9378-789C-4AF1-B0DD-6DD9A63C3401} = {CC1EED48-730C-417A-9390-525BBCB518DA}
{4A864586-93C5-4DC1-8A80-F094A88506D7} = {CC1EED48-730C-417A-9390-525BBCB518DA}
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = src\generator\generator.csproj
Policies = $0
$0.TextStylePolicy = $3
$1.inheritsSet = null
$1.scope = text/x-csharp
$0.CSharpFormattingPolicy = $2
$2.NamespaceBraceStyle = EndOfLine
$2.ClassBraceStyle = EndOfLine
$2.InterfaceBraceStyle = EndOfLine
$2.StructBraceStyle = EndOfLine
$2.EnumBraceStyle = EndOfLine
$2.inheritsSet = Mono
$2.inheritsScope = text/x-csharp
$2.scope = text/x-csharp
$3.FileWidth = 120
$3.TabWidth = 4
$3.RemoveTrailingWhitespace = True
$3.inheritsSet = Mono
$3.inheritsScope = text/plain
$3.scope = text/plain
name = CPPInterop
EndGlobalSection
EndGlobal

39
build/premake4.lua

@ -0,0 +1,39 @@ @@ -0,0 +1,39 @@
-- This is the starting point of the build scripts for the project.
-- It defines the common build settings that all the projects share
-- and calls the build scripts of all the sub-projects.
action = _ACTION or ""
common_flags = { "Unicode", "Symbols" }
common_msvc_copts =
{
"/wd4146", "/wd4244", "/wd4800", "/wd4345",
"/wd4355", "/wd4996", "/wd4624", "/wd4291"
}
solution "Cxxi2"
configurations
{
"Debug",
"Release"
}
debugdir "bin"
startup "Parser"
location (action)
objdir (action .. "/obj/")
targetdir (action .. "/lib/")
configuration "Debug"
defines { "DEBUG" }
targetsuffix "_d"
configuration "Release"
defines { "NDEBUG" }
flags { "Optimize" }
dofile "Parser.lua"

20
build/vs2010/Cxxi2.sln

@ -0,0 +1,20 @@ @@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Parser", "Parser.vcxproj", "{69C218CC-82BF-4544-A577-00FE36ECD3DE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{69C218CC-82BF-4544-A577-00FE36ECD3DE}.Debug|Win32.ActiveCfg = Debug|Win32
{69C218CC-82BF-4544-A577-00FE36ECD3DE}.Debug|Win32.Build.0 = Debug|Win32
{69C218CC-82BF-4544-A577-00FE36ECD3DE}.Release|Win32.ActiveCfg = Release|Win32
{69C218CC-82BF-4544-A577-00FE36ECD3DE}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

135
build/vs2010/Parser.vcxproj

@ -0,0 +1,135 @@ @@ -0,0 +1,135 @@
<?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>{C8BF56CF-4CD2-324A-9092-43F508104956}</ProjectGuid>
<RootNamespace>Parser</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v110</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</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" />
</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" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\..\bin\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">obj\Debug\</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Parser_d</TargetName>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\..\bin\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">obj\Release\</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Parser</TargetName>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<AdditionalOptions>/wd4146 /wd4244 /wd4800 /wd4345 /wd4355 /wd4996 /wd4624 /wd4291 /clr %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\..\..\LLVM\include;..\..\..\LLVM\build\include;..\..\..\LLVM\tools\clang\include;..\..\..\LLVM\build\tools\clang\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>false</MinimalRebuild>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<ProgramDataBaseFileName>$(OutDir)Parser_d.pdb</ProgramDataBaseFileName>
<ExceptionHandling>false</ExceptionHandling>
<AdditionalUsingDirectories>C:\Development\cxxi\bin;%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\..\LLVM\include;..\..\..\LLVM\build\include;..\..\..\LLVM\tools\clang\include;..\..\..\LLVM\build\tools\clang\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>LLVMSupport.lib;LLVMAsmParser.lib;LLVMMC.lib;LLVMMCParser.lib;LLVMX86AsmParser.lib;LLVMX86AsmPrinter.lib;LLVMX86Desc.lib;LLVMX86Info.lib;LLVMX86Utils.lib;clangAnalysis.lib;clangBasic.lib;clangAST.lib;clangDriver.lib;clangEdit.lib;clangFrontend.lib;clangLex.lib;clangParse.lib;clangSema.lib;clangSerialization.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>..\..\..\LLVM\build\lib\Debug;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<EntryPointSymbol>
</EntryPointSymbol>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<AdditionalOptions>/wd4146 /wd4244 /wd4800 /wd4345 /wd4355 /wd4996 /wd4624 /wd4291 /clr %(AdditionalOptions)</AdditionalOptions>
<Optimization>Full</Optimization>
<AdditionalIncludeDirectories>..\..\..\LLVM\include;..\..\..\LLVM\build\include;..\..\..\LLVM\tools\clang\include;..\..\..\LLVM\build\tools\clang\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>false</MinimalRebuild>
<StringPooling>true</StringPooling>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<ProgramDataBaseFileName>$(OutDir)Parser.pdb</ProgramDataBaseFileName>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\..\LLVM\include;..\..\..\LLVM\build\include;..\..\..\LLVM\tools\clang\include;..\..\..\LLVM\build\tools\clang\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>LLVMSupport.lib;LLVMMC.lib;clangAnalysis.lib;clangBasic.lib;clangAST.lib;clangDriver.lib;clangEdit.lib;clangFrontend.lib;clangLex.lib;clangParse.lib;clangSema.lib;clangSerialization.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)Parser.exe</OutputFile>
<AdditionalLibraryDirectories>..\..\..\LLVM\build\lib\RelWithDebInfo;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<EntryPointSymbol>mainCRTStartup</EntryPointSymbol>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\..\src\Parser\CXXABI.h" />
<ClInclude Include="..\..\src\Parser\Interop.h" />
<ClInclude Include="..\..\src\Parser\Parser.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\Parser\Helpers.cpp">
</ClCompile>
<ClCompile Include="..\..\src\Parser\Main.cpp">
</ClCompile>
<ClCompile Include="..\..\src\Parser\Parser.cpp">
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\Parser.lua" />
<None Include="..\premake4.lua" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

37
build/vs2010/Parser.vcxproj.filters

@ -0,0 +1,37 @@ @@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="src">
<UniqueIdentifier>{254AD2D5-F792-C842-A59A-EFC933E51C60}</UniqueIdentifier>
</Filter>
<Filter Include="src\Parser">
<UniqueIdentifier>{35E5E65B-7ABF-A54D-AEC8-338693EF5D27}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<None Include="..\Parser.lua" />
<None Include="..\premake4.lua" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\Parser\CXXABI.h">
<Filter>src\Parser</Filter>
</ClInclude>
<ClInclude Include="..\..\src\Parser\Interop.h">
<Filter>src\Parser</Filter>
</ClInclude>
<ClInclude Include="..\..\src\Parser\Parser.h">
<Filter>src\Parser</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\src\Parser\Helpers.cpp">
<Filter>src\Parser</Filter>
</ClCompile>
<ClCompile Include="..\..\src\Parser\Main.cpp">
<Filter>src\Parser</Filter>
</ClCompile>
<ClCompile Include="..\..\src\Parser\Parser.cpp">
<Filter>src\Parser</Filter>
</ClCompile>
</ItemGroup>
</Project>

13
build/vs2010/Parser.vcxproj.user

@ -0,0 +1,13 @@ @@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LocalDebuggerWorkingDirectory>..\..\bin</LocalDebuggerWorkingDirectory>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerCommandArguments></LocalDebuggerCommandArguments>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LocalDebuggerWorkingDirectory>..\..\bin</LocalDebuggerWorkingDirectory>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerCommandArguments></LocalDebuggerCommandArguments>
</PropertyGroup>
</Project>
Loading…
Cancel
Save