ab09422405
... like implemented in506173a7f4
for soffice.bin. Previously unopkg.com prepared some communication pipes, and launched unopkg.exe, which in turn launched unopkg.bin (both GUI subsystem apps), and when the latter sent output to console, it was redirected to the pipes, and finally sent to console by unopkg.com (details in dropped desktop/win32/source/guistdio/guistdio.inc). The implementation made it impossible to use standard console output function from c/c++ standard libraries; WinAPI had to be used. Special API had been implemented for that: dp_misc::writeConsole*, and still part of output was garbled. Commit015e9f780b
tried to workaround that, effectively making loghandler unusable outside of unopkg. This change makes unopkg.com a console subsystem clone of unopkg.exe, and unopkg.bin is now also console application. This allows to cleanup and unify its output in a follow-up commit. Change-Id: I3b299e09f8a11a72883b06442b0e95131ffaac5f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87210 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
29 lines
826 B
Makefile
29 lines
826 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_Executable_Executable,unopkg_com))
|
|
|
|
$(eval $(call gb_Executable_set_targettype_gui,unopkg_com,NO))
|
|
|
|
$(eval $(call gb_Executable_use_static_libraries,unopkg_com,\
|
|
ooopathutils \
|
|
winloader \
|
|
))
|
|
|
|
$(eval $(call gb_Executable_use_system_win32_libs,unopkg_com,\
|
|
shell32 \
|
|
))
|
|
|
|
$(eval $(call gb_Executable_add_exception_objects,unopkg_com,\
|
|
desktop/win32/source/officeloader/unopkg_com \
|
|
))
|
|
|
|
$(eval $(call gb_Executable_add_default_nativeres,unopkg_com))
|
|
|
|
# vim: set ts=4 sw=4 et:
|