diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-05-16 20:51:20 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-05-16 20:51:20 +0000 |
commit | 02c60c6720f41bcfc367d02ae4c655b651642991 (patch) | |
tree | bbda9db56f71c846e5712bcbf44a52f475795f0a /default.bld | |
parent | 09e3102ffba4b9ee11d988f95c04d344790127db (diff) | |
download | libgats-02c60c6720f41bcfc367d02ae4c655b651642991.tar.gz libgats-02c60c6720f41bcfc367d02ae4c655b651642991.tar.bz2 libgats-02c60c6720f41bcfc367d02ae4c655b651642991.tar.xz libgats-02c60c6720f41bcfc367d02ae4c655b651642991.zip |
Almost there! I'm adding a qtbenc-like program for gats, only cooler. It'll
really help us debug gats based protocols and look at gats files, and the like.
Diffstat (limited to 'default.bld')
-rw-r--r-- | default.bld | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/default.bld b/default.bld index de34acf..35302dd 100644 --- a/default.bld +++ b/default.bld | |||
@@ -9,6 +9,11 @@ action "all" | |||
9 | build: [targets("header-links"), "libgats.a", targets()]; | 9 | build: [targets("header-links"), "libgats.a", targets()]; |
10 | } | 10 | } |
11 | 11 | ||
12 | action "gatscon" | ||
13 | { | ||
14 | build: [targets("header-links"), "libgats.a", | ||
15 | targets("headers"), "gatscon"]; | ||
16 | } | ||
12 | 17 | ||
13 | CXXFLAGS += "-ggdb -Wall"; | 18 | CXXFLAGS += "-ggdb -Wall"; |
14 | 19 | ||
@@ -70,3 +75,21 @@ rule "unit" | |||
70 | } | 75 | } |
71 | } | 76 | } |
72 | 77 | ||
78 | include "qt4.bld"; | ||
79 | |||
80 | QTDIR = "/opt/qt-4"; | ||
81 | |||
82 | target "gatscon" | ||
83 | { | ||
84 | input files("src/gatscon/*.h", "src/gatscon/*.cpp", "src/gatscon/*.ui"); | ||
85 | rule "exe"; | ||
86 | |||
87 | CXXFLAGS += qt_getCXXFLAGS(); | ||
88 | LDFLAGS += qt_getLDFLAGS(); | ||
89 | |||
90 | CXXFLAGS += "-Isrc/gatscon"; | ||
91 | |||
92 | CXXFLAGS += "-I. -Ilibbu++"; | ||
93 | LDFLAGS += "-L. -lgats -Llibbu++ -lbu++"; | ||
94 | } | ||
95 | |||