X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fhla%2FCMakeLists.txt;h=02fea2980d91ce1b1ef899ecda3e1d183000dd15;hb=dc9163f8016047f29603c3d40032655132f5c109;hp=bae6eb7381107c349194b082d234913372477546;hpb=baf511684119e219906fa37f3e7c7f43151bb435;p=simgear.git diff --git a/simgear/hla/CMakeLists.txt b/simgear/hla/CMakeLists.txt index bae6eb73..02fea298 100644 --- a/simgear/hla/CMakeLists.txt +++ b/simgear/hla/CMakeLists.txt @@ -7,6 +7,7 @@ set(HLA_HEADERS HLABasicDataElement.hxx HLABasicDataType.hxx HLADataElement.hxx + HLADataElementVisitor.hxx HLADataType.hxx HLADataTypeVisitor.hxx HLAEnumeratedDataElement.hxx @@ -23,18 +24,18 @@ set(HLA_HEADERS HLARawDataElement.hxx HLAVariantDataElement.hxx HLAVariantDataType.hxx + HLAVariantRecordDataElement.hxx + HLAVariantRecordDataType.hxx ) 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 @@ -45,21 +46,24 @@ set(HLA_SOURCES HLAOMTXmlVisitor.cxx HLAPropertyDataElement.cxx HLARawDataElement.cxx - HLAVariantDataElement.cxx - HLAVariantDataType.cxx + HLAVariantRecordDataElement.cxx + HLAVariantRecordDataType.cxx ) 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}" "")