X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fhla%2FCMakeLists.txt;h=a822fc2465810b68797cc26febc19102dcffb733;hb=85e58b4a49d3c3b74afed3c766b47b65a6a95a66;hp=bae6eb7381107c349194b082d234913372477546;hpb=ce71b8c1cf761742ab88975442f4037b5e460114;p=simgear.git diff --git a/simgear/hla/CMakeLists.txt b/simgear/hla/CMakeLists.txt index bae6eb73..a822fc24 100644 --- a/simgear/hla/CMakeLists.txt +++ b/simgear/hla/CMakeLists.txt @@ -26,15 +26,13 @@ set(HLA_HEADERS ) set(HLA_SOURCES - RTIObjectClass.cxx - RTIObjectInstance.cxx - RTIFederate.cxx HLAArrayDataElement.cxx HLAArrayDataType.cxx HLABasicDataElement.cxx HLABasicDataType.cxx HLADataElement.cxx HLADataType.cxx + HLADataTypeVisitor.cxx HLAEnumeratedDataElement.cxx HLAEnumeratedDataType.cxx HLAFederate.cxx @@ -51,15 +49,18 @@ set(HLA_SOURCES simgear_component(hla hla "${HLA_SOURCES}" "${HLA_HEADERS}") if(RTI_FOUND) - set(HLA13_HEADERS - HLA13Federate.hxx - ) - set(HLA13_SOURCES + set(RTI13_SOURCES RTI13ObjectClass.cxx RTI13ObjectInstance.cxx RTI13Federate.cxx - HLA13Federate.cxx ) - simgear_component(hla13 hla "${HLA13_SOURCES}" "${HLA13_HEADERS}") - set_property(TARGET sghla13 APPEND PROPERTY COMPILE_FLAGS "-I${RTI_INCLUDE_DIR}") + simgear_component(rti13 hla "${RTI13_SOURCES}" "") + set_property(TARGET sgrti13 APPEND PROPERTY COMPILE_FLAGS "-I${RTI_INCLUDE_DIR}") endif() + +set(RTI_SOURCES + RTIObjectClass.cxx + RTIObjectInstance.cxx + RTIFederate.cxx + ) +simgear_component(rti hla "${RTI_SOURCES}" "")