CLI discover Subcommand

This commit is contained in:
Florian Märkl 2019-08-11 19:36:45 +02:00
commit c7e4fd778b
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
4 changed files with 146 additions and 5 deletions

View file

@ -1,5 +1,11 @@
set(SOURCE
src/main.c)
include/chiaki-cli.h
src/discover.c)
add_executable(chiaki_cli ${SOURCE})
add_library(chiaki-cli-lib STATIC ${SOURCE})
target_include_directories(chiaki-cli-lib PUBLIC "include")
target_link_libraries(chiaki-cli-lib chiaki-lib)
add_executable(chiaki-cli src/main.c)
target_link_libraries(chiaki-cli chiaki-cli-lib)