aboutsummaryrefslogtreecommitdiff
path: root/cutl/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-08-02 14:08:34 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-08-02 14:08:34 +0300
commit57319d8c7f3e0662a0e6237d864a7312bbf09397 (patch)
tree2bdb9deeea52f10bcee39eb6051540933a08338f /cutl/buildfile
parent884817c98a8b78811123e35eaeb130d576ad9130 (diff)
Add support for build2-aware installation
Diffstat (limited to 'cutl/buildfile')
-rw-r--r--cutl/buildfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/cutl/buildfile b/cutl/buildfile
index 20dea60..948c160 100644
--- a/cutl/buildfile
+++ b/cutl/buildfile
@@ -37,14 +37,16 @@ install_include = [dir_path] include/cutl/
#
details/build2/:
{
+ h{*}: install = false
+
if ($cxx.id == "msvc")
{
- h{config}@./: install = false
- h{config-vc}@./: install = $install_include/details/
+ h{config-vc}@./: install = $install_include/details/
+ h{config-vc-stub}@./: install = $install_include/details/build2/config-vc.h
}
else
{
- h{config}@./: install = $install_include/details/
- h{config-vc}@./: install = false
+ h{config}@./: install = $install_include/details/
+ h{config-stub}@./: install = $install_include/details/build2/config.h
}
}