tools/diagram-viewer/CMakeLists.txt
author Aravindakshan Babu <akshan@stanford.edu>
Fri, 02 Jul 2010 04:19:29 -0700
branchdev
changeset 215 e94d521b72bb
parent 99 6c0da7931e4d
permissions -rw-r--r--
Added code to expose the persistence_diagram class, the bottleneck_distance function and the point class to python. Most of the commonly used methods for each class have been exported. The constructor for point now requires that a data argument be provided along with x and y coord. This needs to be made optional. The constructor for persistence_diagram could possibly be rewritten as well.

set                         (diagram-viewerSources
                             diagram.cpp 
                             diagram-viewer-main.cpp)

set                         (diagram-viewerHeaders
                             diagram.h)

qt4_wrap_cpp                (diagram-viewerMocSources       ${diagram-viewerHeaders})

set                         (libraries                      ${libraries} 
                                                            ${Boost_SERIALIZATION_LIBRARY}
                                                            ${Boost_PROGRAM_OPTIONS_LIBRARY}
                                                            ${QT_LIBRARIES})

add_executable              (diagram-viewer                 ${diagram-viewerSources} 
                                                            ${diagram-viewerMocSources})

target_link_libraries       (diagram-viewer                 ${libraries})