From 40103206a1f9dabcd06553543b7bdf464035dcc8 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Sat, 17 Sep 2016 04:33:14 +0000 Subject: cmake install target --- chill/CMakeLists.txt | 3 +++ omegalib/omega_calc/CMakeLists.txt | 3 +++ 2 files changed, 6 insertions(+) diff --git a/chill/CMakeLists.txt b/chill/CMakeLists.txt index e50b411..88f6ec0 100644 --- a/chill/CMakeLists.txt +++ b/chill/CMakeLists.txt @@ -57,3 +57,6 @@ include_directories( add_executable(chill ${CORE_SRC} ${PYTHON_SRC} ${IR_CHILL_SRC}) target_link_libraries(chill ${CORE_LIBS} ${PYTHON_LIBRARY}) add_dependencies(chill omega codegen) + +install(TARGETS chill + RUNTIME DESTINATION bin) diff --git a/omegalib/omega_calc/CMakeLists.txt b/omegalib/omega_calc/CMakeLists.txt index 67f25b8..cc40c3e 100644 --- a/omegalib/omega_calc/CMakeLists.txt +++ b/omegalib/omega_calc/CMakeLists.txt @@ -27,3 +27,6 @@ add_executable(omega_calc add_dependencies(omega_calc omega codegen) target_link_libraries(omega_calc omega codegen) + +install(TARGETS omega_calc + RUNTIME DESTINATION bin) -- cgit v1.2.3-70-g09d2