Skip to content

Configuration, CMake - Build config file is invalid#647

Merged
dpasukhi merged 1 commit intoOpen-Cascade-SAS:IRfrom
dpasukhi:build_env_fix
Jul 27, 2025
Merged

Configuration, CMake - Build config file is invalid#647
dpasukhi merged 1 commit intoOpen-Cascade-SAS:IRfrom
dpasukhi:build_env_fix

Conversation

@dpasukhi
Copy link
Copy Markdown
Member

@dpasukhi dpasukhi commented Jul 27, 2025

  • Fixed missing @ delimiter in template variable substitution for QT directory detection
  • Added compiler bitness calculation before custom script generation
  • Implemented nested variable expansion for custom build paths

Add OCCT_MAKE_COMPILER_BITNESS function and expand OCCT_CUSTOM_BUILD_BIN_LIB_PATHS variable
@dpasukhi dpasukhi added this to the Release 8.0 milestone Jul 27, 2025
@dpasukhi dpasukhi requested a review from Copilot July 27, 2025 09:21
@dpasukhi dpasukhi self-assigned this Jul 27, 2025
@dpasukhi dpasukhi added 2. Bug Something isn't working 1. Configuration CMake/QMake processes of OCCT or samples labels Jul 27, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a configuration issue in the CMake build system where template variable substitution was incomplete, causing invalid build configuration files. The fix addresses missing template variable expansion in both shell script templates and CMake configuration processing.

Key changes:

  • Fixed missing @ delimiter in template variable substitution for QT directory detection
  • Added compiler bitness calculation before custom script generation
  • Implemented nested variable expansion for custom build paths

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
adm/templates/custom.build.sh.in Fixed template variable syntax for QT_DIR check
CMakeLists.txt Added compiler bitness function call and nested variable expansion

Comment thread adm/templates/custom.build.sh.in
@dpasukhi dpasukhi merged commit 3175e00 into Open-Cascade-SAS:IR Jul 27, 2025
23 checks passed
@dpasukhi dpasukhi deleted the build_env_fix branch July 27, 2025 11:33
@github-project-automation github-project-automation bot moved this from Todo to Done in Maintenance Jul 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1. Configuration CMake/QMake processes of OCCT or samples 2. Bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants