summaryrefslogtreecommitdiff
path: root/buildMinGW.conf
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-01-20 18:09:04 +0000
committerMike Buland <eichlan@xagasoft.com>2011-01-20 18:09:04 +0000
commit393f1b414746a7f1977971dd7659dd2b47092b11 (patch)
tree81d0ca1ee70ab86a7d79c1991abe5c387b655fb2 /buildMinGW.conf
parentc259f95bd0e58b247940a339bb9b4b401b4e9438 (diff)
parent7e25a863325dc3e9762397e700030969e093b087 (diff)
downloadlibbu++-393f1b414746a7f1977971dd7659dd2b47092b11.tar.gz
libbu++-393f1b414746a7f1977971dd7659dd2b47092b11.tar.bz2
libbu++-393f1b414746a7f1977971dd7659dd2b47092b11.tar.xz
libbu++-393f1b414746a7f1977971dd7659dd2b47092b11.zip
Wow! Merged the branch, streams are updated, and there's no more FString, run
the fixstrings.sh script in the support directory to (hopefully) automatically update your projects.
Diffstat (limited to 'buildMinGW.conf')
-rw-r--r--buildMinGW.conf47
1 files changed, 0 insertions, 47 deletions
diff --git a/buildMinGW.conf b/buildMinGW.conf
deleted file mode 100644
index faf1088..0000000
--- a/buildMinGW.conf
+++ /dev/null
@@ -1,47 +0,0 @@
1# Build config file for libbu++
2#
3# Copyright (C) 2007-2008 Xagasoft, All rights reserved.
4#
5# This file is part of the libbu++ library and is released under the
6# terms of the license contained in the file LICENSE.
7
8default action: check group "lnhdrs", check "libbu++win.a"
9"tests" action: check group "lnhdrs", check group "tests"
10"all" action: check group "lnhdrs", check targets()
11
12set "CXXFLAGS" += "-ggdb -Wall"
13
14filesIn("src") filter regexp("^src/(.*)\\.h$", "bu/{re:1}.h"):
15 rule "hln",
16 group "lnhdrs",
17 target file,
18 input "src/{re:1}.h"
19
20"libbu++win.a":
21 rule "lib",
22 target file,
23 set "CXXFLAGS" += "-I. -Isupport/windows",
24 #input filesIn("src") filter regexp("^.*\\.cpp$")
25 input ["src/array.cpp", "src/list.cpp", "src/exceptionbase.cpp", "src/fbasicstring.cpp", "src/fstring.cpp", "src/file.cpp", "src/set.cpp", "src/hash.cpp", "src/sptr.cpp", "src/tafnode.cpp", "src/tafreader.cpp", "src/tafwriter.cpp", "src/tafgroup.cpp", "src/tafproperty.cpp", "src/tafcomment.cpp", "src/stdstream.cpp", "src/stream.cpp", "src/archive.cpp", "src/archival.cpp", "src/socket.cpp", "src/serversocket.cpp", "src/unitsuite.cpp", "src/win32_compatibility.cpp", "src/membuf.cpp", "src/formatter.cpp", "src/sio.cpp", "src/md5.cpp", "src/cryptohash.cpp", "src/filter.cpp", "src/bzip2.cpp", "src/base64.cpp", "src/minimacro.cpp", "src/formula.cpp", "src/util.cpp", "src/archivebase.cpp", "src/queue.cpp"]
26
27rule "exe":
28 matches regexp("(.*)\\.win_o$"),
29 aggregate toString(" "),
30 perform command("wine c:/MinGW/bin/mingw32-g++.exe -o {target} {match} {LDFLAGS}")
31
32rule "lib":
33 matches regexp("(.*)\\.win_o$"),
34 aggregate toString(" "),
35 perform command("wine c:/MinGW/bin/ar.exe cr {target} {match}")
36
37rule "cpp":
38 matches regexp("(.*)\\.cpp$"),
39 produces "{re:1}.win_o",
40 requires commandToList("wine c:/MinGW/bin/mingw32-g++.exe -M {CXXFLAGS} {match}", "make"),
41 perform command("wine c:/MinGW/bin/mingw32-g++.exe {CXXFLAGS} -c -o {target} {match}")
42
43rule "hln":
44 matches regexp("src/(.*)\\.h"),
45 produces "bu/{re:1}.h",
46 perform command("ln -s ../src/{re:1}.h {target}")
47