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-16 14:52:24 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-08-16 14:52:24 -0400
commitc88f4184eaa48efbdc69e76eb3c8a4a206434ad3 (patch)
treec1da4c419d90debafdd7f71347fe5f3194ff13ee /tools/util/CMakeLists.txt
parentac600120eb923e99c534f5c405f7f529c1b25bcf (diff)
downloadlingo2-archipelago-c88f4184eaa48efbdc69e76eb3c8a4a206434ad3.tar.gz
lingo2-archipelago-c88f4184eaa48efbdc69e76eb3c8a4a206434ad3.tar.bz2
lingo2-archipelago-c88f4184eaa48efbdc69e76eb3c8a4a206434ad3.zip
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).
Diffstat (limited to 'tools/util/CMakeLists.txt')
-rw-r--r--tools/util/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
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 @@
1find_package(Protobuf REQUIRED)
2
1add_library(util 3add_library(util
4 identifiers.cpp
2 naming.cpp 5 naming.cpp
3) 6)
4set_property(TARGET util PROPERTY CXX_STANDARD 20) 7set_property(TARGET util PROPERTY CXX_STANDARD 20)
5set_property(TARGET util PROPERTY CXX_STANDARD_REQUIRED ON) 8set_property(TARGET util PROPERTY CXX_STANDARD_REQUIRED ON)
9target_include_directories(util PUBLIC ${CMAKE_BINARY_DIR})
10target_link_libraries(util PUBLIC protos protobuf::libprotobuf)