diff --git a/pub/CMakeLists.txt b/pub/CMakeLists.txt index 9c414d762060cd0912646b64fb7c7fea7bcf5f37..a83f37fc2be097fd5c5a07a2011e94e3fd95bb1f 100644 --- a/pub/CMakeLists.txt +++ b/pub/CMakeLists.txt @@ -49,6 +49,7 @@ include(FindReadline) #include(FridaMacros) #--- Recurse into the given subdirectories --- +add_subdirectory(readplus/test) add_subdirectory(readplus) add_subdirectory(trivia) add_subdirectory(lib) diff --git a/pub/readplus/test/CMakeLists.txt b/pub/readplus/test/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..60632441257ea53040a8e2026fa25ef02a54a614 --- /dev/null +++ b/pub/readplus/test/CMakeLists.txt @@ -0,0 +1,7 @@ +include_directories(READLINE_INCLUDE_DIR) + +add_executable(run_readline run_readline.cpp) + +target_link_libraries(run_readline ${READLINE_LIBRARIES}) + +install(TARGETS run_readline DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)