summaryrefslogtreecommitdiff
path: root/test cases/cmake/26 dependency fallback/subprojects/cmMod/cmMod.cpp
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-07-17 23:02:56 -0400
committerXavier Claessens <xclaesse@gmail.com>2023-10-20 18:07:05 -0400
commit34ac2e4af6e5b4c86e8fcfef86042621d55dd141 (patch)
treee06e84cb458677bed98885b85ce863d4308c41a4 /test cases/cmake/26 dependency fallback/subprojects/cmMod/cmMod.cpp
parent1cf0ed0997de355d15d9418448423ecf06a62467 (diff)
downloadmeson-34ac2e4af6e5b4c86e8fcfef86042621d55dd141.tar.gz
fix ninja backend rules containing internal enum reprs
Partially reverts commit 1624354f33bf0a33f0e715ba1ca391ae0154ad19 which moved a bunch of stuff from strings to enums. The issue here is that Compiler.mode is not just, or primarily, something we compare, but is instead written in as e.g. `rule c_{compiler.mode}` to build.ninja, so this identifier needs to be a string. Ultimately, the issue is that the commit tried to rewrite a bunch of things called "mode" that had a couple of TODOs saying to use enums... but it rewrote everything called "mode" regardless of whether it was a function kwarg or a compiler property, even though the TODO only applied to one of them.
Diffstat (limited to 'test cases/cmake/26 dependency fallback/subprojects/cmMod/cmMod.cpp')
0 files changed, 0 insertions, 0 deletions