From afacd184982e58a9c830a3d5366e25983939a7ba Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 8 Dec 2010 08:43:06 +0000 Subject: use lowercase for cmake builtin names and macros, remove contents in else() and endif() which is no longer needed. --- source/blender/python/CMakeLists.txt | 4 ++-- source/blender/python/generic/CMakeLists.txt | 6 +++--- source/blender/python/intern/CMakeLists.txt | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'source/blender/python') diff --git a/source/blender/python/CMakeLists.txt b/source/blender/python/CMakeLists.txt index b006e7b0be6..fe9e0307703 100644 --- a/source/blender/python/CMakeLists.txt +++ b/source/blender/python/CMakeLists.txt @@ -16,5 +16,5 @@ # # ***** END GPL LICENSE BLOCK ***** -ADD_SUBDIRECTORY(intern) -ADD_SUBDIRECTORY(generic) +add_subdirectory(intern) +add_subdirectory(generic) diff --git a/source/blender/python/generic/CMakeLists.txt b/source/blender/python/generic/CMakeLists.txt index 5f5575f206b..5569dda2ce6 100644 --- a/source/blender/python/generic/CMakeLists.txt +++ b/source/blender/python/generic/CMakeLists.txt @@ -18,7 +18,7 @@ # # ***** END GPL LICENSE BLOCK ***** -SET(INC +set(INC . ../../blenlib ../../makesdna @@ -28,7 +28,7 @@ SET(INC ${PYTHON_INC} ) -SET(SRC +set(SRC IDProp.c bgl.c blf_api.c @@ -57,4 +57,4 @@ SET(SRC py_capi_utils.h ) -BLENDERLIB(bf_python_ext "${SRC}" "${INC}") +blenderlib(bf_python_ext "${SRC}" "${INC}") diff --git a/source/blender/python/intern/CMakeLists.txt b/source/blender/python/intern/CMakeLists.txt index b0ef6efb7d4..86b2e0deb04 100644 --- a/source/blender/python/intern/CMakeLists.txt +++ b/source/blender/python/intern/CMakeLists.txt @@ -23,7 +23,7 @@ # # ***** END GPL LICENSE BLOCK ***** -SET(INC +set(INC ../ ../../blenlib ../../makesdna @@ -36,7 +36,7 @@ SET(INC ${PYTHON_INC} ) -SET(SRC +set(SRC bpy.c bpy_app.c bpy_driver.c @@ -62,8 +62,8 @@ SET(SRC ) # only to check if buildinfo is available -IF(WITH_BUILDINFO) - ADD_DEFINITIONS(-DBUILD_DATE) -ENDIF(WITH_BUILDINFO) +if(WITH_BUILDINFO) + add_definitions(-DBUILD_DATE) +endif() -BLENDERLIB(bf_python "${SRC}" "${INC}") +blenderlib(bf_python "${SRC}" "${INC}") -- cgit v1.2.3