diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-08-19 20:19:48 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-08-19 20:19:48 -0400 |
commit | 724f8092c4808cdad47316e00949c04ee797acb5 (patch) | |
tree | 758d598fbc2d62c4620956b71b2a851791fd2dbf /tools/util/CMakeLists.txt | |
parent | 511d813113b6e7986aff665603ca0196799e232d (diff) | |
download | lingo2-archipelago-724f8092c4808cdad47316e00949c04ee797acb5.tar.gz lingo2-archipelago-724f8092c4808cdad47316e00949c04ee797acb5.tar.bz2 lingo2-archipelago-724f8092c4808cdad47316e00949c04ee797acb5.zip |
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.
Diffstat (limited to 'tools/util/CMakeLists.txt')
-rw-r--r-- | tools/util/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
1 | find_package(Protobuf REQUIRED) | 1 | find_package(Protobuf REQUIRED) |
2 | find_package(yaml-cpp REQUIRED) | ||
2 | 3 | ||
3 | add_library(util | 4 | add_library(util |
4 | godot_scene.cpp | 5 | godot_scene.cpp |
5 | identifiers.cpp | 6 | identifiers.cpp |
7 | ids_yaml_format.cpp | ||
6 | naming.cpp | 8 | naming.cpp |
7 | ) | 9 | ) |
8 | set_property(TARGET util PROPERTY CXX_STANDARD 20) | 10 | set_property(TARGET util PROPERTY CXX_STANDARD 20) |
9 | set_property(TARGET util PROPERTY CXX_STANDARD_REQUIRED ON) | 11 | set_property(TARGET util PROPERTY CXX_STANDARD_REQUIRED ON) |
10 | target_include_directories(util PUBLIC ${CMAKE_BINARY_DIR}) | 12 | target_include_directories(util PUBLIC ${CMAKE_BINARY_DIR}) |
11 | target_link_libraries(util PUBLIC protos protobuf::libprotobuf) | 13 | target_link_libraries(util PUBLIC protos protobuf::libprotobuf yaml-cpp::yaml-cpp) |