tdf#149256 Ship LibreOfficeKit headers in packages

With LibreOfficeKit (LOK) headers in place, it would be possible to
create C++ applications that can access LibreOffice functionality
without building LibreOffice, only by installing SDK and build tools.

Change-Id: I8efc8ac1cec7b3b89e4d7eb2c8d15afeb595672c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134863
Tested-by: Hossein <hossein@libreoffice.org>
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
This commit is contained in:
Hossein 2024-01-09 10:55:01 +00:00
parent ecb0d08e3c
commit 1305edfbc2
2 changed files with 11 additions and 0 deletions

View file

@ -28,6 +28,12 @@ $(eval $(call gb_CppunitTest_set_external_code,odk_checkapi))
$(eval $(call gb_CppunitTest_set_include,odk_checkapi, \
-I$(INSTDIR)/$(SDKDIRNAME)/include $(SOLARINC)))
ifeq ($(OS),LINUX)
$(eval $(call gb_CppunitTest_add_libs,odk_checkapi,\
-ldl \
))
endif
$(eval $(call gb_CppunitTest_use_custom_headers,odk_checkapi,\
odk/allheaders \
))

View file

@ -185,6 +185,11 @@ $(eval $(call gb_Package_add_files_with_dir,odk_headers,$(SDKDIRNAME)/include,\
uno/mapping.hxx \
uno/sequence2.h \
uno/threadpool.h \
LibreOfficeKit/LibreOfficeKit.hxx \
LibreOfficeKit/LibreOfficeKitEnums.h \
LibreOfficeKit/LibreOfficeKit.h \
LibreOfficeKit/LibreOfficeKitInit.h \
LibreOfficeKit/LibreOfficeKitTypes.h \
))
# vim: set noet sw=4 ts=4: