summary refs log tree commit diff stats
path: root/tools/util/CMakeLists.txt
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-08-19 20:19:48 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-08-19 20:19:48 -0400
commit724f8092c4808cdad47316e00949c04ee797acb5 (patch)
tree758d598fbc2d62c4620956b71b2a851791fd2dbf /tools/util/CMakeLists.txt
parent511d813113b6e7986aff665603ca0196799e232d (diff)
downloadlingo2-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.txt4
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 @@
1find_package(Protobuf REQUIRED) 1find_package(Protobuf REQUIRED)
2find_package(yaml-cpp REQUIRED)
2 3
3add_library(util 4add_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)
8set_property(TARGET util PROPERTY CXX_STANDARD 20) 10set_property(TARGET util PROPERTY CXX_STANDARD 20)
9set_property(TARGET util PROPERTY CXX_STANDARD_REQUIRED ON) 11set_property(TARGET util PROPERTY CXX_STANDARD_REQUIRED ON)
10target_include_directories(util PUBLIC ${CMAKE_BINARY_DIR}) 12target_include_directories(util PUBLIC ${CMAKE_BINARY_DIR})
11target_link_libraries(util PUBLIC protos protobuf::libprotobuf) 13target_link_libraries(util PUBLIC protos protobuf::libprotobuf yaml-cpp::yaml-cpp)