root/applications/python/CMakeLists.txt @ 1256

Revision 1152, 0.6 kB (checked in by smidl, 14 years ago)

test for itpp way

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.cpp)
19TARGET_LINK_LIBRARIES(itpp_ext boost_python itpp)
20
21
22add_library(sqmat_ext SHARED sqmat_ext.cpp)
23TARGET_LINK_LIBRARIES(sqmat_ext bdm boost_python itpp ${lapack_libs})
Note: See TracBrowser for help on using the browser.