Files
Cnomicon/daemons/gpsd/CMakeLists.txt
2021-01-22 10:16:20 -05:00

27 lines
491 B
CMake

cmake_minimum_required(VERSION 3.7)
set(NAME gpsd)
project(Cnomicon-Daemon)
set(TARGET ${NAME})
set(CMAKE_INSTALL_PREFIX ..)
# includes
include_directories(
/usr/include/libxml2
../include/libgps++
../include/libnet++
../include)
link_directories(../lib)
link_libraries(gps++ net++ net emb kmlbase kmldom kmlengine xml2 pthread rt)
# sources
set(SRCS
GpsDaemon.cpp
)
# executables
add_executable(${TARGET} ${TARGET}.cpp ${SRCS})
install(TARGETS ${TARGET} DESTINATION sbin)