summaryrefslogtreecommitdiff
path: root/vcl/Executable_icontest.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-10-08 16:05:45 +0300
committerTor Lillqvist <tml@collabora.com>2014-10-08 16:12:01 +0300
commit80c11d648e88f3195f7e4fb465cd6902bcf46867 (patch)
tree413a6198180bf5a1788d64c6737521c677591063 /vcl/Executable_icontest.mk
parent98bb53a5609f8651b0841e8326d7aa53fd56ab3b (diff)
Add a start on a "temporary" test prog for traditional vcl vs. OpenGL
Does nothing useful so far. Change-Id: I9d288a8b8ab92e01a28c92bb41162af4410e0163
Diffstat (limited to 'vcl/Executable_icontest.mk')
-rw-r--r--vcl/Executable_icontest.mk51
1 files changed, 51 insertions, 0 deletions
diff --git a/vcl/Executable_icontest.mk b/vcl/Executable_icontest.mk
new file mode 100644
index 000000000000..76390c849ecb
--- /dev/null
+++ b/vcl/Executable_icontest.mk
@@ -0,0 +1,51 @@
+# -*- 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,icontest))
+
+$(eval $(call gb_Executable_use_externals,icontest,\
+ boost_headers \
+ glew \
+ glm_headers \
+ mesa_headers \
+))
+
+$(eval $(call gb_Executable_use_api,icontest,\
+ offapi \
+ udkapi \
+))
+
+ifeq ($(OS),LINUX)
+
+$(eval $(call gb_Executable_add_libs,icontest,\
+ -lGL \
+))
+
+endif
+
+$(eval $(call gb_Executable_use_static_libraries,icontest,\
+ vclmain \
+))
+
+$(eval $(call gb_Executable_use_libraries,icontest,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ tl \
+ ucbhelper \
+ vcl \
+ vclopengl \
+))
+
+$(eval $(call gb_Executable_add_exception_objects,icontest,\
+ vcl/workben/icontest \
+))
+
+# vim: set noet sw=4 ts=4: