summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-28 16:41:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-28 16:41:14 +0200
commit830989c9c81b501256f5dd47bf13c989dc2dffde (patch)
tree6dbeef5f602f08f4938708cacc18c5f9219bddc8
parent0037d0a7d91027e280ea5bbc6b19041f1233911c (diff)
Add out_root to include search path now that we auto-generate version
-rw-r--r--hello/buildfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/hello/buildfile b/hello/buildfile
index ddf8843..09f117b 100644
--- a/hello/buildfile
+++ b/hello/buildfile
@@ -8,11 +8,11 @@ if $version.pre_release
else
lib{hello}: bin.lib.version = @"-$version.major.$version.minor"
-cxx.poptions =+ "-I$src_root"
+cxx.poptions =+ "-I$out_root" "-I$src_root"
obja{*}: cxx.poptions += -DLIBHELLO_STATIC_BUILD
objs{*}: cxx.poptions += -DLIBHELLO_SHARED_BUILD
-lib{hello}: cxx.export.poptions = "-I$src_root"
+lib{hello}: cxx.export.poptions = "-I$out_root" "-I$src_root"
liba{hello}: cxx.export.poptions += -DLIBHELLO_STATIC
libs{hello}: cxx.export.poptions += -DLIBHELLO_SHARED