ADD: added Movement calculation and a Tracklist class
This commit is contained in:
@@ -57,11 +57,21 @@ add_library(EntityLibrary STATIC
|
||||
include/Entities/Entity.hpp
|
||||
src/Entities/Entity.cpp
|
||||
|
||||
include/Entities/Movement.hpp
|
||||
src/Entities/Movement.cpp
|
||||
|
||||
|
||||
include/Entities/Tracklist/Tracklist.hpp
|
||||
src/Entities/Tracklist/Tracklist.cpp
|
||||
|
||||
include/Entities/Tracklist/TracklistItem.hpp
|
||||
src/Entities/Tracklist/TrackListItem.cpp
|
||||
)
|
||||
|
||||
|
||||
target_link_libraries(EntityLibrary
|
||||
SimCore
|
||||
eigen
|
||||
loguru
|
||||
)
|
||||
# add_dependencies(SimCore protoc)
|
||||
@@ -107,12 +117,22 @@ IF (${TEST_ENTITIY_LIBRARY})
|
||||
add_executable(test_EntityClass tests/test_EntityClass.cpp)
|
||||
target_link_libraries(test_EntityClass Catch2::Catch2 EntityLibrary loguru)
|
||||
catch_discover_tests(test_EntityClass)
|
||||
|
||||
add_executable(test_MovementClass tests/test_MovementClass.cpp)
|
||||
target_link_libraries(test_MovementClass Catch2::Catch2 EntityLibrary SimCore loguru)
|
||||
catch_discover_tests(test_MovementClass)
|
||||
|
||||
add_executable(test_EntityImplementation tests/test_EntityImplementation.cpp)
|
||||
target_link_libraries(test_EntityImplementation EntityLibrary loguru)
|
||||
|
||||
add_executable(test_Tracklist tests/test_Tracklist.cpp)
|
||||
target_link_libraries(test_Tracklist Catch2::Catch2 EntityLibrary loguru)
|
||||
catch_discover_tests(test_Tracklist)
|
||||
|
||||
add_executable(test_MoveOrder tests/test_MoveOrder.cpp)
|
||||
target_link_libraries(test_MoveOrder Catch2::Catch2 OrderLibrary loguru)
|
||||
catch_discover_tests(test_MoveOrder)
|
||||
|
||||
|
||||
|
||||
ENDIF()
|
||||
|
||||
Reference in New Issue
Block a user