Andrej730
159538e2bb
cmake - add _d debug postfix for libraries on Windows
2025-12-12 18:33:48 +05:00
Andrej730
39dd08c84e
cmake - keep VERSION_OVERRIDE option description ( 3971408a0)
2025-12-12 18:12:43 +05:00
Andrej730
2627052b55
cmake - export IfcOpenShellConfig.cmake
2025-12-11 19:55:41 +05:00
Andrej730
d876c001e2
Remove deprecated BOOST_LIBRARYDIR var
2025-12-11 18:03:44 +05:00
Andrej730
20d6547e54
run-cmake.bat - use cgal config instead of explicit paths
2025-12-11 18:03:44 +05:00
Andrej730
71a36147a6
FindCGAL - another fix for 6591a6981
2025-12-11 18:03:44 +05:00
Esteban DUGUEPEROUX
4b56cc7916
cmake: Add HDF5 to IFCOPENSHELL_LIBRARIES
2025-12-10 18:25:33 +01:00
Andrej730
dbe23ca809
FindPROJ - fix outputs description
2025-12-10 20:04:02 +05:00
Andrej730
9880ee79b2
FindPROJ - restore CMAKE_MODULE_PATH after module is executed
2025-12-10 20:04:02 +05:00
Andrej730
6591a69816
FindCGAL - keep CGAL::CGAL target name
2025-12-10 20:04:02 +05:00
Andrej730
ce7fdcc191
build-deps - use OCC_INSTALL_DIR instead of includes/libs path
2025-12-10 19:52:42 +05:00
Andrej730
9d828852c0
Use cmake configs to find USD
...
Also renamed `USD::` namespace to `pxr::` to match packaage name.
2025-12-10 19:52:41 +05:00
Esteban DUGUEPEROUX
d566ba6e1f
cmake: Use correct proj target
...
See-Also: https://proj.org/en/stable/development/cmake.html
2025-12-10 15:20:02 +01:00
Esteban DUGUEPEROUX
c32a6dc0ca
cmake: Support shared build for rocksdb
2025-12-10 15:19:33 +01:00
Esteban DUGUEPEROUX
3971408a07
cmake: Add project() command before options to be able to toggle them
2025-12-10 15:16:13 +01:00
Andrej730
d174ecf760
cmake - make USD_SUPPORT build succeed
2025-12-05 20:24:01 +05:00
Andrej730
2213c3773d
UNIFY_ENVVARS_AND_CACHE - check if var is defined to fix some warnings
2025-12-05 20:24:01 +05:00
Andrej730
1ad1883f0e
Findnlohmann_json.cmake
2025-12-05 20:24:01 +05:00
Andrej730
c2a03eb658
cmake - fix uninitialized vars
2025-12-05 20:24:00 +05:00
Andrej730
225039aa96
cmake - remove unused LIBXML2_INCLUDE_DIR after 6a0caa798
2025-12-05 20:24:00 +05:00
Andrej730
3cc8477a01
cmake - move ifcgeom installs to ifcgeom cmake
...
we don't install kernel libraries as they now have `OBJECT` type
IFCGEOM_SCHEMA_LIBRARIES and headers were handled in b7a9199 30184a3 9d28628
2025-12-05 20:24:00 +05:00
Andrej730
0555523c98
cmake - move all cgal related stuff to CGAL::CGAL target
2025-12-04 19:59:07 +05:00
Andrej730
6a0caa7989
cmake - fix missing xml.lib in debug builds #7413
...
After 5d56025 we were using `LibXml2::LibXml2` instead of `LIBXML2_LIBRARIES` for linking, but this target was missing debug variants leading to issues during linking.
2025-12-04 17:44:13 +05:00
Andrej730
c7df59e961
cmake - indicate that OpenCascade is only used by IfcGeom
2025-12-02 19:55:56 +05:00
Andrej730
6cbd3ed014
cmake - drop OPENCASCADE_LIBRARIES variable #7388
2025-12-02 19:55:56 +05:00
Esteban DUGUEPEROUX
2e5d87b5d7
cmake: Link Eigen3 only against targets needing it
2025-12-02 14:53:44 +01:00
Andrej730
52baba0fe0
cmake - don't use debug Python by default, move it to USE_DEBUG_PYTHON option
2025-12-02 16:11:38 +05:00
Esteban DUGUEPEROUX
b7a9199253
cmake: Externalize geometry mapping target cmake config
2025-11-30 15:29:21 +01:00
Esteban DUGUEPEROUX
986cb905b2
cmake: Externalize geometry_serializer cmake config files to their own directory
2025-11-30 15:29:21 +01:00
Esteban DUGUEPEROUX
30184a3f6d
cmake: Externalize geometry_serializer cmake config files to their own directory
2025-11-30 12:29:26 +01:00
Esteban DUGUEPEROUX
083fab5255
cmake: Use standard install way
...
For specific install customization, use CMAKE_INSTALL_BINDIR, CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR variables.
See-Also: https://cmake.org/cmake/help/latest/guide/tutorial/Installation%20Commands%20and%20Concepts.html
2025-11-30 11:11:51 +01:00
Esteban DUGUEPEROUX
0724fac698
cmake: Enable svgfill only for Python wrapper
2025-11-30 11:10:03 +01:00
Esteban DUGUEPEROUX
81bf187ee6
cmake: put IFCXML_SUPPORT related config in IfcParse cmake config file
2025-11-30 11:05:46 +01:00
Andrej730
e4c82e2c92
FindOpenCASCADE - log found config
2025-11-28 21:03:50 +05:00
Esteban DUGUEPEROUX
8fb10d2ff3
cmake: Use OBJECT target instead of STATIC one to avoid mix static and shared targets in a same build
2025-11-28 17:03:25 +01:00
Bruno Postle
a675365dfd
Correct fix for OCC built with VTK support
2025-11-26 22:53:38 +00:00
Bruno Postle
5ab6deb121
Revert cbd2689 Propagate CMP0167 policy
2025-11-25 23:08:52 +00:00
Bruno Postle
cbd26896ba
Propagate CMP0167 policy to fix cmake warnings
2025-11-25 18:45:59 +00:00
Bruno Postle
ceeca752ea
Fix build error from OCC with VTK support
...
OpenCASCADE may be built with VTK support. Try to find VTK first to avoid
CMake errors when OpenCASCADE's config references VTK targets.
2025-11-25 18:44:32 +00:00
Andrej730
9eedbc6f72
FindOpenCASCADE - fix linking issue with non-configs #7390
...
Unexpected consequence of #7365 - previously `OPENCASCADE_LIBRARIES` supposed to be a list of libraries filepaths, but after refactor `OpenCASCADE_LIBRARIES` end up being both list of library names and list of filepaths.
And since link directories for the names was not provided, it failed to find the libraries to link.
If using OpenCASCADEconfig it wouldn't fail as cmake would evaluate library names as imported target names.
To fix it and simplify it even further, in case of manually provided paths, it now creates `OpenCASCADE_INTERFACE` target and stores it in `OpenCASCADE_LIBRARIES` - target will automatically have all the includes, library names and library dirs.
2025-11-21 18:28:06 +05:00
Andrej730
692ef5ecea
cmake - fix error finding Eigen::Eigen target #7390
...
`EIgen::Eigen` target used in #7340 for linking exists only if there's a cmake config, while there are cases when there's just include directory. Added same name interface target to mimic config.
2025-11-20 20:12:48 +05:00
Andrej730
4f5ebef5da
cmake - use HDF5_INCLUDE_DIR instead HDF5_INCLUDE_DIRS
...
As this is the variable defined by `FindHDF5`.
2025-11-20 20:12:48 +05:00
Andrej730
57a724e80f
FindCGAL.cmake
2025-11-20 20:12:48 +05:00
Andrej730
1b8652a789
FindOpenCOLLADA.cmake
2025-11-20 20:12:48 +05:00
Andrej730
c1aa702896
FindHDF5 - describe used variables, initialize from env
2025-11-20 20:12:47 +05:00
Andrej730
5b43d2b75e
HDF5Config -> FindHDF5
...
See the reasoning in https://github.com/IfcOpenShell/IfcOpenShell/pull/7193#issuecomment-3552830928
2025-11-20 20:12:47 +05:00
Andrej730
3330e79556
FindLibXml2 - initialize from env variables
2025-11-20 20:12:47 +05:00
Andrej730
88d09c83b7
FindLibXml2 - add_debug_variants
2025-11-20 20:12:47 +05:00
Andrej730
5e6b96ee99
cmake - remove wasm_sysroot as superseded by e833d0c
2025-11-20 20:12:47 +05:00
Andrej730
158fe92644
HDF5Config.cmake - use CMAKE_SOURCE_DIR instead PROJECT_SOURCE_DIR
...
It doesn't really matter in this case - it matters really only for FindLibXml2, because `PROJECT_SOURCE_DIR` point to svgfill, when it's config executed, instead of `CMAKE_SOURCE_DIR` - so `CMAKE_SOURCE_DIR ` is never removed from the path, leading to cyclic calls. Adding for HDF5 too just for consistency.
2025-11-19 19:41:30 +05:00