forked from fasiondog/hikyuu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJamroot.linux
More file actions
51 lines (42 loc) · 1.68 KB
/
Copy pathJamroot.linux
File metadata and controls
51 lines (42 loc) · 1.68 KB
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
# Copyright David Abrahams 2006. Distributed under the Boost
# Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
# MSVC configuration
using gcc ;
#using clang ;
#using msvc : : : <compileflags>/wd4819 ;
#using msvc ;
# Python configuration
#using python : 2.6 : /usr ;
using python : 3.5 : : /usr/include/python3.5 ;
# Specify the path to the Boost project. If you move this project,
# adjust this path to refer to the Boost root directory.
import os ;
path-constant BOOST_ROOT : [ os.environ BOOST_ROOT ] ;
use-project boost : $(BOOST_ROOT) ;
#指定boost头文件所在目录,根据需要进行修改
BOOST_INCLUDE_DIR = $(BOOST_ROOT) ;
#工程所在目录,根据需要修改
HKU_DIR = . ;
#该变量不需要修改
HKU_INCLUDE_DIR = $(HKU_DIR)/libs ;
use-project /hikyuu : $(HKU_DIR)/libs/hikyuu ;
use-project /hikyuu_utils : $(HKU_DIR)/libs/hikyuu_utils ;
# project : default-build release ;
project : default-build release
: requirements <include>$(BOOST_INCLUDE_DIR)
<include>$(HKU_INCLUDE_DIR)
<toolset>gcc:<cxxflags>-ftemplate-depth-300
<toolset>gcc:<cxxflags>-std=c++11
<toolset>clang:<cxxflags>-std=c++11
<toolset>gcc:<linkflags>-s
<toolset>gcc:<linkflags>-Wl,-rpath,./
<toolset>gcc:<define>BOOST_ALL_DYN_LINK
<toolset>msvc:<address-model>64
<toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
;
build-project libs/hikyuu_utils ;
build-project libs/hikyuu ;
build-project libs/hikyuu_python ;
#build-project test ;
build-project tools/importdata ;