Skip to content

Commit

Permalink
Fix building as static library (#4813)
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <[email protected]>
  • Loading branch information
richiware authored Jun 4, 2024
1 parent b002c1d commit 74acbb8
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions src/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,23 @@ set(${PROJECT_NAME}_source_files
fastdds/topic/TopicProxyFactory.cpp
fastdds/topic/TypeSupport.cpp
fastdds/utils/QosConverters.cpp
fastdds/xtypes/dynamic_types/AnnotationDescriptorImpl.cpp
fastdds/xtypes/dynamic_types/DynamicDataFactory.cpp
fastdds/xtypes/dynamic_types/DynamicDataImpl.cpp
fastdds/xtypes/dynamic_types/DynamicDataFactoryImpl.cpp
fastdds/xtypes/dynamic_types/DynamicPubSubType.cpp
fastdds/xtypes/dynamic_types/DynamicTypeImpl.cpp
fastdds/xtypes/dynamic_types/DynamicTypeBuilderFactory.cpp
fastdds/xtypes/dynamic_types/DynamicTypeBuilderImpl.cpp
fastdds/xtypes/dynamic_types/DynamicTypeBuilderFactoryImpl.cpp
fastdds/xtypes/dynamic_types/DynamicTypeMemberImpl.cpp
fastdds/xtypes/dynamic_types/MemberDescriptorImpl.cpp
fastdds/xtypes/dynamic_types/TypeDescriptorImpl.cpp
fastdds/xtypes/dynamic_types/VerbatimTextDescriptorImpl.cpp
fastdds/xtypes/exception/Exception.cpp
fastdds/xtypes/type_representation/dds_xtypes_typeobjectPubSubTypes.cxx
fastdds/xtypes/type_representation/TypeObjectRegistry.cpp
fastdds/xtypes/type_representation/TypeObjectUtils.cpp
rtps/attributes/EndpointSecurityAttributes.cpp
rtps/attributes/PropertyPolicy.cpp
rtps/attributes/RTPSParticipantAttributes.cpp
Expand Down Expand Up @@ -478,9 +495,6 @@ target_link_libraries(${PROJECT_NAME}

PRIVATE
eProsima_atomic
fastdds::log
fastdds::xtypes::dynamic-types::impl
fastdds::xtypes::type-representation
)

if(MSVC OR MSVC_IDE)
Expand Down

0 comments on commit 74acbb8

Please sign in to comment.