# game_data -- typed catalog definitions built from the data files # (weapons, ship sections, turrets, id registries, tech tree, strings) and the # Catalog that loads a whole data root and cross-checks its references. # Include from the root with add_subdirectory(src/game/data) after the two # mars modules; link game_data. add_library(game_data STATIC common.cpp block.cpp weapon.cpp shipsection.cpp turrets.cpp techtree.cpp strings.cpp catalog.cpp ) target_include_directories(game_data PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../..) target_link_libraries(game_data PUBLIC mars_parse mars_text) target_compile_features(game_data PUBLIC cxx_std_17) target_compile_options(game_data PRIVATE -Wall -Wextra -Wpedantic)