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. --- source/blender/makesrna/intern/CMakeLists.txt | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) (limited to 'source/blender/makesrna/intern/CMakeLists.txt') diff --git a/source/blender/makesrna/intern/CMakeLists.txt b/source/blender/makesrna/intern/CMakeLists.txt index 0a0b555a12e..a464e9124b7 100644 --- a/source/blender/makesrna/intern/CMakeLists.txt +++ b/source/blender/makesrna/intern/CMakeLists.txt @@ -44,7 +44,8 @@ SET(SRC ${DEFSRC} ${APISRC} ../../../../intern/guardedalloc/intern/mallocn.c - ../../../../intern/guardedalloc/intern/mmap_win.c) + ../../../../intern/guardedalloc/intern/mmap_win.c +) INCLUDE_DIRECTORIES( ../../../../intern/audaspace/intern @@ -62,7 +63,8 @@ INCLUDE_DIRECTORIES( ../../imbuf ../../render/extern/include ../../../../extern/glew/include - . ) + . +) FILE(GLOB INC_FILES ../*.h ../../makesdna/*.h) @@ -150,5 +152,18 @@ ADD_CUSTOM_COMMAND( ) # Build bf_rna -SET(SRC rna_access.c ${GENSRC}) +SET(SRC + rna_access.c + ${GENSRC} + + ../RNA_access.h + ../RNA_define.h + ../RNA_enum_types.h + ../RNA_types.h + + rna_internal.h + rna_internal_types.h + rna_nodetree_types.h +) + BLENDERLIB(bf_rna "${SRC}" "${INC}") -- cgit v1.2.3