add_library(rline readline.cpp) add_library(debugger debugger.cpp) target_link_libraries(rline readline) target_link_libraries(debugger rline)