radio/lib/wModel/CMakeLists.txt

42 lines
747 B
CMake
Raw Normal View History

2018-08-04 21:46:25 +00:00
cmake_minimum_required(VERSION 2.8.12)
project(model)
find_package(Qt5Core REQUIRED)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(HEADERS
model.h
modelstring.h
list.h
vocabulary.h
attributes.h
icatalogue.h
catalogue.h
2018-08-04 21:52:16 +00:00
button.h
2018-08-04 21:46:25 +00:00
file/file.h
2018-12-17 17:15:58 +00:00
file/audio.h
2018-08-04 21:46:25 +00:00
)
set(SOURCES
model.cpp
modelstring.cpp
list.cpp
vocabulary.cpp
attributes.cpp
icatalogue.cpp
catalogue.cpp
2018-08-04 21:52:16 +00:00
button.cpp
2018-08-04 21:46:25 +00:00
file/file.cpp
2018-12-17 17:15:58 +00:00
file/audio.cpp
2018-08-04 21:46:25 +00:00
)
add_library(wModel STATIC ${HEADERS} ${SOURCES})
target_link_libraries(wModel Qt5::Core)
2018-08-04 21:52:16 +00:00
target_link_libraries(wModel wServerUtils)
2018-08-04 21:46:25 +00:00
target_link_libraries(wModel wType)
2018-08-04 21:52:16 +00:00
target_link_libraries(wModel wController)
2018-12-17 17:15:58 +00:00
target_link_libraries(wModel mad)