hikyuu2/libs/hikyuu/Jamfile

71 lines
3.1 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)
#指定默认编译版本否则每次都要在bjam后带release参数暂时屏蔽
# project : default-build release
project : build-dir ../../build/hikyuu
: usage-requirements <include>.
;
project : requirements <library>/boost//date_time
<library>/boost//thread
<library>/boost//filesystem
<library>/boost//serialization
<library>/hikyuu_utils//hikyuu_utils
<toolset>msvc:<library>/sqlite3//sqlite3
<toolset>msvc:<include>../../extern-libs/hdf5/include
2016-04-03 00:08:31 +08:00
<toolset>msvc:<include>../../extern-libs/log4cplus/include
2018-01-24 00:38:02 +08:00
<toolset>gcc:<linkflags>-Wl,-rpath,./
2016-04-03 00:08:31 +08:00
<define>PY_VERSION_HEX=0x03000000
2015-01-07 01:26:14 +08:00
;
lib hikyuu : [ glob-tree *.cpp ]
/usr/lib/x86_64-linux-gnu/libsqlite3.so
/usr/lib/x86_64-linux-gnu/libpthread.so
2017-07-17 03:03:52 +08:00
/usr/lib/x86_64-linux-gnu/libhdf5_serial.so
/usr/lib/x86_64-linux-gnu/libhdf5_serial_hl.so
/usr/lib/x86_64-linux-gnu/libhdf5_cpp.so
/usr/lib/x86_64-linux-gnu/libhdf5_hl_cpp.so
/usr/local/lib/liblog4cplus.so
2015-01-07 01:26:14 +08:00
: <toolset>gcc
;
lib hikyuu : [ glob-tree *.cpp ]
/usr/lib/x86_64-linux-gnu/libsqlite3.so
/usr/lib/x86_64-linux-gnu/libpthread.so
2017-07-18 02:17:20 +08:00
/usr/lib/x86_64-linux-gnu/libhdf5_serial.so
/usr/lib/x86_64-linux-gnu/libhdf5_serial_hl.so
/usr/lib/x86_64-linux-gnu/libhdf5_cpp.so
/usr/lib/x86_64-linux-gnu/libhdf5_hl_cpp.so
/usr/local/lib/liblog4cplus.so
2015-01-07 01:26:14 +08:00
: <toolset>clang
;
lib hikyuu : [ glob-tree *.cpp ]
../../extern-libs/hdf5/dll/hdf5dll.lib
../../extern-libs/hdf5/dll/hdf5_hldll.lib
../../extern-libs/hdf5/dll/hdf5_cppdll.lib
../../extern-libs/hdf5/dll/hdf5_hl_cppdll.lib
../../extern-libs/log4cplus/dll/log4cplus.lib
: <toolset>msvc
<link>shared
<define>SQLITE_API="__declspec(dllimport)"
# <define>__HDF5USEDLL_
# <define>_HDF5USEHLDLL_
# <define>HDF5USE_HLCPPDLL
# <define>HDF5CPP_USEDLL
<define>HKU_API="__declspec(dllexport)"
;
lib hikyuu : [ glob-tree *.cpp ]
2016-04-04 00:36:35 +08:00
../../extern-libs/hdf5/dll/hdf5dll.lib
../../extern-libs/hdf5/dll/hdf5_hldll.lib
../../extern-libs/hdf5/dll/hdf5_cppdll.lib
../../extern-libs/hdf5/dll/hdf5_hl_cppdll.lib
../../extern-libs/log4cplus/dll/log4cplus.lib
2015-01-07 01:26:14 +08:00
: <toolset>msvc
<link>static
2016-04-04 00:36:35 +08:00
<define>BOOST_SYSTEM_STATIC_LINK
2015-01-07 01:26:14 +08:00
;