2017-08-24 15:21:41 +02:00
|
|
|
gapi_fixup = executable('gapi-fixup', 'gapi-fixup.cs',
|
|
|
|
install_dir : gapi_installdir,
|
2017-08-31 13:42:08 +02:00
|
|
|
install: install)
|
2017-08-24 15:21:41 +02:00
|
|
|
|
|
|
|
gapi_codegen = executable('gapi_codegen',
|
|
|
|
'AliasGen.cs',
|
|
|
|
'ArrayParameter.cs',
|
|
|
|
'BoxedGen.cs',
|
|
|
|
'ByRefGen.cs',
|
|
|
|
'CallbackGen.cs',
|
|
|
|
'ChildProperty.cs',
|
|
|
|
'ClassBase.cs',
|
|
|
|
'ClassField.cs',
|
|
|
|
'ClassGen.cs',
|
|
|
|
'CodeGenerator.cs',
|
|
|
|
'ConstFilenameGen.cs',
|
|
|
|
'ConstStringGen.cs',
|
|
|
|
'Constant.cs',
|
|
|
|
'Ctor.cs',
|
|
|
|
'DefaultSignalHandler.cs',
|
|
|
|
'EnumGen.cs',
|
|
|
|
'FieldBase.cs',
|
|
|
|
'GenBase.cs',
|
|
|
|
'GenerationInfo.cs',
|
|
|
|
'GObjectVM.cs',
|
|
|
|
'HandleBase.cs',
|
|
|
|
'IAccessor.cs',
|
|
|
|
'IGeneratable.cs',
|
|
|
|
'IManualMarshaler.cs',
|
|
|
|
'InterfaceGen.cs',
|
|
|
|
'InterfaceVM.cs',
|
|
|
|
'IOwnable.cs',
|
|
|
|
'LogWriter.cs',
|
|
|
|
'LPGen.cs',
|
|
|
|
'LPUGen.cs',
|
|
|
|
'ManagedCallString.cs',
|
|
|
|
'ManualGen.cs',
|
|
|
|
'MarshalGen.cs',
|
|
|
|
'MethodBase.cs',
|
|
|
|
'MethodBody.cs',
|
|
|
|
'Method.cs',
|
|
|
|
'NativeStructGen.cs',
|
|
|
|
'ObjectField.cs',
|
2017-08-31 13:45:26 +02:00
|
|
|
'StructABIField.cs',
|
2017-08-24 15:21:41 +02:00
|
|
|
'ObjectBase.cs',
|
|
|
|
'ObjectGen.cs',
|
|
|
|
'OpaqueGen.cs',
|
|
|
|
'Options.cs',
|
|
|
|
'OwnableGen.cs',
|
|
|
|
'Parameter.cs',
|
|
|
|
'Parameters.cs',
|
|
|
|
'Parser.cs',
|
|
|
|
'Property.cs',
|
|
|
|
'PropertyBase.cs',
|
|
|
|
'ReturnValue.cs',
|
|
|
|
'Signal.cs',
|
|
|
|
'Signature.cs',
|
|
|
|
'SimpleBase.cs',
|
|
|
|
'SimpleGen.cs',
|
|
|
|
'Statistics.cs',
|
|
|
|
'StructBase.cs',
|
|
|
|
'StructField.cs',
|
|
|
|
'StructGen.cs',
|
|
|
|
'SymbolTable.cs',
|
|
|
|
'UnionGen.cs',
|
|
|
|
'VirtualMethod.cs',
|
|
|
|
'VMSignature.cs',
|
|
|
|
'XmlElementExtensions.cs',
|
|
|
|
install_dir : gapi_installdir,
|
2017-08-31 13:42:08 +02:00
|
|
|
install: install)
|
2017-08-24 15:21:41 +02:00
|
|
|
|
2017-08-31 13:42:08 +02:00
|
|
|
if install
|
|
|
|
configure_file(input: 'gapi3-fixup.in',
|
|
|
|
output: 'gapi3-fixup',
|
|
|
|
configuration : gapi_parser_data,
|
|
|
|
install_dir: get_option('bindir'))
|
|
|
|
configure_file(input: 'gapi3-codegen.in',
|
|
|
|
output: 'gapi3-codegen',
|
|
|
|
configuration : gapi_parser_data,
|
|
|
|
install_dir: get_option('bindir'))
|
|
|
|
else
|
|
|
|
configure_file(input: 'gapi3-fixup.in',
|
|
|
|
output: 'gapi3-fixup',
|
|
|
|
configuration : gapi_parser_data)
|
|
|
|
configure_file(input: 'gapi3-codegen.in',
|
|
|
|
output: 'gapi3-codegen',
|
|
|
|
configuration : gapi_parser_data)
|
|
|
|
endif
|