summaryrefslogtreecommitdiff
path: root/Jamroot.jam
blob: c838f50513e476fa8f19a477a411f7a5b4d515e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import os ;
import slice ;

using gcc : : [ os.environ CXX ] ;

variant component ;
variant coverage : debug ;

project
  : requirements
      <variant>release:<cflags>"-std=c++1y"
      <variant>release:<linkflags>"-Wl,-z,defs,--warn-once"
      <variant>debug:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y"
      <variant>debug:<linkflags>"-Wl,-z,defs,--warn-once"
      <variant>coverage:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y --coverage"
      <variant>coverage:<linkflags>"-Wl,-z,defs,--warn-once --coverage"
      <variant>component:<cflags>"-W -Wall -Werror -Wwrite-strings -std=c++1y -fPIC"
			<variant>component:<linkflags>"-Wl,-z,lazy,--warn-once,-fPIC"
	;


alias all : project2 netfs libjsonpp libadhocutil p2pvr libtmdb slicer ;