radio/perturabo/CMakeLists.txt

32 lines
704 B
CMake
Raw Normal View History

2018-08-04 21:46:25 +00:00
cmake_minimum_required(VERSION 2.8.12)
project(perturabo)
find_package(Qt5Core REQUIRED)
find_package(Qt5Network REQUIRED)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(HEADERS
perturabo.h
)
set(SOURCES
main.cpp
perturabo.cpp
)
add_executable(perturabo ${HEADERS} ${SOURCES})
target_link_libraries(perturabo Qt5::Core)
target_link_libraries(perturabo Qt5::Network)
target_link_libraries(perturabo wSocket)
target_link_libraries(perturabo wDispatcher)
target_link_libraries(perturabo utils)
target_link_libraries(perturabo wModel)
target_link_libraries(perturabo wDatabase)
2018-08-04 21:52:16 +00:00
target_link_libraries(perturabo wServerUtils)
2018-08-04 21:46:25 +00:00
install(TARGETS perturabo RUNTIME DESTINATION bin)