Kelsidavis-WoWee/tests
Kelsi 1f86130888 fix(tests): link glm::glm into test_open_formats + emitter
Both test targets pull in pipeline source (wowee_building.cpp,
wowee_collision.cpp, etc.) that transitively includes
<glm/glm.hpp>, but neither target was declaring a dependency
on the glm::glm CMake target.

On Linux the system glm headers in /usr/include happened to
resolve, so local builds worked. On macOS arm64 CI the glm
headers live in /opt/homebrew/include which isn't in the
implicit include search path — the build was failing with:

  include/pipeline/wowee_building.hpp:3:10: fatal error:
    'glm/glm.hpp' file not found
  make[1]: *** [tests/CMakeFiles/test_open_formats.dir/all]
    Error 2

That stopped the macOS Build job at "Linking CXX executable
bin/wowee_editor" → exit 2 — silently breaking every push
that touched the tree for many recent batches.

Fix: add the standard `if(TARGET glm::glm) target_link_
libraries(... PRIVATE glm::glm) endif()` block to both
targets, matching the pattern already used by test_spline,
test_transport_path_repo, test_entity, test_m2_structs, etc.

Verified locally: both targets build clean, wowee_editor
unchanged.
2026-05-09 14:05:57 -07:00
..
CMakeLists.txt fix(tests): link glm::glm into test_open_formats + emitter 2026-05-09 14:05:57 -07:00
test_activity_fsm.cpp feat(animation): decompose AnimationController into FSM-based architecture 2026-04-05 12:27:35 +03:00
test_anim_capability.cpp feat(animation): decompose AnimationController into FSM-based architecture 2026-04-05 12:27:35 +03:00
test_animation_ids.cpp feat(animation): decompose AnimationController into FSM-based architecture 2026-04-05 12:27:35 +03:00
test_blp_loader.cpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
test_camera.cpp test(camera): add 6 setter/basis-degeneracy tests 2026-05-06 08:58:55 -07:00
test_chat_markup_parser.cpp refactor(chat): decompose into modular architecture, add GM commands, fix protocol 2026-04-12 14:59:56 +03:00
test_chat_tab_completer.cpp refactor(chat): decompose into modular architecture, add GM commands, fix protocol 2026-04-12 14:59:56 +03:00
test_combat_fsm.cpp feat(animation): decompose AnimationController into FSM-based architecture 2026-04-05 12:27:35 +03:00
test_dbc_loader.cpp test(dbc): add hardening tests for absurd recordCount/fieldCount 2026-05-06 09:34:39 -07:00
test_editor_units.cpp test(objects): add load-time clamp + uniqueId round-trip tests 2026-05-06 09:40:06 -07:00
test_entity.cpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
test_frustum.cpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
test_gm_commands.cpp refactor(chat): decompose into modular architecture, add GM commands, fix protocol 2026-04-12 14:59:56 +03:00
test_indoor_shadows.cpp feat(rendering): add HiZ occlusion culling & fix WMO interior shadows 2026-04-06 16:40:59 +03:00
test_locomotion_fsm.cpp feat(animation): decompose AnimationController into FSM-based architecture 2026-04-05 12:27:35 +03:00
test_m2_structs.cpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
test_macro_evaluator.cpp refactor(chat): decompose into modular architecture, add GM commands, fix protocol 2026-04-12 14:59:56 +03:00
test_opcode_table.cpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
test_open_format_emitter.cpp test(extract): lock in DBC→JSON emission round-trip 2026-05-06 10:40:33 -07:00
test_open_formats.cpp test(wob): add 2 string-length reject tests 2026-05-06 09:26:08 -07:00
test_packet.cpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
test_spline.cpp refactor: extract spline math, consolidate packet parsing, decompose TransportManager 2026-04-11 08:30:28 +03:00
test_srp.cpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
test_transport_components.cpp refactor: decompose TransportManager and upgrade Entity to CatmullRom splines 2026-04-11 09:50:38 +03:00
test_transport_path_repo.cpp refactor: extract spline math, consolidate packet parsing, decompose TransportManager 2026-04-11 08:30:28 +03:00
test_world_map.cpp refactor: decompose world map into modular component architecture 2026-04-12 09:52:51 +03:00
test_world_map_coordinate_projection.cpp feat(world-map): remove kVOffset hack, ZMP hover, textured player arrow 2026-04-12 20:02:50 +03:00
test_world_map_exploration_state.cpp refactor: decompose world map into modular component architecture 2026-04-12 09:52:51 +03:00
test_world_map_map_resolver.cpp refactor: decompose world map into modular component architecture 2026-04-12 09:52:51 +03:00
test_world_map_view_state_machine.cpp refactor: decompose world map into modular component architecture 2026-04-12 09:52:51 +03:00
test_world_map_zone_metadata.cpp refactor: decompose world map into modular component architecture 2026-04-12 09:52:51 +03:00