radio/lib/wModel/CMakeLists.txt

39 lines
677 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
)
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
)
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)