chore(cpn): move wizard to subdir (#6564)

This commit is contained in:
ikkemaniac
2025-09-01 14:19:37 +10:00
committed by GitHub
parent f141229222
commit 7230b26dc3
7 changed files with 40 additions and 3 deletions
+2 -2
View File
@@ -203,6 +203,7 @@ add_subdirectory(simulation)
add_subdirectory(storage)
add_subdirectory(thirdparty/qcustomplot)
add_subdirectory(updates)
add_subdirectory(wizard)
############# Companion ###############
@@ -233,8 +234,6 @@ set(companion_NAMES
radionotfound
splashlibrarydialog
styleeditdialog
wizarddata
wizarddialog
dialogs/filesyncdialog
)
@@ -278,6 +277,7 @@ target_link_libraries(${COMPANION_NAME} PRIVATE
qcustomplot
miniz
updates
wizard
)
PrintTargetReport("${COMPANION_NAME}")
+1 -1
View File
@@ -27,7 +27,7 @@
#include "printdialog.h"
#include "helpers.h"
#include "appdata.h"
#include "wizarddialog.h"
#include "wizard/wizarddialog.h"
#include "flashfirmwaredialog.h"
#include "storage.h"
#include "radiointerface.h"
+37
View File
@@ -0,0 +1,37 @@
project(wizard)
set(${PROJECT_NAME}_NAMES
wizarddata
wizarddialog
)
AddHeadersSources()
# AUTOMOC does not detect so manually process
set(${PROJECT_NAME}_MOC
wizarddata.h
wizarddialog.h
)
qt_wrap_cpp(${PROJECT_NAME}_SRCS
${${PROJECT_NAME}_MOC}
)
add_library(${PROJECT_NAME}
${${PROJECT_NAME}_HDRS}
${${PROJECT_NAME}_SRCS}
)
target_link_libraries(${PROJECT_NAME}
PRIVATE
${CPN_COMMON_LIB}
)
target_include_directories(${PROJECT_NAME}
PRIVATE
"${CMAKE_SOURCE_DIR}"
"${CMAKE_CURRENT_BINARY_DIR}"
PUBLIC
"${CMAKE_CURRENT_LIST_DIR}"
)