This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
- CMake 4 is no longer retro compatible with versions < 3.5
- CMake Error at doc/snippets/CMakeLists.txt:17 (GET_TARGET_PROPERTY):
The LOCATION property may not be read from target "compile_class_LU". Use
the target name directly with add_custom_command, or use the generator
expression $<TARGET_FILE>, as appropriate.
- CMake Error at doc/examples/CMakeLists.txt:11 (GET_TARGET_PROPERTY):
The LOCATION property may not be read from target
"Tutorial_simple_example_dynamic_size". Use the target name directly with
add_custom_command, or use the generator expression $<TARGET_FILE>, as
appropriate.