Commit Graph

3 Commits

Author SHA1 Message Date
vm22
97e1f014a1 cmake: make CPPDEFINES handling robust for SCons-generated values
[tools][cmake] fix type handling when generating CMake targets

[Root Cause]
Unexpected macro definition types during `scons --target=cmake`
could trigger a TypeError and abort CMakeLists.txt generation.

[Solution]
Add support for handling different macro definition types.

[Affect Area]
cmake.py

[Test Suggestion]
Run `scons --target=cmake` and verify CMakeLists.txt is generated
successfully with different macro definition formats.
2026-01-27 13:04:11 +08:00
CYFS
96bce36533 [tools][cmake]:Fix the cmake creation error of scons 2026-01-06 16:47:43 +08:00
Bernard Xiong
5a2352eb64 [scons] code cleanup for scons script. (#10429)
* [scons] move project_generation to targets; code clean for building.py.
2025-06-25 15:06:45 +08:00