mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 17:40:24 +08: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)
|
|
|
|
|