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>2019-04-16 07:18:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-16 07:20:52 +0300
commit5498e7f193e2399b8693ef17803f864103307b4b (patch)
treec72b53e0d0f3fe1e5f4706c207917a7cbcaa18d7 /source/creator/CMakeLists.txt
parent813e470eac309a78d1f8cdc4a3abb0314b0ee5f3 (diff)
CMake: add library deps to CMakeLists.txt
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
Diffstat (limited to 'source/creator/CMakeLists.txt')
-rw-r--r--source/creator/CMakeLists.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index 5111e2b5491..83e1c9557a0 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -38,6 +38,22 @@ blender_include_dirs(
)
set(LIB
+ bf_blenfont
+ bf_blenkernel
+ bf_blenlib
+ bf_blenloader
+ bf_depsgraph
+ bf_dna
+ bf_editor_datafiles
+ bf_imbuf
+ bf_intern_clog
+ bf_intern_guardedalloc
+ bf_intern_memutil
+ bf_intern_opencolorio
+ bf_python
+ bf_render
+ bf_rna
+ bf_windowmanager
)
add_definitions(${GL_DEFINITIONS})
@@ -57,6 +73,9 @@ if(WITH_CYCLES)
blender_include_dirs(../../intern/cycles/blender)
add_definitions(-DWITH_CYCLES_LOGGING)
endif()
+ list(APPEND LIB
+ bf_intern_cycles
+ )
endif()
if(WITH_CODEC_FFMPEG)
@@ -86,11 +105,17 @@ endif()
if(WITH_BINRELOC)
blender_include_dirs(${BINRELOC_INCLUDE_DIRS})
+ list(APPEND LIB
+ extern_binreloc
+ )
add_definitions(-DWITH_BINRELOC)
endif()
if(WITH_FREESTYLE)
blender_include_dirs(../blender/freestyle)
+ list(APPEND LIB
+ bf_freestyle
+ )
add_definitions(-DWITH_FREESTYLE)
endif()