From 9646f4bb0cee026bdf9dbe4bf318f24e60697bae Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 29 Apr 2017 16:22:25 +0300 Subject: Add hxx extension for headers and lib prefix for library dirs --- libprint/buildfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 libprint/buildfile (limited to 'libprint/buildfile') diff --git a/libprint/buildfile b/libprint/buildfile new file mode 100644 index 0000000..f7d8a74 --- /dev/null +++ b/libprint/buildfile @@ -0,0 +1,21 @@ +lib{print}: {hxx cxx}{print} hxx{export} + +# For pre-releases use the complete version to make sure they cannot be used +# in place of another pre-release or the final version. +# +if $version.pre_release + lib{print}: bin.lib.version = @"-$version.project_id" +else + lib{print}: bin.lib.version = @"-$version.major.$version.minor" + +cxx.poptions =+ "-I$out_root" "-I$src_root" +obja{*}: cxx.poptions += -DLIBPRINT_STATIC_BUILD +objs{*}: cxx.poptions += -DLIBPRINT_SHARED_BUILD + +lib{print}: cxx.export.poptions = "-I$out_root" "-I$src_root" +liba{print}: cxx.export.poptions += -DLIBPRINT_STATIC +libs{print}: cxx.export.poptions += -DLIBPRINT_SHARED + +# Install into the libprint/ subdirectory of, say, /usr/include/. +# +install.include = $install.include/libprint/ -- cgit v1.1