2022-05-03 18:53:24 +02:00
|
|
|
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
|
|
|
|
|
2020-09-29 13:47:50 +02:00
|
|
|
project(simple_velocity_system CXX)
|
|
|
|
|
2021-12-13 18:42:22 +01:00
|
|
|
add_library(simple_velocity_system
|
2020-09-29 13:47:50 +02:00
|
|
|
src/mm/systems/simple_velocity_system2d.hpp
|
2021-12-13 18:42:22 +01:00
|
|
|
src/mm/systems/simple_velocity_system2d.cpp
|
2020-09-29 13:47:50 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(simple_velocity_system PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
|
|
|
|
|
|
|
target_link_libraries(simple_velocity_system
|
|
|
|
entt
|
|
|
|
glm
|
|
|
|
engine
|
|
|
|
common_components
|
|
|
|
)
|
|
|
|
|
|
|
|
if (BUILD_TESTING)
|
|
|
|
add_subdirectory(test)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|