cmvr-es/cmvr-es/applications/CMakeLists.txt

26 lines
575 B
CMake

add_library(applications
src/touch_screen_app.cpp
)
target_include_directories(applications PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(applications PUBLIC
cmvr_es::controller
)
add_library(cmvr_es::applications ALIAS applications)
install(TARGETS applications LIBRARY DESTINATION lib)
add_executable(touch_screen_app_test
src/touch_screen_app_test.cpp
)
target_link_libraries(touch_screen_app_test PRIVATE
cmvr_es::applications
cmvr_es::device_manager
gtest
gtest_main
pthread
glog
)