16 lines
739 B
CMake
16 lines
739 B
CMake
# game_design -- ship-design assembly rules on the game_data catalogs: the
|
|
# five-slot design record, the validator (structure / banks & weapon fit /
|
|
# tech gating / options), applied_techs (the save's DOpts), derived stats and
|
|
# the default-weapon table.
|
|
# Include from the root with add_subdirectory(src/game/design) after
|
|
# add_subdirectory(src/game/data); link game_design.
|
|
add_library(game_design STATIC
|
|
design.cpp
|
|
rules.cpp
|
|
stats.cpp
|
|
defaults.cpp
|
|
)
|
|
target_include_directories(game_design PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../..)
|
|
target_link_libraries(game_design PUBLIC game_data)
|
|
target_compile_features(game_design PUBLIC cxx_std_17)
|
|
target_compile_options(game_design PRIVATE -Wall -Wextra -Wpedantic -Werror)
|