examples/rips/CMakeLists.txt
author Dmitriy Morozov <dmitriy@mrzv.org>
Mon, 11 May 2009 12:45:49 -0700
branchdev
changeset 134 c270826fd4a8
parent 126 3c3e77ac43d2
child 150 eb629d8f00bf
permissions -rw-r--r--
Added documentation; for now mostly for the Python bindings

set                         (targets                        
                             rips
                             rips-pairwise
                             rips-image-zigzag
                             rips-zigzag)
                             
foreach                     (t ${targets})
    add_executable          (${t} ${t}.cpp)
    target_link_libraries   (${t} ${libraries} ${Boost_PROGRAM_OPTIONS_LIBRARY} ${Boost_SERIALIZATION_LIBRARY})
endforeach                  (t ${targets})

add_custom_target           (rips.py ALL 
                             ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/rips.py ${CMAKE_CURRENT_BINARY_DIR}/rips.py)
add_custom_target           (rips-pairwise.py ALL 
                             ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/rips-pairwise.py ${CMAKE_CURRENT_BINARY_DIR}/rips-pairwise.py)