mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
- 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
12 lines
401 B
CMake
12 lines
401 B
CMake
project(Tutorial)
|
|
|
|
OCCT_INCLUDE_CMAKE_FILE (adm/cmake/occt_toolkit_prepare_sample)
|
|
include_directories("${OCCT_ROOT_DIR}/${RELATIVE_DIR}/Interface/src")
|
|
include_directories("${OCCT_ROOT_DIR}/${RELATIVE_DIR}/Common/src")
|
|
OCCT_INCLUDE_CMAKE_FILE (adm/cmake/occt_toolkit)
|
|
OCCT_INCLUDE_CMAKE_FILE (adm/cmake/occt_toolkit_prepare_sample)
|
|
|
|
ADD_DEFINITIONS(-DNO_COMMONSAMPLE_EXPORTS -DNO_IESAMPLE_EXPORTS)
|
|
|
|
|