summaryrefslogtreecommitdiff
path: root/tools/CppunitTest_tools_config.mk
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2018-05-06 01:32:23 +1000
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-09 09:51:18 +0200
commitbfedfedafe3cb86fb0431e278bb4ba0cb3b181be (patch)
tree72e7f3e1d934197060a8f40fdb87f653726ca8ae /tools/CppunitTest_tools_config.mk
parentdc47a950eaf99b8abb2f7bd2f44243ec7e1bce72 (diff)
test: create unit tests for Config
Change-Id: Iaf92f93e169cf7367e3b9fc521f237413a268493 Reviewed-on: https://gerrit.libreoffice.org/53893 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools/CppunitTest_tools_config.mk')
-rw-r--r--tools/CppunitTest_tools_config.mk38
1 files changed, 38 insertions, 0 deletions
diff --git a/tools/CppunitTest_tools_config.mk b/tools/CppunitTest_tools_config.mk
new file mode 100644
index 000000000000..79c07c7aba40
--- /dev/null
+++ b/tools/CppunitTest_tools_config.mk
@@ -0,0 +1,38 @@
+# -*- 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_CppunitTest_CppunitTest,tools_config))
+
+$(eval $(call gb_CppunitTest_use_external,tools_config,boost_headers))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,tools_config, \
+ tools/qa/cppunit/test_config \
+))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,tools_config))
+
+$(eval $(call gb_CppunitTest_use_libraries,tools_config, \
+ sal \
+ tl \
+ test \
+ unotest \
+))
+
+$(eval $(call gb_CppunitTest_use_static_libraries,tools_config, \
+ ooopathutils \
+))
+
+$(eval $(call gb_CppunitTest_set_include,tools_config,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/tools/inc \
+))
+
+# vim: set noet sw=4 ts=4: