bindings/python/CMakeLists.txt
author Dmitriy Morozov <dmitriy@mrzv.org>
Fri, 10 Apr 2009 14:35:43 -0700
branchdev
changeset 123 c50e7020a1e4
parent 113 3e8bebb5d857
child 126 3c3e77ac43d2
permissions -rw-r--r--
Added intrusive containers issue and issue filters

find_package                (PythonLibs)
link_libraries              (${PYTHON_LIBRARIES})
include_directories         (${PYTHON_INCLUDE_PATH})
link_libraries              (${Boost_PYTHON_LIBRARY})

# currently can't build bindings with counters support, eventually FIXME
remove_definitions          (-DCOUNTERS)
add_library                 (_dionysus SHARED 
                                                dionysus.cpp 
                                                filtration.cpp
                                                chain.cpp
                                                static-persistence.cpp
                                                simplex.cpp
                                                zigzag-persistence.cpp
                            )

target_link_libraries       (_dionysus ${libraries})