radio/corax/CMakeLists.txt

42 lines
912 B
CMake
Raw Normal View History

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