diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-29 07:35:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-29 07:35:56 +0300 |
commit | e8397e6193452f6e93a19c5aa31d5effaff54f25 (patch) | |
tree | c4adb230624abb1c92b31482605e1927e819e6d2 /intern/guardedalloc | |
parent | 4c82be95fdaa4bef2f186b12ac28f58fa9a40564 (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')
-rw-r--r-- | intern/guardedalloc/CMakeLists.txt | 13 |
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) |