The rustmaker provides comprehensive support for converting UNO type definitions into idiomatic Rust code with proper memory safety and type system integration. Also adds the RustFile, RustOptions, and RustProducer classes to handle Rust code generation, file management, and command line option parsing for various UNO type kinds such as enums, structs, and interfaces. Change-Id: Iaf87af13352c55e81c1745ef7a8f591c3e61e0a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188088 Reviewed-by: Stephan Bergmann <stephan.bergmann@collabora.com> Tested-by: Jenkins
27 lines
821 B
Makefile
27 lines
821 B
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
|
|
$(eval $(call gb_Module_Module,codemaker))
|
|
|
|
# if not cross-compiling or we need this for ODK
|
|
ifneq (,$(if $(CROSS_COMPILING),,T)$(filter ODK,$(BUILD_TYPE)))
|
|
$(eval $(call gb_Module_add_targets,codemaker,\
|
|
StaticLibrary_codemaker \
|
|
StaticLibrary_codemaker_cpp \
|
|
StaticLibrary_codemaker_java \
|
|
Executable_javamaker \
|
|
Executable_cppumaker \
|
|
Executable_netmaker \
|
|
Executable_pythonmaker \
|
|
$(if $(ENABLE_RUST_UNO),Executable_rustmaker) \
|
|
))
|
|
endif
|
|
|
|
# vim:set noet sw=4 ts=4:
|