office-gobmx/desktop/WinResTarget_smath.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

27 lines
827 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_WinResTarget_WinResTarget,smath/launcher))
$(eval $(call gb_WinResTarget_set_include,smath/launcher,\
$$(INCLUDE) \
-I$(SRCDIR)/sysui/desktop \
))
$(eval $(call gb_WinResTarget_add_defs,smath/launcher,\
-DRES_APP_ICON=icons/math_app.ico \
))
$(eval $(call gb_WinResTarget_add_dependencies,smath/launcher,\
sysui/desktop/icons/math_app.ico \
))
$(eval $(call gb_WinResTarget_set_rcfile,smath/launcher,desktop/win32/source/applauncher/launcher))
# vim: set ts=4 sw=4 et: