Skip to content

Commit

Permalink
Merge pull request #18 from eclipse-ecal/cmake-folders-sync
Browse files Browse the repository at this point in the history
cmake folder structure aligned with eclipse-ecal, ecal_clang.cpp/h added
  • Loading branch information
rex-schilasky authored Feb 9, 2024
2 parents ddd86e9 + f19af8b commit 3b93a94
Show file tree
Hide file tree
Showing 9 changed files with 1,433 additions and 10 deletions.
9 changes: 5 additions & 4 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
project(core VERSION ${eCAL_VERSION_STRING})

find_package(asio REQUIRED)
find_package(Threads REQUIRED)

if (ECAL_CORE_CONFIG_INIFILE)
find_package(simpleini REQUIRED)
Expand Down Expand Up @@ -410,12 +411,12 @@ if (ECAL_CORE_COMMAND_LINE)
)
endif()


######################################
# common
######################################
set(ecal_cmn_src
src/ecal.cpp
src/ecal_clang.cpp
src/ecal_def.h
src/ecal_def_ini.h
src/ecal_descgate.cpp
Expand Down Expand Up @@ -463,6 +464,7 @@ set(ecal_header_cmn
include/ecal/types/monitoring.h
include/ecal/ecal.h
include/ecal/ecal_callback.h
include/ecal/ecal_clang.h
include/ecal/ecal_client.h
include/ecal/ecal_config.h
include/ecal/ecal_core.h
Expand Down Expand Up @@ -674,6 +676,7 @@ target_link_libraries(${PROJECT_NAME}
$<$<BOOL:${WIN32}>:wsock32>
$<$<BOOL:${QNXNTO}>:socket>
asio::asio
Threads::Threads
eCAL::ecal-utils
)

Expand Down Expand Up @@ -712,9 +715,7 @@ if(NOT ${CMAKE_VERSION} VERSION_LESS "3.8.0")
${ecal_pub_src}
${ecal_sub_src}
${ecal_writer_src}
${ecal_writer_udp_src}
${ecal_reader_src}
${ecal_reader_udp_src}
${ecal_registration_src}
${ecal_serialization_src}
${ecal_service_src}
Expand All @@ -738,5 +739,5 @@ if(UNIX)

ecal_install_app(${PROJECT_NAME_PROCESS_STUB})

set_property(TARGET ${PROJECT_NAME_PROCESS_STUB} PROPERTY FOLDER ecal/core)
set_property(TARGET ${PROJECT_NAME_PROCESS_STUB} PROPERTY FOLDER core)
endif(UNIX)
Loading

0 comments on commit 3b93a94

Please sign in to comment.