-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jamroot
97 lines (80 loc) · 2.89 KB
/
Jamroot
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#
# Jamroot
#
# Copyright 2012 Darren Kessner
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import testing ; # for unit-test rule
project simrecomb
: requirements
<toolset>gcc:<cxxflags>-Wno-parentheses
: default-build
<link>static
#<runtime-link>static
<warnings-as-errors>on
<warnings>all
#<variant>profile
<variant>release
#<variant>debug
#<threading>multi
;
lib boost_system ;
lib boost_filesystem ;
lib libsimrecomb :
Chromosome.cpp
DataVector.cpp
Genotyper.cpp
MSFormat.cpp
Organism.cpp
Population.cpp
RecombinationMap.cpp
Random.cpp
Simulator.cpp
SimulationController_NeutralAdmixture.cpp
SimulationController_SingleLocusSelection.cpp
boost_filesystem
boost_system
;
unit-test ChromosomeTest : ChromosomeTest.cpp libsimrecomb ;
unit-test GenotyperTest : GenotyperTest.cpp libsimrecomb ;
unit-test DataVectorTest : DataVectorTest.cpp libsimrecomb ;
unit-test OrganismTest : OrganismTest.cpp libsimrecomb ;
unit-test PopulationTest : PopulationTest.cpp libsimrecomb ;
unit-test RandomTest : RandomTest.cpp libsimrecomb ;
unit-test RecombinationMapTest : RecombinationMapTest.cpp libsimrecomb ;
unit-test SimulatorTest : SimulatorTest.cpp libsimrecomb ;
unit-test SimulationController_NeutralAdmixture_Test : SimulationController_NeutralAdmixture_Test.cpp libsimrecomb ;
unit-test SimulationController_SingleLocusSelection_Test : SimulationController_SingleLocusSelection_Test.cpp libsimrecomb ;
run MSFormatTest.cpp libsimrecomb
: # args
: MSFormatTest.data/ms_format_1.txt MSFormatTest.data/ms_format_2.txt # input-files
: # requirements
: MSFormatTest # target name
: # default-build
;
exe simrecomb : simrecomb.cpp libsimrecomb ;
exe simrecomb_aux : simrecomb_aux.cpp libsimrecomb ;
exe subsample_population : subsample_population.cpp libsimrecomb ;
exe recombine_data : recombine_data.cpp libsimrecomb ;
#exe analyze_population : analyze_population.cpp libsimrecomb boost_system boost_filesystem ;
#exe john_question : john_question.cpp libsimrecomb boost_system boost_filesystem ;
#exe test_splice : test_splice.cpp ;
#exe test_map : test_map.cpp libsimrecomb ;
install bin
: simrecomb simrecomb_aux subsample_population recombine_data
: <location>bin
<install-dependencies>on
<install-type>EXE
<install-type>LIB
;