diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-08-02 14:08:34 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-08-02 14:08:34 +0300 |
commit | 57319d8c7f3e0662a0e6237d864a7312bbf09397 (patch) | |
tree | 2bdb9deeea52f10bcee39eb6051540933a08338f /cutl/buildfile | |
parent | 884817c98a8b78811123e35eaeb130d576ad9130 (diff) |
Add support for build2-aware installation
Diffstat (limited to 'cutl/buildfile')
-rw-r--r-- | cutl/buildfile | 10 |
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 } } |