office-gobmx/desktop/Executable_sdraw.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,sdraw))
$(eval $(call gb_Executable_set_targettype_gui,sdraw,YES))
$(eval $(call gb_Executable_add_ldflags,sdraw,\
/ENTRY:wWinMainCRTStartup \
))
$(eval $(call gb_Executable_use_static_libraries,sdraw,\
winlauncher \
))
$(eval $(call gb_Executable_add_exception_objects,sdraw,\
desktop/win32/source/applauncher/sdraw \
))
$(eval $(call gb_Executable_add_nativeres,sdraw,sdraw/launcher))
$(eval $(call gb_Executable_add_default_nativeres,sdraw,$(PRODUCTNAME) Draw))
# vim: set ts=4 sw=4 et: