fix: add Create module to CMake build — fixes silo workbench not loading #221
Reference in New Issue
Block a user
Delete Branch "fix/create-module-install"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The silo workbench fails to load on startup with:
The Create module (
src/Mod/Create/) was never included in the build becausesrc/Mod/CMakeLists.txtdid not calladd_subdirectory(Create).Impact
This caused a cascade of failures:
Mod/Create/InitGui.pywas never installed, sosetup_kindred_workbenches()never ranmods/silo/freecad/) was never installed to the correct locationkc_format.py(.kcfile format handler) was never installedFix
src/Mod/CMakeLists.txt: Addadd_subdirectory(Create)to include the Create module in the buildsrc/Mod/Create/CMakeLists.txt: Add missingkc_format.pyto the install file listVerification
After rebuilding and installing:
Mod/Create/should exist in the install prefix withInit.py,InitGui.py,kc_format.py,update_checker.py,version.pymods/silo/freecad/should contain silo workbench filesmods/ztools/should contain ztools addon files