summaryrefslogtreecommitdiff
path: root/libmhello/libmhello/buildfile
blob: 5b467221217f50b479feb399091090703f034422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import int_libs  = libmformat%lib{mformat}
import imp_libs  = libmprint%lib{mprint}
import imp_libs += libstd-modules%liba{std-modules}

lib{mhello}: {mxx cxx}{hello} $imp_libs $int_libs

# 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{mhello}: bin.lib.version = @"-$version.project_id"
else
  lib{mhello}: bin.lib.version = @"-$version.major.$version.minor"

lib{mhello}: cxx.export.libs = $int_libs

# Install into the libmhello/ subdirectory of, say, /usr/include/.
#
install.include = $install.include/$project/