summaryrefslogtreecommitdiff
path: root/codemaker/GoogleTest_cppumaker.mk
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker/GoogleTest_cppumaker.mk')
-rw-r--r--codemaker/GoogleTest_cppumaker.mk46
1 files changed, 46 insertions, 0 deletions
diff --git a/codemaker/GoogleTest_cppumaker.mk b/codemaker/GoogleTest_cppumaker.mk
new file mode 100644
index 000000000000..3765ad4c7362
--- /dev/null
+++ b/codemaker/GoogleTest_cppumaker.mk
@@ -0,0 +1,46 @@
+###############################################################
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+###############################################################
+
+
+$(eval $(call gb_GoogleTest_GoogleTest,cppumaker_test))
+
+$(eval $(call gb_GoogleTest_add_exception_objects,cppumaker_test, \
+ codemaker/test/cppumaker/test_codemaker_cppumaker \
+))
+
+$(eval $(call gb_GoogleTest_set_include,cppumaker_test,\
+ $$(INCLUDE) \
+ -I$(SRCDIR)/codemaker/inc \
+ -I$(SRCDIR)/codemaker/inc/pch \
+))
+
+$(eval $(call gb_GoogleTest_set_private_api,cppumaker_test,\
+ $(SRCDIR)/codemaker/test/cppumaker/types.idl \
+))
+
+$(eval $(call gb_GoogleTest_add_linked_libs,cppumaker_test, \
+ cppu \
+ sal \
+ stl \
+ $(gb_STDLIBS) \
+))
+
+# vim: set noet sw=4 ts=4: