chore(cpn): move wizard to subdir (#6564)
This commit is contained in:
@@ -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}")
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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}"
|
||||
)
|
||||
Reference in New Issue
Block a user