1 qt_policy(SET QTP0001 NEW)
5 AppManager.cpp Show.cpp Shows.cpp
7 list(TRANSFORM SRC_FILES PREPEND ${SRC_PREFIX})
9 # needed due to separate folders
10 set(HDR_PREFIX include/)
12 AppManager.h Show.h Shows.h
14 list(TRANSFORM HDR_FILES PREPEND ${HDR_PREFIX})
16 # can't link to shared
17 # qt_add_plugin(tlbcore STATIC
18 # qt_add_library(tlbcore STATIC
19 # ${HDR_FILES} ${SRC_FILES}
21 qt_add_qml_module(tlbcore
25 SOURCES ${HDR_FILES} ${SRC_FILES}
28 target_include_directories(tlbcore
31 target_compile_definitions(tlbcore
32 PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>)
33 target_link_libraries(tlbcore
34 PRIVATE Qt6::Quick Qt6::Sensors Qt6::Svg Qt6::Xml)