summaryrefslogtreecommitdiff
path: root/cli-examples
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-06-28 16:28:31 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-06-28 17:14:53 +0300
commit1ee0be421b538235fb55f7621f1c7860134220dc (patch)
tree3c3212ea0949304c54382736b3f170082dbdd536 /cli-examples
parent83de480a8bab105dac641f31bf2a9e6adda02fcb (diff)
Don't read LICENSE and load module in root.build files in skeleton mode
Diffstat (limited to 'cli-examples')
-rw-r--r--cli-examples/build/root.build3
1 files changed, 2 insertions, 1 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.
#