office-gobmx/sal/Executable_cppunittester.mk
Noel Grandin 24b06b9c6b log access violation on windows tinderboxen
where we currently have no good feedback when something
goes wrong.

Credit: Exception printing code written by
  msdn-whiteknight
as seen at
  https://stackoverflow.com/questions/22467604/how-can-you-use-capturestackbacktrace-to-capture-the-exception-stack-not-the-ca

Change-Id: I44c65b10c0b0151c3236521d62a824570d4cdccf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119561
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-07-28 18:34:08 +02:00

45 lines
997 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,cppunittester))
$(eval $(call gb_Executable_set_include,cppunittester,\
$$(INCLUDE) \
-I$(SRCDIR)/sal/inc \
))
$(eval $(call gb_Executable_use_libraries,cppunittester,\
sal \
))
$(eval $(call gb_Executable_use_externals,cppunittester,\
boost_headers \
cppunit \
))
$(eval $(call gb_Executable_add_exception_objects,cppunittester,\
sal/cppunittester/cppunittester \
))
ifneq ($(strip $(debug)$(DEBUG)),)
$(eval $(call gb_Executable_use_system_win32_libs,cppunittester,\
dbghelp \
))
endif
ifeq ($(COM),MSC)
$(eval $(call gb_Executable_add_ldflags,cppunittester,\
/STACK:10000000 \
))
endif
# vim: set noet sw=4 ts=4: