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:
Diffstat (limited to 'intern/guardedalloc/CMakeLists.txt')
-rw-r--r--intern/guardedalloc/CMakeLists.txt38
1 files changed, 19 insertions, 19 deletions
diff --git a/intern/guardedalloc/CMakeLists.txt b/intern/guardedalloc/CMakeLists.txt
index 72c3395156e..dab24af7f8d 100644
--- a/intern/guardedalloc/CMakeLists.txt
+++ b/intern/guardedalloc/CMakeLists.txt
@@ -19,8 +19,8 @@
# ***** END GPL LICENSE BLOCK *****
set(INC
- .
- ../atomic
+ .
+ ../atomic
)
set(INC_SYS
@@ -28,40 +28,40 @@ set(INC_SYS
)
set(SRC
- ./intern/mallocn.c
- ./intern/mallocn_guarded_impl.c
- ./intern/mallocn_lockfree_impl.c
+ ./intern/mallocn.c
+ ./intern/mallocn_guarded_impl.c
+ ./intern/mallocn_lockfree_impl.c
- MEM_guardedalloc.h
- ./intern/mallocn_inline.h
- ./intern/mallocn_intern.h
+ MEM_guardedalloc.h
+ ./intern/mallocn_inline.h
+ ./intern/mallocn_intern.h
- # only so the header is known by cmake
- ../atomic/atomic_ops.h
+ # only so the header is known by cmake
+ ../atomic/atomic_ops.h
)
set(LIB
)
if(WIN32 AND NOT UNIX)
- list(APPEND SRC
- intern/mmap_win.c
+ list(APPEND SRC
+ intern/mmap_win.c
- mmap_win.h
- )
+ mmap_win.h
+ )
endif()
# Jemalloc 5.0.0+ needs extra configuration.
if(WITH_MEM_JEMALLOC AND NOT ("${JEMALLOC_VERSION}" VERSION_LESS "5.0.0"))
- add_definitions(-DWITH_JEMALLOC_CONF)
+ add_definitions(-DWITH_JEMALLOC_CONF)
endif()
blender_add_lib(bf_intern_guardedalloc "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
# Override C++ alloc, optional.
if(WITH_CXX_GUARDEDALLOC)
- set(SRC
- cpp/mallocn.cpp
- )
- blender_add_lib(bf_intern_guardedalloc_cpp "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
+ set(SRC
+ cpp/mallocn.cpp
+ )
+ blender_add_lib(bf_intern_guardedalloc_cpp "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
endif()