Tools and libraries to glue C/C++ APIs to high-level languages
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

51 lines
1.1 KiB

-- 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.
config = {}
dofile "Helpers.lua"
dofile "Tests.lua"
dofile "LLVM.lua"
dofile "Parser.lua"
solution "CppSharp"
configurations { "Debug", "Release" }
platforms { "x32", "x64" }
flags { common_flags }
location (builddir)
objdir (path.join(builddir, "obj"))
targetdir (libdir)
debugdir (bindir)
-- startproject "Generator"
configuration "vs2013"
framework "4.0"
configuration "vs2012"
framework "4.0"
configuration "windows"
defines { "WINDOWS" }
configuration {}
if string.starts(action, "vs") then
group "Examples"
IncludeExamples()
end
group "Tests"
IncludeTests()
group "Libraries"
include (srcdir .. "/Core")
include (srcdir .. "/AST/AST.lua")
include (srcdir .. "/Generator/Generator.lua")
include (srcdir .. "/Generator.Tests/Generator.Tests.lua")
include (srcdir .. "/Runtime/Runtime.lua")
include (srcdir .. "/CppParser")