From 02c60c6720f41bcfc367d02ae4c655b651642991 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 16 May 2011 20:51:20 +0000 Subject: 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. --- default.bld | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'default.bld') diff --git a/default.bld b/default.bld index de34acf..35302dd 100644 --- a/default.bld +++ b/default.bld @@ -9,6 +9,11 @@ action "all" build: [targets("header-links"), "libgats.a", targets()]; } +action "gatscon" +{ + build: [targets("header-links"), "libgats.a", + targets("headers"), "gatscon"]; +} CXXFLAGS += "-ggdb -Wall"; @@ -70,3 +75,21 @@ rule "unit" } } +include "qt4.bld"; + +QTDIR = "/opt/qt-4"; + +target "gatscon" +{ + input files("src/gatscon/*.h", "src/gatscon/*.cpp", "src/gatscon/*.ui"); + rule "exe"; + + CXXFLAGS += qt_getCXXFLAGS(); + LDFLAGS += qt_getLDFLAGS(); + + CXXFLAGS += "-Isrc/gatscon"; + + CXXFLAGS += "-I. -Ilibbu++"; + LDFLAGS += "-L. -lgats -Llibbu++ -lbu++"; +} + -- cgit v1.2.3