File tree 2 files changed +14
-0
lines changed 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,16 @@ newoption {
15
15
description = " disable C++-11 ABI on GCC 4.9+"
16
16
}
17
17
18
+ newoption {
19
+ trigger = " disable-tests" ,
20
+ description = " disable tests from being included"
21
+ }
22
+
23
+ newoption {
24
+ trigger = " disable-examples" ,
25
+ description = " disable examples from being included"
26
+ }
27
+
18
28
explicit_target_architecture = _OPTIONS [" arch" ]
19
29
20
30
function is_64_bits_mono_runtime ()
Original file line number Diff line number Diff line change @@ -39,14 +39,18 @@ workspace "CppSharp"
39
39
include (srcdir .. " /Generator.Tests" )
40
40
include (srcdir .. " /Runtime" )
41
41
42
+ if not _OPTIONS [" disable-tests" ] then
42
43
dofile " Tests.lua"
43
44
44
45
group " Tests"
45
46
IncludeTests ()
47
+ end
46
48
49
+ if not _OPTIONS [" disable-tests" ] then
47
50
if string .starts (action , " vs" ) then
48
51
49
52
group " Examples"
50
53
IncludeExamples ()
51
54
52
55
end
56
+ end
You can’t perform that action at this time.
0 commit comments