mirror of
https://github.com/august-alt/gpui.git
synced 2025-01-08 01:17:43 +03:00
29 lines
897 B
CMake
29 lines
897 B
CMake
find_package(Qt5 COMPONENTS Core Gui Widgets Test REQUIRED)
|
|
|
|
find_package(XercesC REQUIRED)
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
set(SOURCES
|
|
driveswidgettest.cpp
|
|
../../../../../src/plugins/preferences/drives/driveswidget.cpp
|
|
../../../../../src/plugins/preferences/drives/drivesschema.cpp
|
|
../../../../../src/plugins/preferences/drives/modelbuilder.cpp
|
|
)
|
|
|
|
set(UI_FORMS
|
|
../../../../../src/plugins/preferences/drives/driveswidget.ui
|
|
)
|
|
|
|
set(MOC_HEADERS
|
|
driveswidgettest.h
|
|
../../../../../src/plugins/preferences/drives/driveswidget.h
|
|
)
|
|
|
|
qt5_wrap_ui(UI_SOURCES ${UI_FORMS})
|
|
qt5_wrap_cpp(MOC_SOURCES ${MOC_HEADERS})
|
|
|
|
add_executable(driveswidgettest ${SOURCES} ${MOC_SOURCES} ${UI_SOURCES})
|
|
target_link_libraries(driveswidgettest ${GPUI_LIBRARIES} drives-plugin Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Test XercesC::XercesC)
|
|
add_gpui_test(plugins.driveswidgettest driveswidgettest)
|