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.
 
 
 
 
 

47 lines
985 B

-- 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" }
characterset "Unicode"
symbols "On"
location (builddir)
objdir (objsdir)
targetdir (libdir)
debugdir (bindir)
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")
include (srcdir .. "/Generator")
include (srcdir .. "/Generator.Tests")
include (srcdir .. "/Runtime")
include (srcdir .. "/Parser")
include (srcdir .. "/CppParser")