Skip to content

Commit ae0f200

Browse files
committed
Edit Windows workflow to try get build to work.
By setting CMAKE_RC_COMPILER= (empty), CMake should skip all resource compilation, which will prevent both the original RC syntax errors and the MINGW flag mismatches.
1 parent 12f39e4 commit ae0f200

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build_scripts/build_helios.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,10 +512,10 @@ def run_cmake_configure(self, additional_args: Optional[List[str]] = None) -> No
512512

513513
# Windows-specific workaround for zlib resource compilation issue
514514
# The RC compiler fails on win32/zlib1.rc due to C syntax in included headers
515-
# Force MINGW detection to skip the problematic RC file
515+
# Disable resource compilation by not setting CMAKE_RC_COMPILER
516516
if self.platform_name == 'Windows':
517517
cmake_cmd.extend([
518-
'-DMINGW=TRUE', # Force MINGW mode to skip win32/zlib1.rc resource file
518+
'-DCMAKE_RC_COMPILER=', # Disable resource compiler to avoid RC1106 errors
519519
])
520520

521521
print(f"Running CMake configure: {' '.join(cmake_cmd)}")

docs/Doxyfile.python

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ EXAMPLE_PATTERNS = *.py
161161
EXAMPLE_RECURSIVE = YES
162162
IMAGE_PATH = docs/images
163163
INPUT_FILTER =
164-
FILTER_PATTERNS = *.py="python -m doxypypy.doxypypy --autobrief --autocode"
164+
FILTER_PATTERNS = *.py="doxypypy --autobrief --autocode"
165165
FILTER_SOURCE_FILES = NO
166166
FILTER_SOURCE_PATTERNS =
167167
USE_MDFILE_AS_MAINPAGE = README.md

0 commit comments

Comments
 (0)