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>2018-11-27 19:13:54 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-11-28 16:35:26 +0300
commit683662e630b855947b7e083ca6cde0cfe7694687 (patch)
tree8568c784eb89d167547451b8c2c1fd02f62d45cd /intern/numaapi/CMakeLists.txt
parent9a5df92c1bdee547dd38a846c22d91c05d45ff02 (diff)
Add cross-platform NUMA library
Makes it simple to use NUMA libraries on various platforms.
Diffstat (limited to 'intern/numaapi/CMakeLists.txt')
-rw-r--r--intern/numaapi/CMakeLists.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/intern/numaapi/CMakeLists.txt b/intern/numaapi/CMakeLists.txt
new file mode 100644
index 00000000000..587a00b9514
--- /dev/null
+++ b/intern/numaapi/CMakeLists.txt
@@ -0,0 +1,39 @@
+# ***** 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.
+#
+# ***** END GPL LICENSE BLOCK *****
+
+set(INC
+ ./include
+)
+
+set(INC_SYS
+
+)
+
+set(SRC
+ source/numaapi.c
+ source/numaapi_linux.c
+ source/numaapi_stub.c
+ source/numaapi_win32.c
+
+ include/numaapi.h
+ source/build_config.h
+)
+
+add_definitions(-DWITH_DYNLOAD)
+
+blender_add_lib(bf_intern_numaapi "${SRC}" "${INC}" "${INC_SYS}")