From 57319d8c7f3e0662a0e6237d864a7312bbf09397 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 2 Aug 2017 14:08:34 +0300 Subject: Add support for build2-aware installation --- cutl/buildfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'cutl/buildfile') 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 } } -- cgit v1.1