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-12-06 13:56:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-06 13:56:37 +0300
commitd64f46e0bbdd390b2b5487f09638402e7bdfe0e4 (patch)
treec775bb6b390ba0ac1bc8a906a9d908f51dd07716 /source/blenderplayer
parent357826aa6e18c3af1625223656d748b92db86696 (diff)
CMake: use a global list to store libraries built rather then cmake_blender_libs.txt file.
Diffstat (limited to 'source/blenderplayer')
-rw-r--r--source/blenderplayer/CMakeLists.txt14
1 files changed, 9 insertions, 5 deletions
diff --git a/source/blenderplayer/CMakeLists.txt b/source/blenderplayer/CMakeLists.txt
index f2b7b72ac9a..fa6521e7f8d 100644
--- a/source/blenderplayer/CMakeLists.txt
+++ b/source/blenderplayer/CMakeLists.txt
@@ -51,12 +51,16 @@ ENDIF(WIN32 AND NOT UNIX)
ADD_DEPENDENCIES(blenderplayer makesdna)
-FILE(READ ${CMAKE_BINARY_DIR}/cmake_blender_libs.txt BLENDER_LINK_LIBS)
+GET_PROPERTY(BLENDER_LINK_LIBS GLOBAL PROPERTY BLENDER_LINK_LIBS)
-SET(BLENDER_LINK_LIBS ${BLENDER_LINK_LIBS} ge_player_common ge_player_ghost blenkernel_blc)
+LIST(APPEND BLENDER_LINK_LIBS
+ ge_player_common
+ ge_player_ghost
+ blenkernel_blc
+)
IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
- SET(BLENDER_LINK_LIBS ${BLENDER_LINK_LIBS} extern_binreloc)
+ LIST(APPEND BLENDER_LINK_LIBS extern_binreloc)
ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux")
IF(UNIX)
@@ -120,11 +124,11 @@ IF(UNIX)
)
IF(WITH_CODEC_QUICKTIME)
- SET(BLENDER_SORTED_LIBS ${BLENDER_SORTED_LIBS} bf_quicktime)
+ LIST(APPEND BLENDER_SORTED_LIBS bf_quicktime)
ENDIF(WITH_CODEC_QUICKTIME)
IF(WITH_CXX_GUARDEDALLOC)
- SET(BLENDER_SORTED_LIBS ${BLENDER_SORTED_LIBS} bf_intern_guardedalloc_cpp)
+ LIST(APPEND BLENDER_SORTED_LIBS bf_intern_guardedalloc_cpp)
ENDIF(WITH_CXX_GUARDEDALLOC)
FOREACH(SORTLIB ${BLENDER_SORTED_LIBS})