summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cli-examples/build/root.build3
-rw-r--r--cli-tests/build/root.build3
-rw-r--r--cli/build/root.build7
3 files changed, 8 insertions, 5 deletions
diff --git a/cli-examples/build/root.build b/cli-examples/build/root.build
index 5f4b348..90a319a 100644
--- a/cli-examples/build/root.build
+++ b/cli-examples/build/root.build
@@ -16,7 +16,8 @@ if ($cxx.target.system == 'win32-msvc')
if ($cxx.class == 'msvc')
cxx.coptions += /wd4251 /wd4275 /wd4800
-using cli
+if ($build.mode != 'skeleton')
+ using cli
# Every exe{} in this project is by default a test.
#
diff --git a/cli-tests/build/root.build b/cli-tests/build/root.build
index 5f4b348..90a319a 100644
--- a/cli-tests/build/root.build
+++ b/cli-tests/build/root.build
@@ -16,7 +16,8 @@ if ($cxx.target.system == 'win32-msvc')
if ($cxx.class == 'msvc')
cxx.coptions += /wd4251 /wd4275 /wd4800
-using cli
+if ($build.mode != 'skeleton')
+ using cli
# Every exe{} in this project is by default a test.
#
diff --git a/cli/build/root.build b/cli/build/root.build
index 6132356..0753a9e 100644
--- a/cli/build/root.build
+++ b/cli/build/root.build
@@ -34,6 +34,7 @@ test.target = $cxx.target
#
# Note that cat is a builtin which means this is both portable and fast.
#
-copyright = $process.run_regex(cat $src_root/LICENSE, \
- 'Copyright \(c\) (.+)\.', \
- '\1')
+if ($build.mode != 'skeleton')
+ copyright = $process.run_regex(cat $src_root/LICENSE, \
+ 'Copyright \(c\) (.+)\.', \
+ '\1')