blob: da6de9553f7187fcf8237430a9f8e50e5afd98a4 (
plain)
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
|
import package ;
import testing ;
alias glibmm : : : :
<cflags>"`pkg-config --cflags glibmm-2.4`"
<linkflags>"`pkg-config --libs glibmm-2.4`"
;
cpp-pch pch : pch.hpp :
<library>glibmm
;
lib jsonpp :
pch [ glob *.cpp : test*.cpp ]
:
<include>.
<library>glibmm
: :
<include>.
;
cpp-pch testpch : testpch.hpp :
<library>glibmm
<library>jsonpp
;
unit-test test1 :
testpch
test1.cpp
:
<library>jsonpp
;
package.install install : <install-source-root>. : : jsonpp : [ glob *.h ] ;
|