warning fixes and minor cmake changes.

This commit is contained in:
Campbell Barton 2010-09-18 03:55:56 +00:00
parent d5e11d409f
commit dea59cc5eb
52 changed files with 174 additions and 122 deletions

@ -18,8 +18,15 @@
# All rights reserved. # All rights reserved.
# #
SET(INC ./include ) SET(SRC
binreloc.c
)
SET(INC
./include
)
ADD_DEFINITIONS(-DENABLE_BINRELOC) ADD_DEFINITIONS(-DENABLE_BINRELOC)
FILE(GLOB SRC *.c)
BLENDERLIB(extern_binreloc "${SRC}" "${INC}") BLENDERLIB(extern_binreloc "${SRC}" "${INC}")

@ -24,7 +24,9 @@
# #
# ***** END GPL LICENSE BLOCK ***** # ***** END GPL LICENSE BLOCK *****
SET(INC include src) SET(INC
./include
)
IF(UNIX) IF(UNIX)
LIST(APPEND INC ${X11_X11_INCLUDE_PATH}) LIST(APPEND INC ${X11_X11_INCLUDE_PATH})

@ -25,10 +25,6 @@
# ***** END GPL LICENSE BLOCK ***** # ***** END GPL LICENSE BLOCK *****
SET(INC include) SET(INC include)
SET(SRC minilzo/minilzo.c)
FILE(GLOB SRC minilzo/*.c)
BLENDERLIB(extern_minilzo "${SRC}" "${INC}") BLENDERLIB(extern_minilzo "${SRC}" "${INC}")
#, libtype='blender', priority = 0 )

@ -24,9 +24,18 @@
# #
# ***** END GPL LICENSE BLOCK ***** # ***** END GPL LICENSE BLOCK *****
SET(INC . intern extern ../moto/include ../container ../memutil ../../source/blender/makesdna ../guardedalloc ../../source/blender/blenlib) SET(INC
.
./intern
./extern
../memutil
../container
../guardedalloc
../moto/include
../../source/blender/blenlib
../../source/blender/makesdna
)
FILE(GLOB SRC intern/*.cpp) FILE(GLOB SRC intern/*.cpp)
BLENDERLIB(bf_intern_bop "${SRC}" "${INC}") BLENDERLIB(bf_intern_bop "${SRC}" "${INC}")
#, libtype='common', priority=5 )

@ -24,9 +24,13 @@
# #
# ***** END GPL LICENSE BLOCK ***** # ***** END GPL LICENSE BLOCK *****
SET(INC intern ../container ../moto/include ../memutil) SET(INC
./intern
../container
../moto/include
../memutil
)
FILE(GLOB SRC intern/*.cpp) FILE(GLOB SRC intern/*.cpp)
BLENDERLIB(bf_intern_bsp "${SRC}" "${INC}") BLENDERLIB(bf_intern_bsp "${SRC}" "${INC}")
#, libtype='core', priority=15 )

@ -29,4 +29,3 @@ SET(INC .)
FILE(GLOB SRC intern/*.cpp) FILE(GLOB SRC intern/*.cpp)
BLENDERLIB(bf_intern_ctr "${SRC}" "${INC}") BLENDERLIB(bf_intern_ctr "${SRC}" "${INC}")
#, libtype=['intern'], priority = 10 )

@ -24,9 +24,13 @@
# #
# ***** END GPL LICENSE BLOCK ***** # ***** END GPL LICENSE BLOCK *****
SET(INC . ../moto/include ../container ../memutil) SET(INC
.
../container
../memutil
../moto/include
)
FILE(GLOB SRC intern/*.cpp) FILE(GLOB SRC intern/*.cpp)
BLENDERLIB(bf_intern_decimate "${SRC}" "${INC}") BLENDERLIB(bf_intern_decimate "${SRC}" "${INC}")
#, libtype=['core','common','player'], priority = [10, 20, 25] )

@ -38,4 +38,3 @@ IF(WITH_OPENMP)
ENDIF(WITH_OPENMP) ENDIF(WITH_OPENMP)
BLENDERLIB_NOLIST(bf_intern_elbeem "${SRC}" "${INC}") BLENDERLIB_NOLIST(bf_intern_elbeem "${SRC}" "${INC}")
#, libtype='blender', priority=0 )

@ -26,12 +26,18 @@
SET(INC .) SET(INC .)
FILE(GLOB SRC intern/*.c) SET(SRC
./intern/mallocn.c
)
IF(WIN32)
LIST(APPEND SRC ./intern/mmap_win.c)
ENDIF(WIN32)
BLENDERLIB(bf_intern_guardedalloc "${SRC}" "${INC}") BLENDERLIB(bf_intern_guardedalloc "${SRC}" "${INC}")
# Override C++ alloc optional # Override C++ alloc, optional.
IF(WITH_CXX_GUARDEDALLOC) IF(WITH_CXX_GUARDEDALLOC)
FILE(GLOB SRC cpp/*.cpp) SET(SRC cpp/mallocn.cpp)
BLENDERLIB(bf_intern_guardedalloc_cpp "${SRC}" "${INC}") BLENDERLIB(bf_intern_guardedalloc_cpp "${SRC}" "${INC}")
ENDIF(WITH_CXX_GUARDEDALLOC) ENDIF(WITH_CXX_GUARDEDALLOC)

@ -24,9 +24,12 @@
# #
# ***** END GPL LICENSE BLOCK ***** # ***** END GPL LICENSE BLOCK *****
SET(INC intern ../moto/include ../memutil) SET(INC
intern
../memutil
../moto/include
)
FILE(GLOB SRC intern/*.cpp) FILE(GLOB SRC intern/*.cpp)
BLENDERLIB(bf_intern_ik "${SRC}" "${INC}") BLENDERLIB(bf_intern_ik "${SRC}" "${INC}")
#, libtype=['blender'], priority = [10] )

@ -29,4 +29,3 @@ SET(INC ../../extern/Eigen2)
FILE(GLOB SRC *.cpp kdl/*.cpp kdl/utilities/*.cpp) FILE(GLOB SRC *.cpp kdl/*.cpp kdl/utilities/*.cpp)
BLENDERLIB(bf_intern_itasc "${SRC}" "${INC}") BLENDERLIB(bf_intern_itasc "${SRC}" "${INC}")
#, libtype=['blender'], priority = [10] )

@ -26,7 +26,9 @@
SET(INC . ..) SET(INC . ..)
FILE(GLOB SRC intern/*.cpp) SET(SRC
./intern/MEM_CacheLimiterC-Api.cpp
./intern/MEM_RefCountedC-Api.cpp
)
BLENDERLIB(bf_intern_memutil "${SRC}" "${INC}") BLENDERLIB(bf_intern_memutil "${SRC}" "${INC}")
#, libtype=['intern', 'player'], priority = [0, 180] )

@ -29,4 +29,3 @@ SET(INC include)
FILE(GLOB SRC intern/*.cpp) FILE(GLOB SRC intern/*.cpp)
BLENDERLIB(bf_intern_moto "${SRC}" "${INC}") BLENDERLIB(bf_intern_moto "${SRC}" "${INC}")
#, libtype=['intern','game','game2','player'], priority = [15, 55, 100, 135] )

@ -29,5 +29,3 @@ SET(INC extern superlu)
FILE(GLOB SRC intern/*.c superlu/*.c) FILE(GLOB SRC intern/*.c superlu/*.c)
BLENDERLIB(bf_intern_opennl "${SRC}" "${INC}") BLENDERLIB(bf_intern_opennl "${SRC}" "${INC}")
#, libtype='core', priority=55 )

@ -25,8 +25,6 @@
# ***** END GPL LICENSE BLOCK ***** # ***** END GPL LICENSE BLOCK *****
SET(INC .) SET(INC .)
SET(SRC ./intern/STR_String.cpp)
FILE(GLOB SRC intern/*.cpp)
BLENDERLIB(bf_intern_string "${SRC}" "${INC}") BLENDERLIB(bf_intern_string "${SRC}" "${INC}")
#, libtype=['core', 'player'], priority = [30,10] )

@ -31,7 +31,6 @@ SET(INC
../avi ../avi
../blenlib ../blenlib
../blenloader ../blenloader
../editors/include
../gpu ../gpu
../ikplugin ../ikplugin
../imbuf ../imbuf
@ -39,6 +38,7 @@ SET(INC
../makesrna ../makesrna
../modifiers ../modifiers
../nodes ../nodes
../editors/include
../render/extern/include ../render/extern/include
../../../extern/glew/include ../../../extern/glew/include
../../../intern/audaspace/intern ../../../intern/audaspace/intern

@ -86,7 +86,6 @@
#include "BKE_object.h" #include "BKE_object.h"
#include "BKE_particle.h" #include "BKE_particle.h"
#include "BKE_scene.h" #include "BKE_scene.h"
#include "BKE_screen.h"
#include "BKE_utildefines.h" #include "BKE_utildefines.h"
#include "RE_render_ext.h" #include "RE_render_ext.h"

@ -27,10 +27,15 @@
FILE(GLOB SRC intern/*.c) FILE(GLOB SRC intern/*.c)
SET(INC SET(INC
. ../../../intern/guardedalloc ../blenlib ../blenkernel .
../makesdna ../readblenfile ../include ../makesrna ../blenlib
../python ../../kernel/gen_messaging ../blenkernel
../makesdna
../readblenfile
../include
../makesrna
../render/extern/include ../render/extern/include
../../../intern/guardedalloc
${ZLIB_INC} ${ZLIB_INC}
) )

@ -27,7 +27,12 @@
FILE(GLOB SRC intern/*.c) FILE(GLOB SRC intern/*.c)
SET(INC SET(INC
. .. ../../../intern/guardedalloc ../blenlib ../imbuf ../makesdna .
..
../blenlib
../imbuf
../makesdna
../../../intern/guardedalloc
) )
IF(WIN32) IF(WIN32)

@ -22,24 +22,23 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenfont ../../blenfont
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../../blenloader ../../blenloader
../../gpu ../../gpu
../../imbuf ../../imbuf
../include
../../../../intern/guardedalloc
../../../../extern/glew/include
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../python
../../render/extern/include ../../render/extern/include
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
../../../../extern/glew/include
) )
IF(WITH_QUICKTIME) IF(WITH_QUICKTIME)
SET(INC ${INC} ../../quicktime ${QUICKTIME_INC}) LIST(APPEND INC ../../quicktime ${QUICKTIME_INC})
ADD_DEFINITIONS(-DWITH_QUICKTIME) ADD_DEFINITIONS(-DWITH_QUICKTIME)
ENDIF(WITH_QUICKTIME) ENDIF(WITH_QUICKTIME)

@ -22,15 +22,15 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenfont ../../blenfont
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../../imbuf ../../imbuf
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
) )
IF(WIN32) IF(WIN32)

@ -53,6 +53,7 @@
#include "ED_object.h" #include "ED_object.h"
#include "ED_screen.h" #include "ED_screen.h"
#include "ED_screen_types.h" #include "ED_screen_types.h"
#include "ED_fileselect.h"
#include "UI_interface.h" #include "UI_interface.h"

@ -22,16 +22,16 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../imbuf ../../imbuf
../../gpu ../../gpu
../../blenlib ../../blenlib
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../render/extern/include ../../render/extern/include
../../../../intern/guardedalloc
) )
IF(WIN32) IF(WIN32)

@ -22,14 +22,14 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../include
../../../../intern/guardedalloc
../../../../intern/audaspace/intern
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
../../../../intern/audaspace/intern
) )
BLENDERLIB(bf_editor_sound "${SRC}" "${INC}") BLENDERLIB(bf_editor_sound "${SRC}" "${INC}")

@ -22,14 +22,13 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
) )
BLENDERLIB(bf_editor_space_action "${SRC}" "${INC}") BLENDERLIB(bf_editor_space_action "${SRC}" "${INC}")

@ -22,13 +22,13 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
) )
BLENDERLIB(bf_editor_space_api "${SRC}" "${INC}") BLENDERLIB(bf_editor_space_api "${SRC}" "${INC}")

@ -22,13 +22,13 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
) )
BLENDERLIB(bf_editor_space_buttons "${SRC}" "${INC}") BLENDERLIB(bf_editor_space_buttons "${SRC}" "${INC}")

@ -22,15 +22,15 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenfont ../../blenfont
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../../blenloader ../../blenloader
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
) )
IF(NOT WITH_PYTHON) IF(NOT WITH_PYTHON)

@ -22,18 +22,17 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenfont ../../blenfont
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../../blenloader ../../blenloader
../../imbuf ../../imbuf
../include
../../../../intern/audaspace/intern
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../render/extern/include
../../windowmanager ../../windowmanager
../../render/extern/include
../../../../intern/guardedalloc
) )
IF(WITH_IMAGE_OPENEXR) IF(WITH_IMAGE_OPENEXR)

@ -22,13 +22,13 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
../../../../intern/audaspace/intern ../../../../intern/audaspace/intern
) )

@ -22,15 +22,15 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../../imbuf ../../imbuf
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../render/extern/include
../../windowmanager ../../windowmanager
../../render/extern/include
../../../../intern/guardedalloc
) )
IF(WITH_IMAGE_OPENEXR) IF(WITH_IMAGE_OPENEXR)

@ -22,14 +22,14 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../../imbuf ../../imbuf
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
) )
BLENDERLIB(bf_editor_space_info "${SRC}" "${INC}") BLENDERLIB(bf_editor_space_info "${SRC}" "${INC}")

@ -22,14 +22,14 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../editors/interface ../../editors/interface
../../../../intern/guardedalloc
) )
IF(WITH_GAMEENGINE) IF(WITH_GAMEENGINE)

@ -22,13 +22,13 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
) )
BLENDERLIB(bf_editor_space_nla "${SRC}" "${INC}") BLENDERLIB(bf_editor_space_nla "${SRC}" "${INC}")

@ -22,17 +22,17 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../../imbuf ../../imbuf
../include
../../../../intern/guardedalloc
../../../../intern/opennl/extern
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../nodes ../../nodes
../../render/extern/include
../../windowmanager ../../windowmanager
../../render/extern/include
../../../../intern/guardedalloc
../../../../intern/opennl/extern
) )
IF(WIN32) IF(WIN32)

@ -22,15 +22,15 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../../imbuf ../../imbuf
../include
../../../../intern/guardedalloc
../../../../intern/opennl/extern
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
../../../../intern/opennl/extern
) )
BLENDERLIB(bf_editor_space_outliner "${SRC}" "${INC}") BLENDERLIB(bf_editor_space_outliner "${SRC}" "${INC}")

@ -22,17 +22,17 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
) )
IF(WITH_PYTHON) IF(WITH_PYTHON)
SET(INC ${INC} ${PYTHON_INC} ../../python) LIST(APPEND INC ${PYTHON_INC} ../../python)
ELSE(WITH_PYTHON) ELSE(WITH_PYTHON)
ADD_DEFINITIONS(-DDISABLE_PYTHON) ADD_DEFINITIONS(-DDISABLE_PYTHON)
ENDIF(WITH_PYTHON) ENDIF(WITH_PYTHON)

@ -22,14 +22,14 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../../imbuf ../../imbuf
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
../../../../intern/audaspace/intern ../../../../intern/audaspace/intern
) )

@ -22,13 +22,13 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
) )
BLENDERLIB(bf_editor_space_sound "${SRC}" "${INC}") BLENDERLIB(bf_editor_space_sound "${SRC}" "${INC}")

@ -22,18 +22,18 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenfont ../../blenfont
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
) )
IF(WITH_PYTHON) IF(WITH_PYTHON)
SET(INC ${INC} ${PYTHON_INC} ../../python) LIST(APPEND INC ${PYTHON_INC} ../../python)
ELSE(WITH_PYTHON) ELSE(WITH_PYTHON)
ADD_DEFINITIONS(-DDISABLE_PYTHON) ADD_DEFINITIONS(-DDISABLE_PYTHON)
ENDIF(WITH_PYTHON) ENDIF(WITH_PYTHON)

@ -22,13 +22,13 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
) )
BLENDERLIB(bf_editor_space_time "${SRC}" "${INC}") BLENDERLIB(bf_editor_space_time "${SRC}" "${INC}")

@ -25,10 +25,10 @@ SET(INC
../include ../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
) )
BLENDERLIB(bf_editor_space_userpref "${SRC}" "${INC}") BLENDERLIB(bf_editor_space_userpref "${SRC}" "${INC}")

@ -28,16 +28,16 @@ SET(INC
../../blenlib ../../blenlib
../../gpu ../../gpu
../../imbuf ../../imbuf
../../../../intern/guardedalloc
../../../../intern/smoke/extern
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../render/extern/include
../../windowmanager ../../windowmanager
../../render/extern/include
../../../../intern/guardedalloc
../../../../intern/smoke/extern
) )
IF(WITH_GAMEENGINE) IF(WITH_GAMEENGINE)
SET(INC ${INC} ../../../kernel/gen_system) LIST(APPEND INC ../../../kernel/gen_system)
ADD_DEFINITIONS(-DGAMEBLENDER) ADD_DEFINITIONS(-DGAMEBLENDER)
ENDIF(WITH_GAMEENGINE) ENDIF(WITH_GAMEENGINE)

@ -22,13 +22,13 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
) )
BLENDERLIB(bf_editor_transform "${SRC}" "${INC}") BLENDERLIB(bf_editor_transform "${SRC}" "${INC}")

@ -22,13 +22,13 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../include
../../../../intern/guardedalloc
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
) )
BLENDERLIB(bf_editor_util "${SRC}" "${INC}") BLENDERLIB(bf_editor_util "${SRC}" "${INC}")

@ -22,14 +22,14 @@
FILE(GLOB SRC *.c) FILE(GLOB SRC *.c)
SET(INC SET(INC
../include
../../blenkernel ../../blenkernel
../../blenlib ../../blenlib
../include
../../../../intern/guardedalloc
../../../../intern/opennl/extern
../../makesdna ../../makesdna
../../makesrna ../../makesrna
../../windowmanager ../../windowmanager
../../../../intern/guardedalloc
../../../../intern/opennl/extern
) )
BLENDERLIB(bf_editor_uvedit "${SRC}" "${INC}") BLENDERLIB(bf_editor_uvedit "${SRC}" "${INC}")

@ -27,8 +27,17 @@
FILE(GLOB SRC intern/*.c) FILE(GLOB SRC intern/*.c)
SET(INC SET(INC
. ../blenlib ../blenkernel ../makesdna ../makesrna ../include .
../../../extern/glew/include ../../../intern/guardedalloc ../../../intern/smoke/extern ../imbuf) ../blenlib
../blenkernel
../include
../imbuf
../makesdna
../makesrna
../../../extern/glew/include
../../../intern/guardedalloc
../../../intern/smoke/extern
)
IF(WIN32) IF(WIN32)
INCLUDE_DIRECTORIES(${PTHREADS_INC}) INCLUDE_DIRECTORIES(${PTHREADS_INC})

@ -29,12 +29,12 @@ FILE(GLOB SRC intern/*.c)
SET(INC SET(INC
. .
../makesdna
../../../intern/guardedalloc
../../../intern/memutil
../blenlib
../avi ../avi
../blenlib
../blenkernel ../blenkernel
../makesdna
../../../intern/memutil
../../../intern/guardedalloc
${JPEG_INC} ${JPEG_INC}
${PNG_INC} ${PNG_INC}
${ZLIB_INC} ${ZLIB_INC}

@ -28,13 +28,13 @@ FILE(GLOB SRC *.c)
SET(INC SET(INC
. .
../../../blenkernel
../../
.. ..
../../../blenlib ../../
intern/include intern/include
../../../../../intern/guardedalloc ../../../blenkernel
../../../blenlib
../../../makesdna ../../../makesdna
../../../../../intern/guardedalloc
) )
BLENDERLIB(bf_cineon "${SRC}" "${INC}") BLENDERLIB(bf_cineon "${SRC}" "${INC}")

@ -28,12 +28,12 @@ FILE (GLOB SRC *.cpp)
SET(INC SET(INC
. .
..
./intern/include
../../
../../../blenlib
../../../blenkernel ../../../blenkernel
../../../makesdna ../../../makesdna
../../
..
../../../blenlib
intern/include
../../../../../intern/guardedalloc ../../../../../intern/guardedalloc
) )

@ -28,7 +28,15 @@ INCLUDE_DIRECTORIES(../../../../intern/guardedalloc ..)
FILE(GLOB INC_FILES ../*.h) FILE(GLOB INC_FILES ../*.h)
# Build makesdna executable # Build makesdna executable
SET(SRC makesdna.c ../../../../intern/guardedalloc/intern/mallocn.c ../../../../intern/guardedalloc/intern/mmap_win.c) SET(SRC
makesdna.c
../../../../intern/guardedalloc/intern/mallocn.c
)
IF(WIN32)
LIST(APPEND SRC ../../../../intern/guardedalloc/intern/mmap_win.c)
ENDIF(WIN32)
ADD_EXECUTABLE(makesdna ${SRC} ${INC_FILES}) ADD_EXECUTABLE(makesdna ${SRC} ${INC_FILES})
# Output dna.c # Output dna.c

@ -1232,11 +1232,14 @@ static int wm_handler_fileselect_call(bContext *C, ListBase *handlers, wmEventHa
/* remlink now, for load file case before removing*/ /* remlink now, for load file case before removing*/
BLI_remlink(handlers, handler); BLI_remlink(handlers, handler);
if(event->val!=EVT_FILESELECT_EXTERNAL_CANCEL) if(event->val!=EVT_FILESELECT_EXTERNAL_CANCEL) {
if(screen != handler->filescreen) if(screen != handler->filescreen) {
ED_screen_full_prevspace(C, CTX_wm_area(C)); ED_screen_full_prevspace(C, CTX_wm_area(C));
else }
else {
ED_area_prevspace(C, CTX_wm_area(C)); ED_area_prevspace(C, CTX_wm_area(C));
}
}
wm_handler_op_context(C, handler); wm_handler_op_context(C, handler);