074714fab8
This patch includes: 1. CustomTarget to build and place the LibreOffice.Bindings NuGet package in <sdk>/dotnet/ 2. net_bridge (.NET library) to declare bootstrap() on the C# side, and net_bootstrap (C++ library) to wrap bootstrap() on the native side 3. Changes to LO SDK scripts to find .NET SDK and DOTNET_ROOT on the users machine Change-Id: Ia29ae56a2ad0f808f1563ef6167a3bd7c476642e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170172 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
18 lines
681 B
Makefile
18 lines
681 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_Package_Package,net_bridge,$(gb_DotnetLibrary_workdir)/net_bridge))
|
|
|
|
$(gb_DotnetLibrary_workdir)/net_bridge/net_bridge.runtimeconfig.json : $(call gb_DotnetLibrary_get_target,net_bridge)
|
|
|
|
$(eval $(call gb_Package_add_files,net_bridge,$(LIBO_SHARE_DOTNET_FOLDER),\
|
|
net_bridge.dll \
|
|
net_bridge.runtimeconfig.json \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|