From 6828527628397c5730eb2a655019330d62b2850e Mon Sep 17 00:00:00 2001 From: triton Date: Wed, 29 Aug 2012 21:52:58 +0100 Subject: [PATCH] Added new Premake-4 based build system. --- build/GenerateProjects.bat | 44 ++++++++ build/Parser.lua | 62 +++++++++++ build/cxxi.sln | 166 ++++++++++++++++++++++++++++ build/premake4.lua | 39 +++++++ build/vs2010/Cxxi2.sln | 20 ++++ build/vs2010/Parser.vcxproj | 135 ++++++++++++++++++++++ build/vs2010/Parser.vcxproj.filters | 37 +++++++ build/vs2010/Parser.vcxproj.user | 13 +++ 8 files changed, 516 insertions(+) create mode 100644 build/GenerateProjects.bat create mode 100644 build/Parser.lua create mode 100644 build/cxxi.sln create mode 100644 build/premake4.lua create mode 100644 build/vs2010/Cxxi2.sln create mode 100644 build/vs2010/Parser.vcxproj create mode 100644 build/vs2010/Parser.vcxproj.filters create mode 100644 build/vs2010/Parser.vcxproj.user diff --git a/build/GenerateProjects.bat b/build/GenerateProjects.bat new file mode 100644 index 00000000..1e269a67 --- /dev/null +++ b/build/GenerateProjects.bat @@ -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 \ No newline at end of file diff --git a/build/Parser.lua b/build/Parser.lua new file mode 100644 index 00000000..ff706fcc --- /dev/null +++ b/build/Parser.lua @@ -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" + } \ No newline at end of file diff --git a/build/cxxi.sln b/build/cxxi.sln new file mode 100644 index 00000000..4e1718ee --- /dev/null +++ b/build/cxxi.sln @@ -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 diff --git a/build/premake4.lua b/build/premake4.lua new file mode 100644 index 00000000..e8952074 --- /dev/null +++ b/build/premake4.lua @@ -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" + diff --git a/build/vs2010/Cxxi2.sln b/build/vs2010/Cxxi2.sln new file mode 100644 index 00000000..6b566218 --- /dev/null +++ b/build/vs2010/Cxxi2.sln @@ -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 diff --git a/build/vs2010/Parser.vcxproj b/build/vs2010/Parser.vcxproj new file mode 100644 index 00000000..0799ff5e --- /dev/null +++ b/build/vs2010/Parser.vcxproj @@ -0,0 +1,135 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {C8BF56CF-4CD2-324A-9092-43F508104956} + Parser + Win32Proj + + + + DynamicLibrary + true + Unicode + v110 + + + Application + false + Unicode + v110 + + + + + + + + + + + + + <_ProjectFileVersion>10.0.30319.1 + ..\..\bin\ + obj\Debug\ + Parser_d + true + ..\..\bin\ + obj\Release\ + Parser + false + + + + /wd4146 /wd4244 /wd4800 /wd4345 /wd4355 /wd4996 /wd4624 /wd4291 /clr %(AdditionalOptions) + Disabled + ..\..\..\LLVM\include;..\..\..\LLVM\build\include;..\..\..\LLVM\tools\clang\include;..\..\..\LLVM\build\tools\clang\include;%(AdditionalIncludeDirectories) + DEBUG;%(PreprocessorDefinitions) + false + Default + MultiThreadedDebugDLL + true + + + Level3 + ProgramDatabase + $(OutDir)Parser_d.pdb + false + C:\Development\cxxi\bin;%(AdditionalUsingDirectories) + + + DEBUG;%(PreprocessorDefinitions) + ..\..\..\LLVM\include;..\..\..\LLVM\build\include;..\..\..\LLVM\tools\clang\include;..\..\..\LLVM\build\tools\clang\include;%(AdditionalIncludeDirectories) + + + Console + true + 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) + $(OutDir)$(TargetName)$(TargetExt) + ..\..\..\LLVM\build\lib\Debug;%(AdditionalLibraryDirectories) + + + + + + + /wd4146 /wd4244 /wd4800 /wd4345 /wd4355 /wd4996 /wd4624 /wd4291 /clr %(AdditionalOptions) + Full + ..\..\..\LLVM\include;..\..\..\LLVM\build\include;..\..\..\LLVM\tools\clang\include;..\..\..\LLVM\build\tools\clang\include;%(AdditionalIncludeDirectories) + NDEBUG;%(PreprocessorDefinitions) + false + true + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + $(OutDir)Parser.pdb + + + NDEBUG;%(PreprocessorDefinitions) + ..\..\..\LLVM\include;..\..\..\LLVM\build\include;..\..\..\LLVM\tools\clang\include;..\..\..\LLVM\build\tools\clang\include;%(AdditionalIncludeDirectories) + + + Console + true + true + true + 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) + $(OutDir)Parser.exe + ..\..\..\LLVM\build\lib\RelWithDebInfo;%(AdditionalLibraryDirectories) + mainCRTStartup + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/vs2010/Parser.vcxproj.filters b/build/vs2010/Parser.vcxproj.filters new file mode 100644 index 00000000..0705ede2 --- /dev/null +++ b/build/vs2010/Parser.vcxproj.filters @@ -0,0 +1,37 @@ + + + + + {254AD2D5-F792-C842-A59A-EFC933E51C60} + + + {35E5E65B-7ABF-A54D-AEC8-338693EF5D27} + + + + + + + + + src\Parser + + + src\Parser + + + src\Parser + + + + + src\Parser + + + src\Parser + + + src\Parser + + + diff --git a/build/vs2010/Parser.vcxproj.user b/build/vs2010/Parser.vcxproj.user new file mode 100644 index 00000000..967772a4 --- /dev/null +++ b/build/vs2010/Parser.vcxproj.user @@ -0,0 +1,13 @@ + + + + ..\..\bin + WindowsLocalDebugger + + + + ..\..\bin + WindowsLocalDebugger + + +