mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
26092456d4
Instead of compiling `fish_tests.cpp` dynamically with weakly-linked symbols and asking it to print the list of all available tests, we use a magic string `#define`'d as a no-op to allow CMake to regex search for matching test groups. This speeds up configuration somewhat (by not compiling anything), but more importantly, it's much less brittle and doesn't involve and linker dark magic. There's of course still no getting around the fact that it's really ugly. |
||
---|---|---|
.. | ||
checks | ||
Benchmark.cmake | ||
CheckIncludeFiles.cmake | ||
ConfigureChecks.cmake | ||
Docs.cmake | ||
gettext.cmake | ||
Install.cmake | ||
Mac.cmake | ||
MacApp.cmake | ||
PCRE2.cmake | ||
Tests.cmake | ||
Version.cmake |