mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2024-12-04 19:23:28 +01:00
25 lines
461 B
CMake
25 lines
461 B
CMake
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
|
|
|
|
project(player_velocity_system CXX)
|
|
|
|
add_library(player_velocity_system
|
|
src/mm/systems/player_velocity2d_system.hpp
|
|
src/mm/systems/player_velocity2d_system.cpp
|
|
)
|
|
|
|
target_include_directories(player_velocity_system PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
|
|
|
target_link_libraries(player_velocity_system
|
|
entt
|
|
glm
|
|
engine
|
|
common_components
|
|
input_service
|
|
)
|
|
|
|
if (BUILD_TESTING)
|
|
add_subdirectory(test)
|
|
endif()
|
|
|
|
|