0
我使用Jamroot中/升壓的bjam構建蟒用於C++代碼結合聯:Jamroot中(升壓的bjam)與共享庫
alias boost_dependencies
: /boost/python//boost_python
/boost/thread//boost_thread
;
# Platform architecture provided as an environment variable
import os ;
local ARCH = [ os.environ ARCH ] ;
# Set up the project-wide requirements that everything uses the
# boost_python library from the project whose global ID is
# /boost/python.
project
: requirements <library>boost_dependencies
<include>../
<include>../../
: requirements
<library-path>../../thirdparty/opencv/lib/
<linkflags>-lm
<linkflags>-lpthread
<linkflags>-lcrypto
<linkflags>-lssl
;
# Declare the three extension modules. You can specify multiple
# source files after the colon separated by spaces.
python-extension test_library : src/Test.cpp
我想與在OpenCV中項目(共享庫相鏈接。 ./../thirdparty/opencv/lib/),比如libopencv_core.dylib,libopencv_video.dylib等。我如何在Jamroot文件中指定庫並安裝它們?