10 lines
343 B
CMake
Executable file
10 lines
343 B
CMake
Executable file
cmake_minimum_required(VERSION 2.4)
|
|
project(cliclient)
|
|
|
|
add_executable(cliclient cliclient.c)
|
|
|
|
target_link_libraries( cliclient /home/philipp/BA/Programming/CliClient/libgattlib.so )
|
|
set_target_properties( cliclient PROPERTIES COMPILE_FLAGS -m64 LINK_FLAGS -m64)
|
|
add_definitions("-s -Wall")
|
|
|
|
install(TARGETS cliclient RUNTIME DESTINATION bin)
|