For more info, run 'fgrcc --help' and/or read the presentation at [1] (will be probably added to $FG_ROOT/Docs at some later point). [1] https://sourceforge.net/p/flightgear/mailman/message/35870025/
38 lines
522 B
CMake
38 lines
522 B
CMake
|
|
include_directories(${PROJECT_SOURCE_DIR})
|
|
|
|
# note order here affects link order, and hence linking correctness
|
|
# on systems with a traditional ld (eg, GNU ld on Linux)
|
|
foreach( mylibfolder
|
|
Airports
|
|
Aircraft
|
|
ATC
|
|
EmbeddedResources
|
|
Canvas
|
|
Radio
|
|
Autopilot
|
|
Cockpit
|
|
Environment
|
|
GUI
|
|
Input
|
|
Instrumentation
|
|
Model
|
|
MultiPlayer
|
|
AIModel
|
|
Navaids
|
|
Network
|
|
Scenery
|
|
Scripting
|
|
Sound
|
|
Systems
|
|
Time
|
|
Traffic
|
|
FDM
|
|
Viewer
|
|
Main
|
|
)
|
|
|
|
add_subdirectory(${mylibfolder})
|
|
|
|
endforeach( mylibfolder )
|
|
|