@@ -10,6 +10,7 @@ class SkyboltConan(ConanFile):
1010 options = {
1111 "enable_bullet" : [True , False ],
1212 "enable_fft_ocean" : [True , False ],
13+ "enable_jsbsim" : [True , False ],
1314 "enable_map_features_converter" : [True , False ],
1415 "enable_python" : [True , False ],
1516 "enable_qt" : [True , False ],
@@ -20,6 +21,7 @@ class SkyboltConan(ConanFile):
2021 default_options = {
2122 "enable_bullet" : False ,
2223 "enable_fft_ocean" : True ,
24+ "enable_jsbsim" : False ,
2325 "enable_map_features_converter" : True ,
2426 "enable_python" : True ,
2527 "enable_qt" : True ,
@@ -68,6 +70,9 @@ def requirements(self):
6870 self .include_package ("mufft" , "1.0.0" )
6971 self .include_package ("xsimd" , "7.4.10" , transitive_headers = True )
7072
73+ if self .options .enable_jsbsim :
74+ self .requires ("jsbsim/1.1.13" )
75+
7176 if self .options .enable_map_features_converter :
7277 self .requires ("readosm/1.1.0a" )
7378
@@ -85,6 +90,9 @@ def generate(self):
8590 tc .variables ["SKYBOLT_PLUGINS_STATIC_BUILD" ] = str (not self .options .shared_plugins )
8691 tc .variables ["Skybolt_VERSION" ] = self .version
8792
93+ if self .options .enable_bullet :
94+ tc .variables ["BUILD_JSBSIM_PLUGIN" ] = "true"
95+
8896 if self .options .enable_bullet :
8997 tc .variables ["BUILD_BULLET_PLUGIN" ] = "true"
9098
0 commit comments