aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--default.bld12
1 files changed, 11 insertions, 1 deletions
diff --git a/default.bld b/default.bld
index d78fbd3..de34acf 100644
--- a/default.bld
+++ b/default.bld
@@ -12,7 +12,7 @@ action "all"
12 12
13CXXFLAGS += "-ggdb -Wall"; 13CXXFLAGS += "-ggdb -Wall";
14 14
15target files("src/*.h").replace("src/", "gats/") 15target [files("src/*.h").replace("src/", "gats/"), "gats/version.h"]
16{ 16{
17 tag "header-links"; 17 tag "header-links";
18 display "symlink"; 18 display "symlink";
@@ -23,6 +23,16 @@ target files("src/*.h").replace("src/", "gats/")
23 } 23 }
24} 24}
25 25
26target "src/version.h"
27{
28 input ".svn";
29 display "svnver";
30 profile "build"
31 {
32 execute("echo Revision number: `svnversion`; echo \\#ifndef LIBGATS_VC_ID > ${OUTPUT}; echo \\#define LIBGATS_VC_ID \\\"`svnversion`\\\" >> ${OUTPUT}; echo \\#endif >> ${OUTPUT}");
33 }
34}
35
26target "libgats.a" 36target "libgats.a"
27{ 37{
28 rule "lib"; 38 rule "lib";