diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-08-16 14:52:24 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-08-16 14:52:24 -0400 |
| commit | c88f4184eaa48efbdc69e76eb3c8a4a206434ad3 (patch) | |
| tree | c1da4c419d90debafdd7f71347fe5f3194ff13ee /tools/validator/CMakeLists.txt | |
| parent | ac600120eb923e99c534f5c405f7f529c1b25bcf (diff) | |
| download | lingo2-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/validator/CMakeLists.txt')
| -rw-r--r-- | tools/validator/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
| diff --git a/tools/validator/CMakeLists.txt b/tools/validator/CMakeLists.txt new file mode 100644 index 0000000..0ad58c2 --- /dev/null +++ b/tools/validator/CMakeLists.txt | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | find_package(Protobuf REQUIRED) | ||
| 2 | |||
| 3 | add_executable(validator | ||
| 4 | human_processor.cpp | ||
| 5 | main.cpp | ||
| 6 | validator.cpp | ||
| 7 | ) | ||
| 8 | set_property(TARGET validator PROPERTY CXX_STANDARD 20) | ||
| 9 | set_property(TARGET validator PROPERTY CXX_STANDARD_REQUIRED ON) | ||
| 10 | target_include_directories(validator PUBLIC ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/tools) | ||
| 11 | target_link_libraries(validator PUBLIC protos util protobuf::libprotobuf) | ||
