All checks were successful
Build and Test / build (pull_request) Successful in 29m25s
- Add Spreadsheet color preferences to KindredCreate.cfg using FCText entries (TextColor, AliasedCellBackgroundColor, PositiveNumberColor, NegativeNumberColor) matching the C++ GetASCII() reader in SheetModel.cpp - Remove CatppuccinMocha install directive from CMakeLists.txt - Update ztools submodule: theme.py deleted, CatppuccinMocha preference pack removed, package.xml cleaned up The previous apply_spreadsheet_colors() in ztools was a no-op: it called SetUnsigned() but the Spreadsheet C++ reads GetASCII() — different param types in FreeCAD's parameter system. Now properly fixed via preference pack. Closes #278
87 lines
1.7 KiB
CMake
87 lines
1.7 KiB
CMake
# Kindred Create core module
|
|
# Handles auto-loading of ztools and Silo addons
|
|
|
|
# C++ module targets
|
|
add_subdirectory(App)
|
|
|
|
if(BUILD_GUI)
|
|
add_subdirectory(Gui)
|
|
endif(BUILD_GUI)
|
|
|
|
# Generate version.py from template with Kindred Create version
|
|
configure_file(
|
|
${CMAKE_CURRENT_SOURCE_DIR}/version.py.in
|
|
${CMAKE_CURRENT_BINARY_DIR}/version.py
|
|
@ONLY
|
|
)
|
|
|
|
# Install Python init files
|
|
install(
|
|
FILES
|
|
Init.py
|
|
InitGui.py
|
|
addon_loader.py
|
|
kc_format.py
|
|
silo_document.py
|
|
silo_objects.py
|
|
silo_tree.py
|
|
silo_viewers.py
|
|
silo_viewproviders.py
|
|
update_checker.py
|
|
${CMAKE_CURRENT_BINARY_DIR}/version.py
|
|
DESTINATION
|
|
Mod/Create
|
|
)
|
|
|
|
# Install Silo tree-node icons
|
|
install(
|
|
DIRECTORY
|
|
${CMAKE_CURRENT_SOURCE_DIR}/resources/icons/
|
|
DESTINATION
|
|
Mod/Create/resources/icons
|
|
)
|
|
|
|
# Install ztools addon
|
|
install(
|
|
DIRECTORY
|
|
${CMAKE_SOURCE_DIR}/mods/ztools/ztools
|
|
DESTINATION
|
|
mods/ztools
|
|
)
|
|
install(
|
|
FILES
|
|
${CMAKE_SOURCE_DIR}/mods/ztools/package.xml
|
|
DESTINATION
|
|
mods/ztools
|
|
)
|
|
|
|
# Install Silo addon
|
|
install(
|
|
DIRECTORY
|
|
${CMAKE_SOURCE_DIR}/mods/silo/freecad/
|
|
DESTINATION
|
|
mods/silo/freecad
|
|
)
|
|
install(
|
|
DIRECTORY
|
|
${CMAKE_SOURCE_DIR}/mods/silo/silo-client/
|
|
DESTINATION
|
|
mods/silo/silo-client
|
|
)
|
|
|
|
# Install SDK
|
|
install(
|
|
DIRECTORY
|
|
${CMAKE_SOURCE_DIR}/mods/sdk/kindred_sdk
|
|
DESTINATION
|
|
mods/sdk
|
|
)
|
|
install(
|
|
FILES
|
|
${CMAKE_SOURCE_DIR}/mods/sdk/package.xml
|
|
${CMAKE_SOURCE_DIR}/mods/sdk/Init.py
|
|
${CMAKE_SOURCE_DIR}/mods/sdk/InitGui.py
|
|
DESTINATION
|
|
mods/sdk
|
|
)
|