More CMake headers support
This commit is contained in:
parent
7abf7c5748
commit
1c8d8e7908
8 changed files with 89 additions and 13 deletions
|
@ -6,5 +6,12 @@ set(SOURCES
|
|||
modelmgr.cxx
|
||||
panelnode.cxx
|
||||
)
|
||||
|
||||
flightgear_component(Model "${SOURCES}")
|
||||
|
||||
set(HEADERS
|
||||
acmodel.hxx
|
||||
model_panel.hxx
|
||||
modelmgr.hxx
|
||||
panelnode.hxx
|
||||
)
|
||||
|
||||
flightgear_component(Model "${SOURCES}" "${HEADERS}")
|
|
@ -5,4 +5,9 @@ set(SOURCES
|
|||
tiny_xdr.cxx
|
||||
)
|
||||
|
||||
flightgear_component(MultiPlayer "${SOURCES}")
|
||||
set(HEADERS
|
||||
multiplaymgr.hxx
|
||||
tiny_xdr.hxx
|
||||
)
|
||||
|
||||
flightgear_component(MultiPlayer "${SOURCES}" "${HEADERS}")
|
|
@ -27,8 +27,36 @@ set(SOURCES
|
|||
ray.cxx
|
||||
rul.cxx
|
||||
)
|
||||
|
||||
flightgear_component(Network "${SOURCES}")
|
||||
|
||||
set(HEADERS
|
||||
ATC-Inputs.hxx
|
||||
ATC-Main.hxx
|
||||
ATC-Outputs.hxx
|
||||
AV400.hxx
|
||||
AV400Sim.hxx
|
||||
AV400WSim.hxx
|
||||
atlas.hxx
|
||||
garmin.hxx
|
||||
generic.hxx
|
||||
httpd.hxx
|
||||
joyclient.hxx
|
||||
jpg-httpd.hxx
|
||||
jsclient.hxx
|
||||
lfsglass.hxx
|
||||
native.hxx
|
||||
native_ctrls.hxx
|
||||
native_fdm.hxx
|
||||
native_gui.hxx
|
||||
nmea.hxx
|
||||
opengc.hxx
|
||||
props.hxx
|
||||
protocol.hxx
|
||||
pve.hxx
|
||||
ray.hxx
|
||||
rul.hxx
|
||||
)
|
||||
|
||||
flightgear_component(Network "${SOURCES}" "${HEADERS}")
|
||||
|
||||
if(RTI_FOUND)
|
||||
add_subdirectory(HLA)
|
||||
|
|
|
@ -6,6 +6,13 @@ set(SOURCES
|
|||
scenery.cxx
|
||||
tilemgr.cxx
|
||||
)
|
||||
|
||||
flightgear_component(Scenery "${SOURCES}")
|
||||
|
||||
set(HEADERS
|
||||
SceneryPager.hxx
|
||||
redout.hxx
|
||||
scenery.hxx
|
||||
tilemgr.hxx
|
||||
)
|
||||
|
||||
flightgear_component(Scenery "${SOURCES}" "${HEADERS}")
|
||||
|
||||
|
|
|
@ -4,6 +4,11 @@ set(SOURCES
|
|||
NasalSys.cxx
|
||||
nasal-props.cxx
|
||||
)
|
||||
|
||||
flightgear_component(Scripting "${SOURCES}")
|
||||
|
||||
set(HEADERS
|
||||
NasalSys.hxx
|
||||
)
|
||||
|
||||
|
||||
flightgear_component(Scripting "${SOURCES}" "${HEADERS}")
|
||||
|
||||
|
|
|
@ -8,5 +8,14 @@ set(SOURCES
|
|||
voice.cxx
|
||||
voiceplayer.cxx
|
||||
)
|
||||
|
||||
flightgear_component(Sound "${SOURCES}")
|
||||
|
||||
set(HEADERS
|
||||
beacon.hxx
|
||||
fg_fx.hxx
|
||||
morse.hxx
|
||||
sample_queue.hxx
|
||||
voice.hxx
|
||||
voiceplayer.hxx
|
||||
)
|
||||
|
||||
flightgear_component(Sound "${SOURCES}" "${HEADERS}")
|
|
@ -7,5 +7,14 @@ set(SOURCES
|
|||
system_mgr.cxx
|
||||
vacuum.cxx
|
||||
)
|
||||
|
||||
set(HEADERS
|
||||
electrical.hxx
|
||||
pitot.hxx
|
||||
static.hxx
|
||||
system_mgr.hxx
|
||||
vacuum.hxx
|
||||
)
|
||||
|
||||
|
||||
flightgear_component(Systems "${SOURCES}")
|
||||
flightgear_component(Systems "${SOURCES}" "${HEADERS}")
|
|
@ -6,4 +6,10 @@ set(SOURCES
|
|||
sunsolver.cxx
|
||||
)
|
||||
|
||||
flightgear_component(Time "${SOURCES}")
|
||||
set(HEADERS
|
||||
TimeManager.hxx
|
||||
light.hxx
|
||||
sunsolver.hxx
|
||||
)
|
||||
|
||||
flightgear_component(Time "${SOURCES}" "${HEADERS}")
|
Loading…
Add table
Reference in a new issue