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:
authorCampbell Barton <ideasman42@gmail.com>2010-11-29 07:35:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-11-29 07:35:56 +0300
commite8397e6193452f6e93a19c5aa31d5effaff54f25 (patch)
treec4adb230624abb1c92b31482605e1927e819e6d2 /intern/guardedalloc/CMakeLists.txt
parent4c82be95fdaa4bef2f186b12ac28f58fa9a40564 (diff)
include headers in cmake source, added a script to check for consistency, reporting missing headers & C files.
this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
Diffstat (limited to 'intern/guardedalloc/CMakeLists.txt')
-rw-r--r--intern/guardedalloc/CMakeLists.txt13
1 files changed, 11 insertions, 2 deletions
diff --git a/intern/guardedalloc/CMakeLists.txt b/intern/guardedalloc/CMakeLists.txt
index 10c16e4c98e..a095f050659 100644
--- a/intern/guardedalloc/CMakeLists.txt
+++ b/intern/guardedalloc/CMakeLists.txt
@@ -28,16 +28,25 @@ SET(INC .)
SET(SRC
./intern/mallocn.c
+
+ BLO_sys_types.h
+ MEM_guardedalloc.h
)
IF(WIN32 AND NOT UNIX)
- LIST(APPEND SRC ./intern/mmap_win.c)
+ LIST(APPEND SRC
+ intern/mmap_win.c
+
+ mmap_win.h
+ )
ENDIF(WIN32 AND NOT UNIX)
BLENDERLIB(bf_intern_guardedalloc "${SRC}" "${INC}")
# Override C++ alloc, optional.
IF(WITH_CXX_GUARDEDALLOC)
- SET(SRC cpp/mallocn.cpp)
+ SET(SRC
+ cpp/mallocn.cpp
+ )
BLENDERLIB(bf_intern_guardedalloc_cpp "${SRC}" "${INC}")
ENDIF(WITH_CXX_GUARDEDALLOC)