@@ -40,8 +40,10 @@ class ReflectCppConan(ConanFile):
4040 "fPIC" : [True , False ],
4141 "with_capnproto" : [True , False ],
4242 "with_cbor" : [True , False ],
43+ "with_csv" : [True , False ],
4344 "with_flatbuffers" : [True , False ],
4445 "with_msgpack" : [True , False ],
46+ "with_parquet" : [True , False ],
4547 "with_toml" : [True , False ],
4648 "with_ubjson" : [True , False ],
4749 "with_xml" : [True , False ],
@@ -52,8 +54,10 @@ class ReflectCppConan(ConanFile):
5254 "fPIC" : True ,
5355 "with_capnproto" : False ,
5456 "with_cbor" : False ,
57+ "with_csv" : False ,
5558 "with_flatbuffers" : False ,
5659 "with_msgpack" : False ,
60+ "with_parquet" : False ,
5761 "with_toml" : False ,
5862 "with_ubjson" : False ,
5963 "with_xml" : False ,
@@ -75,6 +79,8 @@ def requirements(self):
7579 self .requires ("capnproto/1.1.0" , transitive_headers = True )
7680 if self .options .with_cbor or self .options .with_ubjson :
7781 self .requires ("jsoncons/0.176.0" , transitive_headers = True )
82+ if self .options .with_csv or self .options .with_parquet :
83+ self .requires ("arrow/21.0.0" , transitive_headers = True )
7884 if self .options .with_flatbuffers :
7985 self .requires ("flatbuffers/24.3.25" , transitive_headers = True )
8086 if self .options .with_msgpack :
@@ -110,8 +116,10 @@ def generate(self):
110116 tc .cache_variables ["REFLECTCPP_USE_VCPKG" ] = False
111117 tc .cache_variables ["REFLECTCPP_CAPNPROTO" ] = self .options .with_capnproto
112118 tc .cache_variables ["REFLECTCPP_CBOR" ] = self .options .with_cbor
119+ tc .cache_variables ["REFLECTCPP_CSV" ] = self .options .with_csv
113120 tc .cache_variables ["REFLECTCPP_FLEXBUFFERS" ] = self .options .with_flatbuffers
114121 tc .cache_variables ["REFLECTCPP_MSGPACK" ] = self .options .with_msgpack
122+ tc .cache_variables ["REFLECTCPP_PARQUET" ] = self .options .with_parquet
115123 tc .cache_variables ["REFLECTCPP_TOML" ] = self .options .with_toml
116124 tc .cache_variables ["REFLECTCPP_XML" ] = self .options .with_xml
117125 tc .cache_variables ["REFLECTCPP_YAML" ] = self .options .with_yaml
0 commit comments