summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorKarl Lindén <karl.j.linden@gmail.com>2015-05-01 12:18:24 +0200
committerKarl Lindén <karl.j.linden@gmail.com>2015-05-01 12:18:24 +0200
commit28fe48cd1a6eb813b898650fcbdd734e5de67fa3 (patch)
treee9f7203101ef6a3588aa6cc13ae5fcfa713db1ed /wscript
parentdd934f8f868d82a7cfff640d562a4e0a43c36293 (diff)
downloadjack2-28fe48cd1a6eb813b898650fcbdd734e5de67fa3.tar.gz
generate svnversion.h before building cxx objects (so that also cxx sources can
use the header)
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 288523af..a1eebd2c 100644
--- a/wscript
+++ b/wscript
@@ -717,7 +717,7 @@ def build(bld):
rule = '%s ${TGT}' % script,
name = 'svnversion',
runnable_status = Task.RUN_ME,
- before = 'c',
+ before = 'c cxx',
color = 'BLUE',
post_run = post_run,
target = [bld.path.find_or_declare('svnversion.h')]