Per request: Rename DDS to DataDistributionService to prevent confusion with DDS the image format.
This commit is contained in:
parent
ae573877da
commit
09156b90fe
@ -91,7 +91,7 @@ set(SYSTEM_UDNS OFF)
|
||||
endif()
|
||||
|
||||
option(SIMGEAR_HEADLESS "Set to ON to build SimGear without GUI/graphics support" OFF)
|
||||
option(ENABLE_DDS "Set to ON to build FlightGear with DDS support" ON)
|
||||
option(ENABLE_CYCLONE "Set to ON to build SimGear with Cyclone Data Distribution Service support" ON)
|
||||
option(ENABLE_RTI "Set to ON to build SimGear with RTI support" OFF)
|
||||
option(ENABLE_GDAL "Set to ON to build SimGear with GDAL support" OFF)
|
||||
option(ENABLE_TESTS "Set to OFF to disable building SimGear's test applications" ON)
|
||||
@ -210,14 +210,16 @@ else()
|
||||
message(STATUS "RTI: DISABLED")
|
||||
endif(ENABLE_RTI)
|
||||
|
||||
if(ENABLE_DDS)
|
||||
if(ENABLE_CYCLONE)
|
||||
if (NOT TARGET CycloneDDS::ddsc)
|
||||
find_package(CycloneDDS QUIET)
|
||||
endif()
|
||||
if (CycloneDDS_FOUND)
|
||||
message(STATUS "DDS: ENABLED")
|
||||
message(STATUS "Data Distribution Service support: CycloneDDS")
|
||||
else(CycloneDDS_FOUND)
|
||||
message(STATUS "Data Distribution Service support: DISBLED")
|
||||
endif(CycloneDDS_FOUND)
|
||||
endif(ENABLE_DDS)
|
||||
endif(ENABLE_CYCLONE)
|
||||
|
||||
if(ENABLE_GDAL)
|
||||
find_package(GDAL 2.0.0 REQUIRED)
|
||||
|
@ -48,10 +48,10 @@ set(SOURCES
|
||||
|
||||
if (CycloneDDS_FOUND)
|
||||
set(HEADERS ${HEADERS}
|
||||
sg_dds.hxx
|
||||
SGDataDistributionService.hxx
|
||||
)
|
||||
set(SOURCES ${SOURCES}
|
||||
sg_dds.cxx
|
||||
SGDataDistributionService.cxx
|
||||
)
|
||||
endif (CycloneDDS_FOUND)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// sg_dds.cxx -- Data Distribution Service (DDS) I/O routines
|
||||
// SGDataDistributionService.cxx -- Data Distribution Service (DDS) I/O routines
|
||||
//
|
||||
// Written by Erik Hofman, started March 2021.
|
||||
//
|
||||
@ -28,7 +28,7 @@
|
||||
|
||||
#include <simgear/debug/logstream.hxx>
|
||||
|
||||
#include "sg_dds.hxx"
|
||||
#include "SGDataDistributionService.hxx"
|
||||
|
||||
|
||||
#define FG_DDS_DOMAIN DDS_DOMAIN_DEFAULT
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* \file sg_dds.hxx
|
||||
* \file SGDataDistributionService.hxx
|
||||
* Data Distribution Service (DDS) I/O routines
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user