93a964a47d
cpp/tests/CMakeLists.txt compila Catch2 amalgamated como STATIC libreria una sola vez. Cada test es su propio executable (CATCH_CONFIG_MAIN por archivo) y se registra con add_test(). add_fn_test(name srcs...) es el helper: incluye paths de cpp/functions y cpp/framework, linka catch2. Tests que necesitan symbols reales (fn_framework, imgui) los anaden explicitamente con target_link_libraries despues.