hikyuu2/Jamroot.linux

52 lines
1.7 KiB
Plaintext
Raw Normal View History

2015-01-07 01:26:14 +08:00
# 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
2017-06-17 16:59:15 +08:00
using gcc ;
#using clang ;
2015-01-07 01:26:14 +08:00
#using msvc : : : <compileflags>/wd4819 ;
#using msvc ;
# Python configuration
#using python : 2.6 : /usr ;
2017-07-18 02:17:20 +08:00
using python : 3.5 : : /usr/include/python3.5 ;
2015-01-07 01:26:14 +08:00
# Specify the path to the Boost project. If you move this project,
# adjust this path to refer to the Boost root directory.
2017-06-17 16:59:15 +08:00
import os ;
path-constant BOOST_ROOT : [ os.environ BOOST_ROOT ] ;
use-project boost : $(BOOST_ROOT) ;
2015-01-07 01:26:14 +08:00
<><D6B8>boostͷ<74>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>Ŀ¼<C4BF><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD><EFBFBD><EFBFBD>޸<EFBFBD>
2017-06-17 16:59:15 +08:00
BOOST_INCLUDE_DIR = $(BOOST_ROOT) ;
2015-01-07 01:26:14 +08:00
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ¼<C4BF><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>޸<EFBFBD>
2017-06-17 16:59:15 +08:00
HKU_DIR = . ;
2015-01-07 01:26:14 +08:00
#<23>ñ<EFBFBD><C3B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD>޸<EFBFBD>
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
2017-07-18 02:17:20 +08:00
<toolset>gcc:<cxxflags>-std=c++11
<toolset>clang:<cxxflags>-std=c++11
2015-01-07 01:26:14 +08:00
<toolset>gcc:<linkflags>-s
2017-07-18 02:17:20 +08:00
<toolset>gcc:<linkflags>-Wl,-rpath,./
2015-01-07 01:26:14 +08:00
<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 ;
2017-06-18 03:25:52 +08:00
#build-project test ;
2015-01-07 01:26:14 +08:00
build-project tools/importdata ;