aboutsummaryrefslogtreecommitdiff
path: root/pymake.tests.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pymake.tests.conf54
1 files changed, 54 insertions, 0 deletions
diff --git a/pymake.tests.conf b/pymake.tests.conf
new file mode 100644
index 0000000..d5719d4
--- /dev/null
+++ b/pymake.tests.conf
@@ -0,0 +1,54 @@
1### pymake by ~3o~ph()g (neonphog.com) ###
2## This skeleton file was generated by pymake... please edit for your project.
3
4CXXFLAGS: -ggdb -fPIC
5LDFLAGS: -ggdb
6
7#[BUILD]
8#DIR: src
9#COMMAND: lib
10#OUTPUT: libbu++.a
11
12#
13# Uncomment this if you want to build the tests, these don't rely on anything
14# that libbu++ doesn't rely on.
15#
16[DIRBUILD]
17COMMAND: exe
18OUTPUT: tests/{NAME}
19ROOT: src/test
20LDFLAGS: -L. -lbu++
21CXXFLAGS: -Isrc -Isrc/test
22
23[OVERRIDE]
24FILE: tests/plugin
25LDFLAGS: -ldl
26
27#
28# Uncomment this if you have cpptest and want to build the unit tests
29#
30#[DIRBUILD]
31#COMMAND: exe
32#OUTPUT: unit/{NAME}
33#ROOT: src/unit
34#LDFLAGS: -L. -lbu++ -lcpptest
35#CXXFLAGS: -Isrc
36
37[TRIGGER]
38INPUT: .cpp #take input of *.cpp files
39OUTPUT: .o #output .o files
40COMMAND: g++ -fPIC -c {INPUT} {CXXFLAGS} -I{DIR} -o {OUTPUT}
41CHECK: g++ -M {INPUT} {CXXFLAGS} -I{DIR}
42
43### Executable command ###
44## Use this command if you want a simple executable
45[COMMAND]
46NAME: exe
47COMMAND: g++ {INPUT} {LDFLAGS} -o {OUTPUT}
48
49### Library command ###
50## Use this command if you wish to create a library
51[COMMAND]
52NAME: lib
53COMMAND: ar cr{ARFLAGS} {OUTPUT} {INPUT}
54