diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-08-02 13:59:32 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-08-02 13:59:32 +0300 |
commit | 839ce3f20206dcdc0e2c1ab04f9a40bad0b87302 (patch) | |
tree | e600aa8ff23dd1b83ea89bfe6c10f5e17ea205a3 /odb/sqlite/buildfile | |
parent | ea23ae9eb7f5fe7badda1c3341070b58f1f31dd4 (diff) |
Add support for build2-aware installation
Diffstat (limited to 'odb/sqlite/buildfile')
-rw-r--r-- | odb/sqlite/buildfile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/odb/sqlite/buildfile b/odb/sqlite/buildfile index f225a64..047f209 100644 --- a/odb/sqlite/buildfile +++ b/odb/sqlite/buildfile @@ -60,21 +60,24 @@ install_include = [dir_path] include/odb/sqlite/ {hxx ixx txx}{*}: install = $install_include {hxx ixx txx}{*}: install.subdirs = true -# We want these to be picked up even when LIBODB_SQLITE_BUILD2 is not defined. +# We want these to be picked up whether LIBODB_SQLITE_BUILD2 is defined or not. # -hxx{version}@./: install = false -hxx{version-build2}: install = $install_include/version.hxx +hxx{version}@./: install = false +hxx{version-build2}: install = $install_include/version.hxx +hxx{version-build2-stub}@./: install = $install_include/version-build2.hxx 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 } } |