Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-06-18 16:49:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-06-18 20:09:16 +0400
commit306cbb82ecf0d7c1ba4fb0a1240175b1976bd25b (patch)
treee9eac65bf57126ac233f22fe88cc00df137ec4e5 /tests/gtests/testing/CMakeLists.txt
parent47ec0394ca3d03e07c07a67e8f8d1625aedd39dd (diff)
GTest unit testing framework
Currently covers only small set of functionality.
Diffstat (limited to 'tests/gtests/testing/CMakeLists.txt')
-rw-r--r--tests/gtests/testing/CMakeLists.txt48
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/gtests/testing/CMakeLists.txt b/tests/gtests/testing/CMakeLists.txt
new file mode 100644
index 00000000000..93a3049efd8
--- /dev/null
+++ b/tests/gtests/testing/CMakeLists.txt
@@ -0,0 +1,48 @@
+# ***** BEGIN GPL LICENSE BLOCK *****
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# The Original Code is Copyright (C) 2014, Blender Foundation
+# All rights reserved.
+#
+# Contributor(s): Sergey Sharybin
+#
+# ***** END GPL LICENSE BLOCK *****
+
+set(INC
+ .
+ ../
+ ../../../extern/libmv/third_party/gflags
+ ../../../extern/gtest/include
+)
+
+if(WIN32)
+ list(APPEND INC
+ ../../../extern/libmv/third_party/glog/src/windows
+ )
+else()
+ list(APPEND INC
+ ../../../extern/libmv/third_party/glog/src
+ )
+endif()
+
+set(INC_SYS
+)
+
+set(SRC
+ testing_main.cc
+)
+
+blender_add_lib(bf_testing_main "${SRC}" "${INC}" "${INC_SYS}")