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-06-06 17:32:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-06-06 17:32:58 +0400
commitd153c765bcfcdda8686e42dd044e63e832974709 (patch)
treeb6f6ca79dce937ccbc74c68ddad12ba6edb26ffb /source/blender/makesrna/intern/CMakeLists.txt
parentb4f12db4ec517fa9cb03f93b84da26ebf849e018 (diff)
CMake:
- WITH_LCMS added option, was supported in scons. - commented web plugin option since its not maintained. - some formatting changes and removed includes that are not needed for source/creator/CMakeLists.txt.
Diffstat (limited to 'source/blender/makesrna/intern/CMakeLists.txt')
-rw-r--r--source/blender/makesrna/intern/CMakeLists.txt35
1 files changed, 27 insertions, 8 deletions
diff --git a/source/blender/makesrna/intern/CMakeLists.txt b/source/blender/makesrna/intern/CMakeLists.txt
index e9fc5c10f9e..9b824279d8d 100644
--- a/source/blender/makesrna/intern/CMakeLists.txt
+++ b/source/blender/makesrna/intern/CMakeLists.txt
@@ -32,14 +32,28 @@ LIST(REMOVE_ITEM DEFSRC ${APISRC})
STRING(REGEX REPLACE "rna_([a-zA-Z0-9_-]*).c" "${CMAKE_CURRENT_BINARY_DIR}/rna_\\1_gen.c" GENSRC "${DEFSRC}")
SET(SRC
- makesrna.c
- rna_define.c
- ${DEFSRC}
- ${APISRC}
- ../../../../intern/guardedalloc/intern/mallocn.c
- ../../../../intern/guardedalloc/intern/mmap_win.c)
-
-INCLUDE_DIRECTORIES(../../../../intern/audaspace/intern ../../../../intern/guardedalloc .. ../../makesdna ../../blenkernel ../../blenlib ../../ikplugin ../../windowmanager ../../editors/include ../../gpu ../../imbuf ../../render/extern/include .)
+ makesrna.c
+ rna_define.c
+ ${DEFSRC}
+ ${APISRC}
+ ../../../../intern/guardedalloc/intern/mallocn.c
+ ../../../../intern/guardedalloc/intern/mmap_win.c)
+
+INCLUDE_DIRECTORIES(
+ ../../../../intern/audaspace/intern
+ ../../../../intern/guardedalloc
+ ..
+ ../../makesdna
+ ../../blenkernel
+ ../../blenlib
+ ../../ikplugin
+ ../../windowmanager
+ ../../editors/include
+ ../../gpu
+ ../../imbuf
+ ../../render/extern/include
+ . )
+
FILE(GLOB INC_FILES ../*.h ../../makesdna/*.h)
IF(NOT WITH_PYTHON)
@@ -80,6 +94,11 @@ IF(WITH_FFMPEG)
ADD_DEFINITIONS(-DWITH_FFMPEG)
ENDIF(WITH_FFMPEG)
+IF(WITH_LCMS)
+ SET(INC ${INC} ${LCMS_INCLUDE_DIR})
+ ADD_DEFINITIONS(-DWITH_LCMS)
+ENDIF(WITH_LCMS)
+
IF(NOT WITH_ELBEEM)
ADD_DEFINITIONS(-DDISABLE_ELBEEM)
ENDIF(NOT WITH_ELBEEM)