diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-08 11:43:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-08 11:43:06 +0300 |
commit | afacd184982e58a9c830a3d5366e25983939a7ba (patch) | |
tree | 311ee6e5abfcda32e3cbad133276512d68abe25b /source/gameengine/GamePlayer | |
parent | 70df57df0f82be3966a09c8548bfde23fd5c17c4 (diff) |
use lowercase for cmake builtin names and macros, remove contents in else() and endif() which is no longer needed.
Diffstat (limited to 'source/gameengine/GamePlayer')
-rw-r--r-- | source/gameengine/GamePlayer/CMakeLists.txt | 10 | ||||
-rw-r--r-- | source/gameengine/GamePlayer/common/CMakeLists.txt | 8 | ||||
-rw-r--r-- | source/gameengine/GamePlayer/ghost/CMakeLists.txt | 14 |
3 files changed, 16 insertions, 16 deletions
diff --git a/source/gameengine/GamePlayer/CMakeLists.txt b/source/gameengine/GamePlayer/CMakeLists.txt index f0ce3afbe10..ab89b18a09b 100644 --- a/source/gameengine/GamePlayer/CMakeLists.txt +++ b/source/gameengine/GamePlayer/CMakeLists.txt @@ -24,9 +24,9 @@ # # ***** END GPL LICENSE BLOCK ***** -ADD_SUBDIRECTORY(common) -ADD_SUBDIRECTORY(ghost) +add_subdirectory(common) +add_subdirectory(ghost) -IF(WITH_WEBPLUGIN) - ADD_SUBDIRECTORY(xembed) -ENDIF(WITH_WEBPLUGIN) +if(WITH_WEBPLUGIN) + add_subdirectory(xembed) +endif() diff --git a/source/gameengine/GamePlayer/common/CMakeLists.txt b/source/gameengine/GamePlayer/common/CMakeLists.txt index d3b053c90b1..e0338f672e0 100644 --- a/source/gameengine/GamePlayer/common/CMakeLists.txt +++ b/source/gameengine/GamePlayer/common/CMakeLists.txt @@ -24,7 +24,7 @@ # # ***** END GPL LICENSE BLOCK ***** -SET(INC +set(INC . ../../../../intern/string ../../../../intern/ghost @@ -56,7 +56,7 @@ SET(INC ${ZLIB_INC} ) -SET(SRC +set(SRC bmfont.cpp GPC_Canvas.cpp GPC_Engine.cpp @@ -79,6 +79,6 @@ SET(SRC GPC_System.h ) -ADD_DEFINITIONS(-DGLEW_STATIC) +add_definitions(-DGLEW_STATIC) -BLENDERLIB_NOLIST(ge_player_common "${SRC}" "${INC}") +blenderlib_nolist(ge_player_common "${SRC}" "${INC}") diff --git a/source/gameengine/GamePlayer/ghost/CMakeLists.txt b/source/gameengine/GamePlayer/ghost/CMakeLists.txt index 906ece9ded8..7078296ac32 100644 --- a/source/gameengine/GamePlayer/ghost/CMakeLists.txt +++ b/source/gameengine/GamePlayer/ghost/CMakeLists.txt @@ -24,7 +24,7 @@ # # ***** END GPL LICENSE BLOCK ***** -SET(INC +set(INC . ../../../../intern/string ../../../../intern/ghost @@ -57,7 +57,7 @@ SET(INC ${PYTHON_INC} ) -SET(SRC +set(SRC GPG_Application.cpp GPG_Canvas.cpp GPG_ghost.cpp @@ -70,10 +70,10 @@ SET(SRC GPG_System.h ) -ADD_DEFINITIONS(-DGLEW_STATIC) +add_definitions(-DGLEW_STATIC) -IF(WITH_CODEC_FFMPEG) - ADD_DEFINITIONS(-DWITH_FFMPEG) -ENDIF(WITH_CODEC_FFMPEG) +if(WITH_CODEC_FFMPEG) + add_definitions(-DWITH_FFMPEG) +endif() -BLENDERLIB_NOLIST(ge_player_ghost "${SRC}" "${INC}") +blenderlib_nolist(ge_player_ghost "${SRC}" "${INC}") |