2014-03-02 00:34:02 -05:00
|
|
|
find_package(READLINE)
|
|
|
|
if (READLINE_FOUND)
|
|
|
|
include_directories(${READLINE_INCLUDE_DIRS})
|
|
|
|
add_definitions(${READLINE_DEFINITIONS} -DPIC_ENABLE_READLINE=1)
|
|
|
|
endif()
|
|
|
|
|
2014-03-01 11:52:41 -05:00
|
|
|
add_executable(repl tools/main.c)
|
|
|
|
set_target_properties(repl PROPERTIES OUTPUT_NAME picrin)
|
2014-03-02 00:34:02 -05:00
|
|
|
target_link_libraries(repl picrin ${READLINE_LIBRARIES})
|