Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/CMakeLists.txt
1 | 1 | | |||
---|---|---|---|---|---|
2 | set(widgetsLIB_SRCS | 2 | set(widgetsLIB_SRCS | ||
3 | about.cpp | 3 | about.cpp | ||
4 | axiscontrol.cpp | 4 | axiscontrol.cpp | ||
5 | commandwidget.cpp | 5 | commandwidget.cpp | ||
6 | logwidget.cpp | 6 | logwidget.cpp | ||
7 | movementwidget.cpp | 7 | movementwidget.cpp | ||
8 | plotwidget.cpp | 8 | plotwidget.cpp | ||
9 | printwidget.cpp | 9 | printwidget.cpp | ||
10 | sdwidget.cpp | 10 | sdwidget.cpp | ||
11 | statuswidget.cpp | 11 | statuswidget.cpp | ||
12 | temperaturewidget.cpp | 12 | temperaturewidget.cpp | ||
13 | profilemanager.cpp | ||||
13 | ) | 14 | ) | ||
14 | 15 | | |||
15 | add_library(AtCoreWidgets ${widgetsLIB_SRCS}) | 16 | add_library(AtCoreWidgets ${widgetsLIB_SRCS}) | ||
16 | target_link_libraries(AtCoreWidgets AtCore::AtCore Qt5::Core Qt5::Widgets Qt5::Charts) | 17 | target_link_libraries(AtCoreWidgets AtCore::AtCore Qt5::Core Qt5::Widgets Qt5::Charts) | ||
17 | 18 | | |||
18 | set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/AtCore") | 19 | set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/AtCore") | ||
19 | configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/AtCoreWidgetsConfig.cmake.in" | 20 | configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/AtCoreWidgetsConfig.cmake.in" | ||
20 | "${CMAKE_CURRENT_BINARY_DIR}/AtCoreWidgetsConfig.cmake" | 21 | "${CMAKE_CURRENT_BINARY_DIR}/AtCoreWidgetsConfig.cmake" | ||
Show All 24 Lines | 42 | ecm_generate_headers(ATCOREWIDGETS_CamelCase_HEADERS | |||
45 | CommandWidget | 46 | CommandWidget | ||
46 | LogWidget | 47 | LogWidget | ||
47 | MovementWidget | 48 | MovementWidget | ||
48 | PlotWidget | 49 | PlotWidget | ||
49 | PrintWidget | 50 | PrintWidget | ||
50 | SdWidget | 51 | SdWidget | ||
51 | StatusWidget | 52 | StatusWidget | ||
52 | TemperatureWidget | 53 | TemperatureWidget | ||
54 | ProfileManager | ||||
53 | REQUIRED_HEADERS ATCOREWIDGETS_HEADERS | 55 | REQUIRED_HEADERS ATCOREWIDGETS_HEADERS | ||
54 | ) | 56 | ) | ||
55 | 57 | | |||
56 | ecm_create_qm_loader(widgetsLib_SRCS atcore_qt) | 58 | ecm_create_qm_loader(widgetsLib_SRCS atcore_qt) | ||
57 | 59 | | |||
58 | install(FILES | 60 | install(FILES | ||
59 | ${ATCOREWIDGETS_CamelCase_HEADERS} | 61 | ${ATCOREWIDGETS_CamelCase_HEADERS} | ||
60 | ${ATCOREWIDGETS_HEADERS} | 62 | ${ATCOREWIDGETS_HEADERS} | ||
Show All 26 Lines |