blob: 08b34190e4caf399bc6f8831383a515f86b2a3bd [file] [log] [blame]
Caolán McNamarac1cc75e2025-12-12 11:52:10 +00001# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2#*************************************************************************
3#
Michael Meeksd037b812026-03-26 15:06:16 +00004# This file is part of the Collabora Office project.
Caolán McNamarac1cc75e2025-12-12 11:52:10 +00005#
6# This Source Code Form is subject to the terms of the Mozilla Public
7# License, v. 2.0. If a copy of the MPL was not distributed with this
8# file, You can obtain one at http://mozilla.org/MPL/2.0/.
9#
10#*************************************************************************
11
12$(eval $(call gb_CppunitTest_CppunitTest,sw_cjk))
13
14$(eval $(call gb_CppunitTest_use_common_precompiled_header,sw_cjk))
15
16$(eval $(call gb_CppunitTest_add_exception_objects,sw_cjk, \
17 sw/qa/extras/cjk/cjk \
18))
19
20$(eval $(call gb_CppunitTest_use_libraries,sw_cjk, \
21 comphelper \
22 editeng \
23 cppu \
24 cppuhelper \
25 sal \
26 svt \
27 sfx \
28 subsequenttest \
29 svl \
30 sw \
31 swqahelper \
32 test \
33 unotest \
34 vcl \
35 tl \
36 utl \
37))
38
39$(eval $(call gb_CppunitTest_use_externals,sw_cjk,\
40 boost_headers \
41 libxml2 \
42))
43
44$(eval $(call gb_CppunitTest_set_include,sw_cjk,\
45 -I$(SRCDIR)/sw/inc \
46 -I$(SRCDIR)/sw/source/core/inc \
47 -I$(SRCDIR)/sw/source/uibase/inc \
48 -I$(SRCDIR)/sw/qa/inc \
49 $$(INCLUDE) \
50))
51
52$(eval $(call gb_CppunitTest_use_system_win32_libs,sw_cjk,\
53 ole32 \
54))
55
56$(eval $(call gb_CppunitTest_use_api,sw_cjk,\
57 udkapi \
58 offapi \
59 oovbaapi \
60))
61
62$(eval $(call gb_CppunitTest_use_ure,sw_cjk))
63$(eval $(call gb_CppunitTest_use_vcl,sw_cjk))
64
65$(eval $(call gb_CppunitTest_use_rdb,sw_cjk,services))
66
67$(eval $(call gb_CppunitTest_use_configuration,sw_cjk))
68
69$(eval $(call gb_CppunitTest_add_arguments,sw_cjk, \
70 -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
71))
72
73$(eval $(call gb_CppunitTest_use_custom_headers,sw_cjk,\
74 officecfg/registry \
75))
76
77# vim: set noet sw=4 ts=4: