Friclicli is a CLI based client for the decentralised social network Friendica.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

36 lines
635 B

cmake_minimum_required (VERSION 3.0)
project (friclicli)
set (friclicli_VERSION_MAJOR "0")
set (friclicli_VERSION_MINOR "0.1")
add_executable (
friclicli
#$<TARGET_OBJECTS:libfriclient>
$<TARGET_OBJECTS:gui>
friclicli.c
friclicli_user_config.c
)
configure_file (
"${PROJECT_SOURCE_DIR}/friclicli_compile_config.h.in"
"${PROJECT_BINARY_DIR}/friclicli_compile_config.h"
)
add_subdirectory (libfriclient)
add_subdirectory (gui)
include_directories (
"${PROJECT_BINARY_DIR}"
"${PROJECT_SOURCE_DIR}/libfriclient"
"${PROJECT_SOURCE_DIR}/gui"
)
target_link_libraries(
friclicli
ncursesw
friclient
)