From 724f8092c4808cdad47316e00949c04ee797acb5 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 19 Aug 2025 20:19:48 -0400 Subject: Store IDs in a yaml file This is much more efficient than the txtpb format, and we only need an interface for it in C++ since the IDs will be packed into the binary proto representation. --- tools/util/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/util/CMakeLists.txt') diff --git a/tools/util/CMakeLists.txt b/tools/util/CMakeLists.txt index 4d19c3b..0859a58 100644 --- a/tools/util/CMakeLists.txt +++ b/tools/util/CMakeLists.txt @@ -1,11 +1,13 @@ find_package(Protobuf REQUIRED) +find_package(yaml-cpp REQUIRED) add_library(util godot_scene.cpp identifiers.cpp + ids_yaml_format.cpp naming.cpp ) set_property(TARGET util PROPERTY CXX_STANDARD 20) set_property(TARGET util PROPERTY CXX_STANDARD_REQUIRED ON) target_include_directories(util PUBLIC ${CMAKE_BINARY_DIR}) -target_link_libraries(util PUBLIC protos protobuf::libprotobuf) +target_link_libraries(util PUBLIC protos protobuf::libprotobuf yaml-cpp::yaml-cpp) -- cgit 1.4.1