diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-18 10:14:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-18 10:14:57 +0200 |
commit | b5b996507c6287b5216a7c628adfdf23ec7dc4a2 (patch) | |
tree | 4c8d582b9c6bb682d8e906363feee523e5b00cad | |
parent | 54e3c33fb327efe0cbfd806c5468cbe390dafeaa (diff) |
Move cxx.poptions setting from root.build to buildfile
That's the new recommended way.
Also, remove hardcoded -I/usr/include/apr-1. This should be passed
with config.cxx.poptions during configuration, e.g.,
b config.cxx.poptions=-I/usr/include/apr-1 configure
-rw-r--r-- | build/root.build | 2 | ||||
-rw-r--r-- | buildfile | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/build/root.build b/build/root.build index bfa96d0..e14129a 100644 --- a/build/root.build +++ b/build/root.build @@ -1,5 +1,3 @@ using cxx cxx.std = 11 -cxx.poptions += -I$src_root -I/usr/include/apr-1 -cxx.libs = -lodb-pgsql -lodb @@ -2,5 +2,5 @@ brep=brep/{diagnostics module options package package-odb search view} web=web/apache/{request service} libso{brep}: cxx{$brep $web services} - -.: libso{brep} +cxx.poptions += -I$src_root +cxx.libs += -lodb-pgsql -lodb |