1 |
sashby |
1.1.4.1 |
# Top-level BuildFile for my test project.
|
2 |
|
|
#
|
3 |
|
|
# This file is parsed by SCRAM before any other BuildFile.
|
4 |
|
|
# Project-wide defaults can be set here, including locations
|
5 |
|
|
# of build projects and externals that apply to all packages.
|
6 |
|
|
|
7 |
|
|
# Now back to proper BuildFile directives. Define the locations
|
8 |
|
|
# for build products.
|
9 |
|
|
<ProductStore name=lib path=dist/lib type=arch>
|
10 |
|
|
<ProductStore name=bin path=dist/bin type=arch>
|
11 |
|
|
<ProductStore name=include path=dist/include>
|
12 |
|
|
|
13 |
|
|
# Project include paths. Not necessary to add RELEASETOP here as it
|
14 |
|
|
# will be done automatically if needed:
|
15 |
|
|
<architecture name=Linux__2.4>
|
16 |
|
|
<include_path path=$(LOCALTOP)/Linux__2.4/$(SCRAM_SOURCEDIR)>
|
17 |
|
|
#Test!!
|
18 |
|
|
</architecture>
|
19 |
|
|
|
20 |
|
|
#<ClassPath path=+Project/+SubSystem/+Package/src+library>
|
21 |
|
|
<ClassPath path=+Project/+SubSystem/+Package/src+library>
|
22 |
|
|
<ClassPath path=+Project/+SubSystem/+Package/bin+binary>
|
23 |
|
|
<ClassPath path=+Project/+SubSystem/+Package/test+binary>
|
24 |
|
|
|
25 |
|
|
# Default library type to build:
|
26 |
|
|
<libtype type=shared>
|
27 |
|
|
|
28 |
|
|
# Compiler:
|
29 |
|
|
<use name=cxxcompiler>
|
30 |
|
|
# Global tools:
|
31 |
|
|
<use name=boost_python>
|
32 |
|
|
|
33 |
|
|
<flags CXXFLAGS="myCXXFLAGs">
|
34 |
|
|
<makefile>MAKEFILE+=true</makefile>
|
35 |
|
|
<lib name=X>
|
36 |
|
|
<lib name=Y>
|
37 |
|
|
|
38 |
|
|
<include_path path=$(LOCALTOP)/another/$(SCRAM_SOURCEDIR)>
|
39 |
|
|
|
40 |
|
|
############################
|
41 |
|
|
<define_group name=BASE>
|
42 |
|
|
<lib name=X>
|
43 |
|
|
<lib name=Y>
|
44 |
|
|
<include_path path=$(LOCALTOP)/$(SCRAM_SOURCEDIR)>
|
45 |
|
|
</define_group>
|
46 |
|
|
|
47 |
|
|
<flags CXXFLAGS="CXXFLAGSiforgotearlier">
|
48 |
|
|
<group name=BASE>
|
49 |
|
|
|
50 |
|
|
<bin name=MyBIN.exe file=myfile.cpp>
|
51 |
|
|
<group name=BASE>
|
52 |
|
|
<include_path path=".">
|
53 |
|
|
</bin>
|