Merge pull request #66 from arthurzam/master

Add install rules to CMake build
This commit is contained in:
Michael Hansen
2015-10-26 20:10:51 -07:00

View File

@@ -51,9 +51,15 @@ add_library(pycxx STATIC ${COMMON_SOURCES})
add_executable(pycdas pycdas.cpp)
target_link_libraries(pycdas pycxx)
install(TARGETS pycdas
RUNTIME DESTINATION bin)
add_executable(pycdc pycdc.cpp ${pycdc_AST_SOURCES})
target_link_libraries(pycdc pycxx)
install(TARGETS pycdc
RUNTIME DESTINATION bin)
# For tests
add_custom_target(test ${CMAKE_CURRENT_SOURCE_DIR}/pycdc_test.sh
${CMAKE_CURRENT_SOURCE_DIR}/tests)