Zachary Hall
ae74999276
Some checks failed
Build / build-gentoo (push) Failing after 1m25s
Build / download-system-deps (push) Successful in 3m44s
Build / get-source-code (push) Successful in 6m52s
Build / build-appimage (push) Successful in 3m29s
Build / build-android (push) Failing after 2m52s
Build / build-windows (push) Failing after 6m42s
13 lines
776 B
CMake
13 lines
776 B
CMake
set(BACKEND_QT_SRC_BASE main.cpp main.h main_window.cpp main_window.h slider.hpp slider.cpp preferences.h preferences.cpp aboutwindow.h aboutwindow.cpp)
|
|
set(BACKEND_QT_SRC )
|
|
foreach(SRC IN ITEMS ${BACKEND_QT_SRC_BASE})
|
|
set(BACKEND_QT_SRC ${BACKEND_QT_SRC} ${CMAKE_CURRENT_SOURCE_DIR}/${SRC})
|
|
endforeach()
|
|
set(BACKEND_QT_INC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
|
|
set(CMAKE_AUTOMOC ON)
|
|
add_ui_backend(qt_ui ${BACKEND_QT_SRC})
|
|
find_package(Qt6 COMPONENTS Core Gui Widgets)
|
|
target_link_libraries(qt_ui PRIVATE Qt6::Core Qt6::Gui Qt6::Widgets SDL2::SDL2 fmt::fmt liblooper)
|
|
target_include_directories(qt_ui PRIVATE ../../..)
|
|
#target_link_libraries(qt_ui PRIVATE PkgConfig::GTK4 PkgConfig::gtkmm4)
|
|
#target_include_directories(qt_ui PRIVATE ${BACKEND_QT_INC})
|