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