chore(cpn): move printing to subfolder (#6594)
This commit is contained in:
@@ -83,6 +83,7 @@ include_directories(
|
||||
${COMPANION_SRC_DIRECTORY}/storage
|
||||
${COMPANION_SRC_DIRECTORY}/flash
|
||||
${COMPANION_SRC_DIRECTORY}/progress
|
||||
${COMPANION_SRC_DIRECTORY}/print
|
||||
)
|
||||
|
||||
############# Do macro replacements on input files #############
|
||||
@@ -202,6 +203,7 @@ add_subdirectory(firmwares)
|
||||
add_subdirectory(flash)
|
||||
add_subdirectory(generaledit)
|
||||
add_subdirectory(modeledit)
|
||||
add_subdirectory(print)
|
||||
add_subdirectory(progress)
|
||||
add_subdirectory(shared)
|
||||
add_subdirectory(simulation)
|
||||
@@ -216,18 +218,13 @@ include_directories(${maxLibQt_SOURCE_DIR}/widgets)
|
||||
|
||||
set(companion_NAMES
|
||||
apppreferencesdialog
|
||||
comparedialog
|
||||
helpers_html
|
||||
labels
|
||||
logsdialog
|
||||
mainwindow
|
||||
mdichild
|
||||
modelprinter
|
||||
modelslist
|
||||
multimodelprinter
|
||||
printdialog
|
||||
profilechooser
|
||||
styleeditdialog
|
||||
dialogs/filesyncdialog
|
||||
)
|
||||
|
||||
@@ -268,6 +265,7 @@ target_link_libraries(${COMPANION_NAME} PRIVATE
|
||||
updates
|
||||
flash
|
||||
wizard
|
||||
print
|
||||
)
|
||||
|
||||
PrintTargetReport("${COMPANION_NAME}")
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
|
||||
project(print)
|
||||
|
||||
set(${PROJECT_NAME}_NAMES
|
||||
comparedialog
|
||||
modelprinter
|
||||
multimodelprinter
|
||||
printdialog
|
||||
styleeditdialog
|
||||
)
|
||||
|
||||
AddHeadersSources()
|
||||
|
||||
qt_wrap_cpp(${PROJECT_NAME}_SRCS
|
||||
)
|
||||
|
||||
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