CHG: changed name of the library
This commit is contained in:
@@ -15,11 +15,11 @@ ENDIF()
|
||||
|
||||
|
||||
|
||||
protobuf_generate_cpp(PROTO_PATH include/SimCore/Messages/Protos CPP_PATH include/SimCore/Messages/Protos HPP_PATH include/SimCore/Messages/Protos)
|
||||
# protobuf_generate_cpp(PROTO_PATH include/SimCore/Messages/Protos CPP_PATH include/SimCore/Messages/Protos HPP_PATH include/SimCore/Messages/Protos)
|
||||
|
||||
|
||||
|
||||
add_library(Entites STATIC
|
||||
add_library(EntityLibrary STATIC
|
||||
|
||||
|
||||
include/Entities/Sensor.hpp
|
||||
@@ -31,13 +31,13 @@ add_library(Entites STATIC
|
||||
)
|
||||
|
||||
|
||||
target_link_libraries(Entites
|
||||
target_link_libraries(EntityLibrary
|
||||
SimCore
|
||||
loguru
|
||||
)
|
||||
# add_dependencies(SimCore protoc)
|
||||
|
||||
target_include_directories(Entites PUBLIC
|
||||
target_include_directories(EntityLibrary PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
src)
|
||||
@@ -72,13 +72,14 @@ IF (${TEST_ENTITIY_LIBRARY})
|
||||
|
||||
|
||||
add_executable(test_SensorClass tests/test_SensorClass.cpp)
|
||||
target_link_libraries(test_SensorClass Catch2::Catch2 SimCore loguru)
|
||||
target_link_libraries(test_SensorClass Catch2::Catch2 Entities loguru)
|
||||
catch_discover_tests(test_SensorClass)
|
||||
|
||||
add_executable(test_EntityClass tests/test_EntityClass.cpp)
|
||||
target_link_libraries(test_EntityClass Catch2::Catch2 SimCore loguru)
|
||||
target_link_libraries(test_EntityClass Catch2::Catch2 Entities loguru)
|
||||
catch_discover_tests(test_EntityClass)
|
||||
|
||||
|
||||
add_executable(test_EntityImplementation tests/test_EntityImplementation.cpp)
|
||||
target_link_libraries(test_EntityImplementation Entities loguru)
|
||||
|
||||
ENDIF()
|
||||
|
||||
Reference in New Issue
Block a user