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
commita9135c795451b594b904f11c62e1fe71c6ec9c85 (patch)
treefbf77bc5db0bf10d6ab2e437dba16df7e83299d2
parent09ef37f84eebf735dc7f5a65936044d27bb70590 (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 d2a4a66..30787e2 100644
--- a/hello/buildfile
+++ b/hello/buildfile
@@ -11,11 +11,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