31 lines
558 B
CMake
31 lines
558 B
CMake
add_executable(${PROJECT_NAME} MACOSX_BUNDLE)
|
|
|
|
find_library(FOUNDATION_FRAMEWORK Foundation)
|
|
find_library(IO_KIT_FRAMEWORK IOKit)
|
|
|
|
target_link_libraries(
|
|
${PROJECT_NAME}
|
|
Qt5::Core
|
|
Qt5::Gui
|
|
Qt5::Widgets
|
|
Qt5::Quick
|
|
Qt5::Qml
|
|
Qt5::Quick
|
|
Qt5::QuickControls2
|
|
Qt5::QuickTemplates2
|
|
Qt5::Multimedia
|
|
Qt5::Concurrent
|
|
${FOUNDATION_FRAMEWORK}
|
|
${IO_KIT_FRAMEWORK}
|
|
Status.Services
|
|
)
|
|
|
|
file(GLOB_RECURSE SOURCES
|
|
"*.h"
|
|
"*.cpp"
|
|
"*.mm"
|
|
${STATUS_RCC}
|
|
${STATUS_RESOURCES_QRC}
|
|
${STATUS_QRC}
|
|
)
|