22 Commits
Author SHA1 Message Date
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
Mike Kaganski 558956dc81 Drop UNICODE/_UNICODE defines
The code is using expicit (mostly W) Windows API, and is independent
from the macro. Removing it here allows to catch places where some
UNICODE-dependent macro is used unintentionally.

Change-Id: I5dff40aecfc3c3dc7fc4cf7271a995a675943a45
Reviewed-on: https://gerrit.libreoffice.org/70237
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2019-04-04 13:57:59 +02:00
David Ostrovsky de030cd7a2 gbuild: Remove MSVC 2013 legacy code
Uwinapi is discontinued.

Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01
Reviewed-on: https://gerrit.libreoffice.org/23198
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-04-21 18:18:44 +02:00
Michael Stahl 07359c2428 Revert "fix windows build"
This reverts commit 45504f9ba8.

The problem that is apparently fixed here is that link.exe is too dumb
to pick the right entry-point if the WinMain definition does not come
from an object file but a .lib; in that case it apparently defaults to
archaic 8-bit WinMain so tell it to use Unicode one with /ENTRY.

Conflicts:

	desktop/Executable_sbase.mk
	desktop/Executable_scalc.mk
	desktop/Executable_sdraw.mk
	desktop/Executable_simpress.mk
	desktop/Executable_smath.mk
	desktop/Executable_sweb.mk
	desktop/Executable_swriter.mk

Change-Id: Ib6239eb0fd3d64fd4a292a0d42d65ef75475c389
2013-12-12 20:06:27 +01:00
Bjoern Michaelsen 69f0c2cfd6 remove last users of gb_Executable_add_noexception_object
Change-Id: Iddee238aa800ecfee8f97a7132b38b6446e0b2a4
Reviewed-on: https://gerrit.libreoffice.org/4953
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-07-17 12:18:47 +00:00
Michael Stahl ced9e2abec desktop: rename WinResTarget target to match source file
Change-Id: Ice900801109efc8591b9a3fb5c490d070b23730a
2013-04-24 17:37:45 +02:00
Michael Meeks 62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
Michael Stahl 5032dc0fc3 gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28 16:49:08 +02:00
Michael Stahl b85c349783 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28 16:49:06 +02:00
Michael Stahl 2e677c3981 gbuild: split uwinapi out of gb_STDLIBS
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28 16:49:05 +02:00
Jesús Corrius 67673e9ba6 Move the AppUserModelID code to the launcher 2012-06-04 11:26:20 +02:00
Jesús Corrius 776db316d2 set explicit Application User Models IDs in the native Windows launchers
Change-Id: Ib60a2a4f0d28a53d997731eb34b118cc9b9f822d
2012-05-24 08:38:12 +02:00
Michael Stahl c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02:00
Matúš Kukan 45504f9ba8 fix windows build
No idea if this is proper fix or it needs to be done otherwise.
2012-03-16 01:25:24 +01:00
Michael Stahl 5cc6398985 fdo#47246: desktop: factor out a winlauncher static library 2012-03-14 12:33:47 +01:00
Tor Lillqvist 25e10370fe Link most libs and executables with gb_STDLIBS as presumably is intended 2011-12-20 01:12:23 +02:00
Caolán McNamara c8ef924060 normalize Red Hat, Inc. spellings, and bump to latest template 2011-12-06 21:24:37 +00:00
Norbert Thiebaud 3f2ff54778 remove pch from the include list 2011-11-27 15:24:45 -06:00
Norbert Thiebaud 992757cc5e remove pre-compiled header support in gbuild and gbuildified module 2011-11-27 11:49:38 -06:00
David Tardon 2e2dcefb5f make WinResTarget's name independent of LinkTarget 2011-09-27 20:01:48 +02:00
David Tardon a44020dd9e add resource files 2011-09-26 12:47:35 +02:00
David Tardon 6df9c479f5 gbuildize desktop 2011-09-15 14:49:34 +02:00