mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-04 21:07:57 +08:00
47 lines
2.0 KiB
Plaintext
47 lines
2.0 KiB
Plaintext
# 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)
|
|
|
|
import python ;
|
|
|
|
if ! [ python.configured ]
|
|
{
|
|
ECHO "notice: no Python configured in user-config.jam" ;
|
|
ECHO "notice: will use default configuration" ;
|
|
using python ;
|
|
}
|
|
|
|
# Specify the path to the Boost project. If you move this project,
|
|
# adjust this path to refer to the Boost root directory.
|
|
#use-project boost
|
|
# : /home/fasiondog/src/boost_1_43_0 ;
|
|
|
|
project : build-dir ../../build/hikyuu_python ;
|
|
|
|
project : requirements <library>/boost/python//boost_python
|
|
<library>/hikyuu//hikyuu
|
|
<library>/boost//thread
|
|
<library>/boost//date_time
|
|
<library>/boost//serialization
|
|
<toolset>msvc:<include>../../extern-libs//hdf5/include
|
|
<toolset>msvc:<include>../../extern-libs//log4cplus/include
|
|
<toolset>msvc:<define>__WIN32__
|
|
#<toolset>msvc:<define>BOOST_SERIALIZATION_DYN_LINK
|
|
#<toolset>msvc:<define>BOOST_ALL_DYN_LINK
|
|
<toolset>msvc:<define>HKU_API="__declspec(dllimport)"
|
|
<toolset>msvc:<define>HKU_EXT_API="__declspec(dllimport)"
|
|
<toolset>gcc:<define>HKU_EXT_API=""
|
|
<toolset>clang:<define>HKU_EXT_API=""
|
|
;
|
|
|
|
# Declare the three extension modules. You can specify multiple
|
|
# source files after the colon separated by spaces.
|
|
python-extension _hikyuu : [ glob *.cpp ]
|
|
../../extern-libs/log4cplus/dll/log4cplus.lib
|
|
;
|
|
python-extension indicator/_indicator : [ glob indicator/*.cpp ] ;
|
|
python-extension trade_manage/_trade_manage : [ glob trade_manage/*.cpp ] ;
|
|
python-extension trade_sys/_trade_sys : [ glob trade_sys/*.cpp ] ;
|
|
python-extension trade_instance/_trade_instance : [ glob trade_instance/*.cpp ] ;
|
|
|