]> OCCT Git - occt.git/commit
Configuration, CMake - Flexible project root (#641)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Thu, 24 Jul 2025 08:49:19 +0000 (09:49 +0100)
committerGitHub <noreply@github.com>
Thu, 24 Jul 2025 08:49:19 +0000 (09:49 +0100)
commitf41a5a91e460f462a7bbac5dac0e7bcf75b6be9f
tree4e95730868003d1b4efab6de98bab7d0d5c80d81
parent134afb1b7a22cc754b7f256c46042b1a1fbce6d6
Configuration, CMake - Flexible project root (#641)

- Replaces all `CMAKE_SOURCE_DIR` references with `OCCT_ROOT_DIR` across CMake files
- Updates build templates to use the new root directory variable
- Modifies environment variable configurations to use the flexible root path
15 files changed:
CMakeLists.txt
adm/cmake/flex.cmake
adm/cmake/occt_doc.cmake
adm/cmake/occt_gtest.cmake
adm/cmake/occt_macros.cmake
adm/cmake/occt_resources.cmake
adm/cmake/occt_toolkit.cmake
adm/cmake/qt_macro.cmake
adm/templates/DRAWEXE.vcxproj.user.in
adm/templates/custom.build.bat.in
adm/templates/custom.build.sh.in
dox/CMakeLists.txt
samples/qt/IESample/CMakeLists.txt
samples/qt/OCCTOverview/CMakeLists.txt
samples/qt/Tutorial/CMakeLists.txt