summaryrefslogtreecommitdiff
path: root/basic/CppunitTest_basic_enable.mk
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2012-05-14 12:00:00 +0100
committerNoel Power <noel.power@novell.com>2012-05-14 12:01:08 +0100
commitd87676da2201bca921f319bd7b02ef8853edfa4f (patch)
tree69798fbc41966facfcfa8e889e9dd3f284ce148a /basic/CppunitTest_basic_enable.mk
parente9512baf22219e5073207bcce5f9e62dc6a8badc (diff)
simple compile test for use of 'Enable' in a Dim statement
Change-Id: I051dbb5cd56fe61e2b0aea1184dcdb03c6413834
Diffstat (limited to 'basic/CppunitTest_basic_enable.mk')
-rw-r--r--basic/CppunitTest_basic_enable.mk54
1 files changed, 54 insertions, 0 deletions
diff --git a/basic/CppunitTest_basic_enable.mk b/basic/CppunitTest_basic_enable.mk
new file mode 100644
index 000000000000..e3256507ded2
--- /dev/null
+++ b/basic/CppunitTest_basic_enable.mk
@@ -0,0 +1,54 @@
+$(eval $(call gb_CppunitTest_CppunitTest,basic_enable))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,basic_enable, \
+ basic/qa/cppunit/test_append \
+))
+
+$(eval $(call gb_CppunitTest_use_library_objects,basic_enable,sb))
+
+# add a list of all needed libraries here
+$(eval $(call gb_CppunitTest_use_libraries,basic_enable, \
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ salhelper \
+ sb \
+ sot \
+ svl \
+ svt \
+ tl \
+ utl \
+ vcl \
+ xcr \
+ test \
+ $(gb_STDLIBS) \
+))
+
+ifeq ($(GUI),WNT)
+$(eval $(call gb_CppunitTest_use_libraries,basic_enable, \
+ oleaut32 \
+))
+endif
+
+$(eval $(call gb_CppunitTest_set_include,basic_enable,\
+-I$(SRCDIR)/basic/source/inc \
+-I$(SRCDIR)/basic/inc \
+$$(INCLUDE) \
+))
+
+$(eval $(call gb_CppunitTest_use_api,basic_enable,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,basic_enable))
+
+$(eval $(call gb_CppunitTest_use_components,basic_enable,\
+ configmgr/source/configmgr \
+ ucb/source/core/ucb1 \
+))
+$(eval $(call gb_CppunitTest_use_configuration,basic_enable))
+
+$(eval $(call gb_CppunitTest_use_filter_configuration,basic_enable))
+