diff options
Diffstat (limited to 'pymake.tests.conf')
-rw-r--r-- | pymake.tests.conf | 54 |
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 | |||
4 | CXXFLAGS: -ggdb -fPIC | ||
5 | LDFLAGS: -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] | ||
17 | COMMAND: exe | ||
18 | OUTPUT: tests/{NAME} | ||
19 | ROOT: src/test | ||
20 | LDFLAGS: -L. -lbu++ | ||
21 | CXXFLAGS: -Isrc -Isrc/test | ||
22 | |||
23 | [OVERRIDE] | ||
24 | FILE: tests/plugin | ||
25 | LDFLAGS: -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] | ||
38 | INPUT: .cpp #take input of *.cpp files | ||
39 | OUTPUT: .o #output .o files | ||
40 | COMMAND: g++ -fPIC -c {INPUT} {CXXFLAGS} -I{DIR} -o {OUTPUT} | ||
41 | CHECK: g++ -M {INPUT} {CXXFLAGS} -I{DIR} | ||
42 | |||
43 | ### Executable command ### | ||
44 | ## Use this command if you want a simple executable | ||
45 | [COMMAND] | ||
46 | NAME: exe | ||
47 | COMMAND: g++ {INPUT} {LDFLAGS} -o {OUTPUT} | ||
48 | |||
49 | ### Library command ### | ||
50 | ## Use this command if you wish to create a library | ||
51 | [COMMAND] | ||
52 | NAME: lib | ||
53 | COMMAND: ar cr{ARFLAGS} {OUTPUT} {INPUT} | ||
54 | |||