From c88f4184eaa48efbdc69e76eb3c8a4a206434ad3 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 16 Aug 2025 14:52:24 -0400 Subject: Started writing a data validator Currently, it can check whether identifiers point to non-existent objects, or whether multiple objects share the same identifier. It can also determine whether an identifier is underspecified (e.g. a door doesn't specify a room, or a global connection doesn't specify a map). --- tools/util/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/util/CMakeLists.txt') diff --git a/tools/util/CMakeLists.txt b/tools/util/CMakeLists.txt index 8eb8d3b..f086e10 100644 --- a/tools/util/CMakeLists.txt +++ b/tools/util/CMakeLists.txt @@ -1,5 +1,10 @@ +find_package(Protobuf REQUIRED) + add_library(util + identifiers.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) -- cgit 1.4.1