Select Git revision
CMakeLists.txt
Forked from
mlz / Frida
583 commits behind the upstream repository.

Wuttke, Joachim authored
library versions; renamed libfrida -> libfridacore, libtrivia -> libfridatrivia.
CMakeLists.txt 662 B
# frida: readplus/CMakeLists.txt
set(library_name readplus)
set(${library_name}_LIBRARY ${library_name} PARENT_SCOPE)
set(${library_name}_LIBRARY_TYPE SHARED)
include_directories(${Frida_SOURCE_DIR}/readplus READLINE_INCLUDE_DIR ${Boost_INCLUDE_DIRS})
set(src_files
ask.cpp
macro.cpp
readln.cpp
)
set(inc_files
ask.hpp
macro.hpp
readln.hpp
)
add_library(${library_name} SHARED ${src_files})
set_target_properties(${library_name} PROPERTIES OUTPUT_NAME ${library_name})
target_link_libraries(${library_name} ${Readline_LIBRARIES})
install(TARGETS ${library_name} LIBRARY DESTINATION ${destination_lib} COMPONENT Libraries)