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
|
|
|
|
|
#using gcc ;
|
|
|
|
|
using msvc : 10.0 : : <compileflags>/wd4819 ;
|
|
|
|
|
|
|
|
|
|
# Python configuration
|
|
|
|
|
#using python : 2.6 : /usr ;
|
2017-05-15 01:38:18 +08:00
|
|
|
|
using python : 3.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-08 02:43:32 +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
|
|
|
|
|
2017-06-08 02:43:32 +08:00
|
|
|
|
#ָ<><D6B8>boostͷ<74>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>Ŀ¼
|
|
|
|
|
BOOST_INCLUDE_DIR = $(BOOST_ROOT) ;
|
2015-01-07 01:26:14 +08:00
|
|
|
|
|
2017-05-15 01:38:18 +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 ;
|
|
|
|
|
use-project /sqlite3 : $(HKU_DIR)/extern-libs/sqlite3 ;
|
|
|
|
|
|
|
|
|
|
# project : default-build release ;
|
|
|
|
|
project : default-build release
|
|
|
|
|
: requirements <include>$(BOOST_INCLUDE_DIR)
|
|
|
|
|
<include>$(HKU_INCLUDE_DIR)
|
|
|
|
|
# <toolset>gcc:<cxxflags>-std=c++0x
|
|
|
|
|
# <toolset>gcc:<define>FSD_CPP_0X_SUPPORT
|
|
|
|
|
<toolset>gcc:<linkflags>-s
|
2017-05-15 01:38:18 +08:00
|
|
|
|
<toolset>msvc:<cxxflags>-GS-
|
|
|
|
|
#<toolset>msvc:<address-model>64
|
2015-01-07 01:26:14 +08:00
|
|
|
|
<toolset>msvc:<define>BOOST_ALL_DYN_LINK
|
|
|
|
|
<toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
|
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
build-project libs/hikyuu_utils ;
|
|
|
|
|
build-project libs/hikyuu ;
|
|
|
|
|
build-project libs/hikyuu_python ;
|
|
|
|
|
#build-project test ;
|
2017-05-15 01:38:18 +08:00
|
|
|
|
build-project tools/importdata ;
|