Commit Graph

20 Commits

Author SHA1 Message Date
Joao Matos
a93dab0658 Add PartDesign build dependency to Import.
Import now depends on PartDesign, so ensure CMake configure-time
dependency enforcement requires PartDesign alongside Part.

Fixes build regression from
6fd6558040.
2025-11-02 15:59:06 -06:00
Pieter Hijma
005a8f15de Fix a cyclic build dependency
Before this commit, Draft depended on BIM and BIM depended on Draft.
With this commit, BIM depends on Draft.
2025-05-15 18:50:17 +02:00
David Carter
ba9624d8d4 Merge pull request #21046 from davesrocketshop/issue_13922_2
Update module dependencies to ensure that automated testing code is considered as well as direct dependencies. Update some automated tests to eliminate unwanted dependencies.
2025-05-04 17:02:50 -05:00
David Carter
05e76dd624 Materials: Build external materials support conditionally
Adds a new build option BUILD_MATERIAL_EXTERNAL which is off by default.

When disabled, the external interface is not built. This allows the
code to be tested thoroughly before reaching the end user.
2025-03-31 22:24:53 +02:00
João Matos
97e24f10f8 CMake: Improve Import dependency check for TechDraw module. (#19036)
* CMake: Fix missing Import dependency check for TechDraw module.

* CMake/TechDraw: Conditionally use Import library.

* CMake: Fix missing dependency check for Module and PartDesign measure in TechDraw.
2025-01-19 13:33:16 -06:00
tritao
b064827bea CMake: Issue a non-fatal error when module dependency is not found. 2025-01-14 15:45:21 -06:00
marioalexis
4c492621fc CMake: Decouple internal SMESH build from Fem build - fixes #18287 2024-12-09 12:09:30 -05:00
Chris Mayo
50e1eb202b CMake: Add inter-module dependency of ReverseEngineering on Points
Building with -DBUILD_POINTS=no -DBUILD_REVERSEENGINEERING=yes fails with:

src/Mod/ReverseEngineering/App/AppReverseEngineering.cpp
src/Mod/ReverseEngineering/App/AppReverseEngineering.cpp:36:10: fatal error: Mod/Points/App/PointsPy.h: No such file or directory
   36 | #include <Mod/Points/App/PointsPy.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
2024-10-21 18:13:20 +02:00
Chris Mayo
9a8ba08d0a CMake: Add inter-module dependency of Part on Material
Building with -DBUILD_PART=ON and -DBUILD_MATERIAL=no fails with:

/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lMaterials: No such file or directory
collect2: error: ld returned 1 exit status
2024-10-21 18:11:56 +02:00
marcuspollio
980a0afaa0 cmake: update BUILD_PATH to BUILD_CAM (#16040) 2024-08-26 11:27:09 -05:00
Yorik van Havre
f21a3b3ec9 BIM: Renamed Arch to BIM 2024-05-16 17:23:10 +02:00
Chris Hennes
820b16ef6b Start: Remove old WB and replace with new 2024-04-21 22:27:50 -05:00
Chris Hennes
940f4f7cfa CMake: Remove last vestige of raytracing 2023-06-06 07:37:15 -05:00
sliptonic
2451ca8ca6 remove dependency on robot 2023-05-12 09:20:20 -05:00
wmayer
f13abb44a4 CMake: disable Drawing module by default 2022-06-25 18:10:06 +02:00
Jose Luis Cercos-Pita
ecdd01dd7d Remove Ship module 2021-07-05 09:24:21 +02:00
sliptonic
da6152991a fix build problem with path 2020-10-18 16:36:47 -05:00
Priit Laes
57648f9291 build: Path workbench depends on Mesh workbench 2020-10-08 17:28:08 +03:00
Priit Laes
e6b5fb190f build: Fix dependency management for workbenches
Previously the workbench was not disabled even when dependencies
were unmet, resulting in eventual compile failure.
2020-10-08 17:28:08 +03:00
ezzieyguywuf
aa7419b203 Move logic out of CMakeLists.txt
This is an initial pass, simply moving the existing logic as-is. Future
PR's will attempt to refactor and improve the cmake stuff.
2019-09-26 18:54:45 +02:00