root/trunk/stbuild.conf

Revision 208, 1.3 kB (checked in by Abscissa, 1 year ago)

(NB) stbuild: Minor wording change.

  • Property svn:eol-style set to native
Line 
1 # Dogfood... STBuild conf to build SemiTwist D Tools targets
2 # Expansions:
3 #   $(TARGET): Target
4 #   $(MODE):   Mode (ie, "debug" or "release")
5 #   $(OS):     OS Name
6 #   $():       Nothing at the moment
7 # NOTE: If you change this file, you'll need to
8 #       clean all ("stbuild all all -clean") before compiling again.
9
10 target stbuild, _
11        echo, seterrorlevel, showargs, ini2urlencode, pwd, _
12        cmdSample, _
13        cmdparsertest, deferAssertTest, unittests _
14
15 # -- Where to find main(): --
16 # STManage
17 [stbuild : all]
18 flags $()src/semitwist/apps/stmanage/$(TARGET)/main.d
19 # MiniApps
20 [echo, seterrorlevel, showargs, ini2urlencode, pwd : all]
21 flags $()src/semitwist/apps/miniapps/$(TARGET)/main.d
22 # Samples
23 [cmdSample:all]
24 flags $()src/semitwist/apps/samples/$(TARGET)/main.d
25 # Tests
26 [cmdparsertest, deferAssertTest, unittests : all]
27 flags $()src/semitwist/apps/tests/$(TARGET)/main.d
28
29 # -- xfBuild "reverse module order" fix: --
30 [cmdSample, stbuild : all]
31 flags +rmo
32
33 # -- unittests --
34 [unittests : all]
35 flags -debug=SemiTwistDLib_unittest
36 [deferAssertTest : all]
37 flags -debug=deferAssertTest_unittest
38
39 # -- Common --
40 [all:all]
41 flags -Isrc
42
43 # -- Debug --
44 [all:debug]
45 flags -ofbin/semitwist-$(TARGET)-$(MODE) _
46       -debug -g -C-unittest _
47       -C-wi
48
49 # -- Release --
50 [all:release]
51 flags -ofbin/semitwist-$(TARGET) _
52       -release -C-O _
53       -C-wi
54      
Note: See TracBrowser for help on using the browser.