# 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 clang ; #using msvc : : : /wd4819 ; #using msvc ; # Python configuration #using python : 2.6 : /usr ; using python : 2.7 ; # Specify the path to the Boost project. If you move this project, # adjust this path to refer to the Boost root directory. import os ; path-constant BOOST_ROOT : [ os.environ BOOST_ROOT ] ; use-project boost : $(BOOST_ROOT) ; #指定boost头文件所在目录,根据需要进行修改 BOOST_INCLUDE_DIR = $(BOOST_ROOT) ; #工程所在目录,根据需要修改 HKU_DIR = . ; #该变量不需要修改 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 $(BOOST_INCLUDE_DIR) $(HKU_INCLUDE_DIR) gcc:-ftemplate-depth-300 gcc:-std=c++11 clang:-std=c++11 gcc:-s gcc:-Wl,-rpath,./:../ gcc:BOOST_ALL_DYN_LINK msvc:64 msvc:_CRT_SECURE_NO_DEPRECATE ; build-project libs/hikyuu_utils ; build-project libs/hikyuu ; build-project libs/hikyuu_python ; #build-project test ; build-project tools/importdata ;