root/applications/python/CMakeLists.txt @ 826

Revision 808, 0.6 kB (checked in by smidl, 15 years ago)

python bindings...

Line 
1# Matlab toolbox of functions from BDM
2
3cmake_minimum_required(VERSION 2.6)
4PROJECT(PyBDM)
5
6# Link it to BDM
7SET(BDM_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../library")
8SET(CMAKE_MODULE_PATH "${BDM_SOURCE_DIR}/system")
9
10# Load BDM environment
11INCLUDE(SetBdmEnv)
12Find_Package(Boost REQUIRED)
13Find_Package(PythonLibs REQUIRED)
14
15include_directories (${BDM_SOURCE_DIR}/bdm ${Boost_INCLUDE_DIRS}  ${PYTHON_INCLUDE_DIRS})
16link_directories (${BDM_SOURCE_DIR}/bdm)
17
18add_library(itpp_ext SHARED itpp_ext.cpp)
19TARGET_LINK_LIBRARIES(itpp_ext boost_python-mt itpp)
20
21
22#add_library(sqmat_ext SHARED sqmat_ext.cpp)
23#TARGET_LINK_LIBRARIES(sqmat_ext bdm boost_python-mt itpp)
Note: See TracBrowser for help on using the browser.