diff options
-rw-r--r-- | cutl/buildfile | 10 | ||||
-rw-r--r-- | cutl/details/build2/config-stub.h | 6 | ||||
-rw-r--r-- | cutl/details/build2/config-vc-stub.h | 6 |
3 files changed, 18 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 } } diff --git a/cutl/details/build2/config-stub.h b/cutl/details/build2/config-stub.h new file mode 100644 index 0000000..f1280a0 --- /dev/null +++ b/cutl/details/build2/config-stub.h @@ -0,0 +1,6 @@ +/* file : cutl/details/build2/config-stub.h + * copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC + * license : GNU GPL v2; see accompanying LICENSE file + */ + +#include <cutl/details/config.h> diff --git a/cutl/details/build2/config-vc-stub.h b/cutl/details/build2/config-vc-stub.h new file mode 100644 index 0000000..aed8397 --- /dev/null +++ b/cutl/details/build2/config-vc-stub.h @@ -0,0 +1,6 @@ +/* file : cutl/details/build2/config-vc-stub.h + * copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC + * license : GNU GPL v2; see accompanying LICENSE file + */ + +#include <cutl/details/config-vc.h> |