-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJamfile
82 lines (60 loc) · 2.5 KB
/
Jamfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Top, project level jamfile for Message Redirector project
TOP ?= "." ;
BUILDTOP ?= "." ;
SubDir TOP ;
# Common include directories.
IncludeDir ;
IncludeDir "include" ;
# project includes
IncludeDir src ;
IncludeDir src message ;
IncludeDir src xml ;
IncludeDir tests ;
IncludeDir tests xml ;
# These library includes need to be setup for your own system
# I use a 'all projects are siblings' layout so this works.
# Sadly I haven't been able to work out how to convert the
# variables used in the build config to the paths...
# other library includes
IncludeDir $(TOP) .. cal3d src ;
IncludeDir $(TOP) .. cal3d include ;
IncludeDir $(TOP) .. crystalspace include ;
IncludeDir $(GTEST.INCLUDE_DIR) ;
# PlaneShift include directories
IncludeDir $(TOP) .. planeshift include ;
IncludeDir $(TOP) .. planeshift src client ;
IncludeDir $(TOP) .. planeshift src common ;
IncludeDir $(TOP) .. planeshift src eedit ;
IncludeDir $(TOP) .. planeshift src npcclient ;
IncludeDir $(TOP) .. planeshift src pslaunch ;
IncludeDir $(TOP) .. planeshift src server ;
IncludeDir $(TOP) .. planeshift src tools ;
IncludeDir $(TOP) .. planeshift src worldeditor ;
IncludeDir $(TOP) .. planeshift src plugins ;
#IncludeDir $(BUILDTOP) : : literal transient ;
# Define the 'clean' and 'distclean' targets
# Delete the following dir and subdirs on running 'jam clean'.
CleanDir clean :
out ;
# Delete the following files on running 'jam distclean'.
Clean distclean :
# Delete the following dir and subdirs on running 'jam distclean'.
CleanDir distclean :
autom4te.cache ;
# Invokes 'jam clean' on running 'jam distclean'.
Depends distclean : clean ;
# Descriptions for 'jam help'.
#Help text for distclean
Help distclean : "Remove built targets and configuration" ;
# Help text for psailib
Help psailib : "Builds the PSAI library. This can then be used to compile the PlaneShift client with the PSAI additions"
# Help text for tests
Help tests : "Builds the PSAI tests, I mean what else did you expect?"
# Write a description of each compile group for 'jam help'
Description psailib : "Builds the PSAI libraries" ;
# Register the compile groups. To add a project to a compile group, add the line CompileGroups project : compilegroup ; in the projects Jamfile.
RegisterCompileGroups psailib tests ;
# List the first layer of subdirectories containing the jamfiles for the projects you wish to compile. This is order sensitive.
# Library targets must be seen by Jam before Application and Plugin targets.
SubInclude TOP src ;
SubInclude TOP tests ;