]> git.mxchange.org Git - simgear.git/blob - simgear/hla/CMakeLists.txt
hla: Initially request update for subscribed unowned attributes.
[simgear.git] / simgear / hla / CMakeLists.txt
1 include (SimGearComponent)
2
3 set(HLA_HEADERS
4     RTIData.hxx
5     HLAArrayDataElement.hxx
6     HLAArrayDataType.hxx
7     HLABasicDataElement.hxx
8     HLABasicDataType.hxx
9     HLADataElement.hxx
10     HLADataType.hxx
11     HLADataTypeVisitor.hxx
12     HLAEnumeratedDataElement.hxx
13     HLAEnumeratedDataType.hxx
14     HLAFixedRecordDataElement.hxx
15     HLAFixedRecordDataType.hxx
16     HLAFederate.hxx
17     HLAInteractionClass.hxx
18     HLALocation.hxx
19     HLAObjectClass.hxx
20     HLAObjectInstance.hxx
21     HLAOMTXmlVisitor.hxx
22     HLAPropertyDataElement.hxx
23     HLARawDataElement.hxx
24     HLAVariantDataElement.hxx
25     HLAVariantDataType.hxx
26     )
27
28 set(HLA_SOURCES
29     HLAArrayDataElement.cxx
30     HLAArrayDataType.cxx
31     HLABasicDataElement.cxx
32     HLABasicDataType.cxx
33     HLADataElement.cxx
34     HLADataType.cxx
35     HLADataTypeVisitor.cxx
36     HLAEnumeratedDataElement.cxx
37     HLAEnumeratedDataType.cxx
38     HLAFederate.cxx
39     HLAFixedRecordDataElement.cxx
40     HLAFixedRecordDataType.cxx
41     HLAObjectClass.cxx
42     HLAObjectInstance.cxx
43     HLAOMTXmlVisitor.cxx
44     HLAPropertyDataElement.cxx
45     HLARawDataElement.cxx
46     HLAVariantDataElement.cxx
47     HLAVariantDataType.cxx
48     )
49 simgear_component(hla hla "${HLA_SOURCES}" "${HLA_HEADERS}")
50
51 if(RTI_FOUND)
52   set(RTI13_SOURCES
53     RTI13ObjectClass.cxx
54     RTI13ObjectInstance.cxx
55     RTI13Federate.cxx
56     )
57   simgear_component(rti13 hla "${RTI13_SOURCES}" "")
58   set_property(TARGET sgrti13 APPEND PROPERTY COMPILE_FLAGS "-I${RTI_INCLUDE_DIR}")
59 endif()
60
61 set(RTI_SOURCES
62   RTIObjectClass.cxx
63   RTIObjectInstance.cxx
64   RTIFederate.cxx
65   )
66 simgear_component(rti hla "${RTI_SOURCES}" "")