diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index da5ebf2..7a01b38 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -52,6 +52,12 @@ add_executable(psyc src/util.hpp ) +add_custom_target(psyc_install + COMMAND ${CMAKE_COMMAND} -E copy "$" "${CMAKE_INSTALL_PREFIX}/bin/$" + DEPENDS psyc + COMMENT "Installing psyc to ${CMAKE_INSTALL_PREFIX}" + ) + target_include_directories(psyc PRIVATE ${LLVM_INCLUDE_DIRS}) target_compile_definitions(psyc PRIVATE ${llvm_definitions_list}) target_link_libraries(psyc PRIVATE ${llvm_dependent_libs}) \ No newline at end of file