@ -15,6 +15,16 @@ newoption {
description = "disable C++-11 ABI on GCC 4.9+"
}
newoption {
trigger = "disable-tests",
description = "disable tests from being included"
trigger = "disable-examples",
description = "disable examples from being included"
explicit_target_architecture = _OPTIONS["arch"]
function is_64_bits_mono_runtime()
@ -39,14 +39,18 @@ workspace "CppSharp"
include (srcdir .. "/Generator.Tests")
include (srcdir .. "/Runtime")
if not _OPTIONS["disable-tests"] then
dofile "Tests.lua"
group "Tests"
IncludeTests()
end
if string.starts(action, "vs") then
group "Examples"
IncludeExamples()