office-gobmx/desktop/Executable_scalc.mk
Mike Kaganski cb204a382d Unify executables to take version resource from default.rc
Pass file description in optional second argument to
gb_Executable_add_default_nativeres.
Remove duplicating version resources from officeloader.rc and launcher.rc.

Change-Id: I55c4fc85c470c3dd6f03d909a39459839e70b9cd
Reviewed-on: https://gerrit.libreoffice.org/78333
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-08-31 02:48:18 +02:00

30 lines
868 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,scalc))
$(eval $(call gb_Executable_set_targettype_gui,scalc,YES))
$(eval $(call gb_Executable_add_ldflags,scalc,\
/ENTRY:wWinMainCRTStartup \
))
$(eval $(call gb_Executable_use_static_libraries,scalc,\
winlauncher \
))
$(eval $(call gb_Executable_add_exception_objects,scalc,\
desktop/win32/source/applauncher/scalc \
))
$(eval $(call gb_Executable_add_nativeres,scalc,scalc/launcher))
$(eval $(call gb_Executable_add_default_nativeres,scalc,$(PRODUCTNAME) Calc))
# vim: set ts=4 sw=4 et: