From e8397e6193452f6e93a19c5aa31d5effaff54f25 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 29 Nov 2010 04:35:56 +0000 Subject: 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. --- intern/guardedalloc/CMakeLists.txt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'intern/guardedalloc/CMakeLists.txt') 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) -- cgit v1.2.3