Changeset View
Changeset View
Standalone View
Standalone View
examples/drives/CMakeLists.txt
- This file was added.
1 | kde_enable_exceptions() | ||||
---|---|---|---|---|---|
2 | | ||||
3 | include_directories( | ||||
4 | ${CMAKE_SOURCE_DIR} | ||||
5 | ${CMAKE_SOURCE_DIR}/src | ||||
6 | ${CMAKE_BINARY_DIR} | ||||
7 | ) | ||||
8 | | ||||
9 | set(drives_example_SRCS main.cpp mainwindow.cpp) | ||||
10 | set(drives_example_HDRS mainwindow.h) | ||||
11 | qt5_wrap_ui(drives_example_SRCS ui/main.ui) | ||||
12 | | ||||
13 | add_executable(drives-example | ||||
14 | ${drives_example_SRCS} | ||||
15 | ${drives_example_HDRS_MOC} | ||||
16 | ) | ||||
17 | | ||||
18 | target_link_libraries(drives-example | ||||
19 | Qt5::Widgets | ||||
20 | Qt5::Core | ||||
21 | KF5::GAPICore | ||||
22 | KF5::GAPIDrive | ||||
23 | ) |