chore(build): formalize CMake install rules for mods/ submodules #69

Closed
opened 2026-02-08 23:27:39 +00:00 by forbes · 1 comment
Owner

CMake install rules for mods/ submodules should be formalized in src/Mod/Create/CMakeLists.txt so that cmake --install includes ztools and Silo without relying on packaging scripts to copy them manually.

Proposed rules:

install(DIRECTORY ${CMAKE_SOURCE_DIR}/mods/ztools/ztools
        DESTINATION ${CMAKE_INSTALL_DATADIR}/Mod/ztools)
install(DIRECTORY ${CMAKE_SOURCE_DIR}/mods/ztools/CatppuccinMocha
        DESTINATION ${CMAKE_INSTALL_DATADIR}/Mod/ztools)
install(DIRECTORY ${CMAKE_SOURCE_DIR}/mods/silo/freecad/
        DESTINATION ${CMAKE_INSTALL_DATADIR}/Mod/Silo)
install(DIRECTORY ${CMAKE_SOURCE_DIR}/mods/silo/silo-client/
        DESTINATION ${CMAKE_INSTALL_DATADIR}/Mod/silo-client)

Source: KNOWN_ISSUES.md — Next steps #4, INTEGRATION_PLAN.md Phase 6

CMake install rules for `mods/` submodules should be formalized in `src/Mod/Create/CMakeLists.txt` so that `cmake --install` includes ztools and Silo without relying on packaging scripts to copy them manually. **Proposed rules:** ```cmake install(DIRECTORY ${CMAKE_SOURCE_DIR}/mods/ztools/ztools DESTINATION ${CMAKE_INSTALL_DATADIR}/Mod/ztools) install(DIRECTORY ${CMAKE_SOURCE_DIR}/mods/ztools/CatppuccinMocha DESTINATION ${CMAKE_INSTALL_DATADIR}/Mod/ztools) install(DIRECTORY ${CMAKE_SOURCE_DIR}/mods/silo/freecad/ DESTINATION ${CMAKE_INSTALL_DATADIR}/Mod/Silo) install(DIRECTORY ${CMAKE_SOURCE_DIR}/mods/silo/silo-client/ DESTINATION ${CMAKE_INSTALL_DATADIR}/Mod/silo-client) ``` **Source:** KNOWN_ISSUES.md — Next steps #4, INTEGRATION_PLAN.md Phase 6
forbes added the enhancement label 2026-02-08 23:27:39 +00:00
Author
Owner

Done. CMake install rules for all four addons (sdk, solver, ztools, silo) are in src/Mod/Create/CMakeLists.txt.

Done. CMake install rules for all four addons (sdk, solver, ztools, silo) are in `src/Mod/Create/CMakeLists.txt`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kindred/create#69