hikyuu2/libs/hikyuu/Jamfile

75 lines
3.4 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/mysql/include
<toolset>msvc:<include>../../extern-libs/hdf5/include
2016-04-03 00:08:31 +08:00
<toolset>msvc:<include>../../extern-libs/log4cplus/include
<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-06-17 16:59:15 +08:00
../../hikyuu_extern_libs/linux64/libhdf5_serial.so
../../hikyuu_extern_libs/linux64/libhdf5_serial_hl.so
../../hikyuu_extern_libs/linux64/libhdf5_cpp.so
../../hikyuu_extern_libs/linux64/libhdf5_hl_cpp.so
../../hikyuu_extern_libs/linux64/liblog4cplus.so
../../hikyuu_extern_libs/linux64/libmysqlclient.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-06-18 03:25:52 +08:00
../../hikyuu_extern_libs/linux64/libhdf5_serial.so
../../hikyuu_extern_libs/linux64/libhdf5_serial_hl.so
../../hikyuu_extern_libs/linux64/libhdf5_cpp.so
../../hikyuu_extern_libs/linux64/libhdf5_hl_cpp.so
../../hikyuu_extern_libs/linux64/liblog4cplus.so
../../hikyuu_extern_libs/linux64/libmysqlclient.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
../../extern-libs/mysql/lib/libmysql.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
../../extern-libs/mysql/lib/libmysql.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
;