Coding - Keep deprecated NCollection aliases (#1026)

- Added 900+ deprecated alias headers in `src/Deprecated/NCollectionAliases/` providing typedef wrappers with deprecation warnings
- Updated build system to install deprecated headers alongside regular headers
This commit is contained in:
Pasukhin Dmitry
2026-01-22 21:55:26 +00:00
committed by GitHub
parent cc367178fb
commit 582822b32f
977 changed files with 39645 additions and 0 deletions

View File

@@ -1106,6 +1106,10 @@ COLLECT_AND_INSTALL_OCCT_HEADER_FILES ("${CMAKE_BINARY_DIR}" "${BUILD_TOOLKITS}"
# Create and install Standard_Version.hxx
CONFIGURE_AND_INSTALL_VERSION_HEADER()
# Install deprecated NCollection alias headers for backward compatibility
install(DIRECTORY src/Deprecated/NCollectionAliases/
DESTINATION "${INSTALL_DIR_INCLUDE}")
string(TIMESTAMP CURRENT_TIME "%H:%M:%S")
message (STATUS "Info: \(${CURRENT_TIME}\) End the collecting")