CMake: add library deps to CMakeLists.txt
authorCampbell Barton <ideasman42@gmail.com>
Tue, 16 Apr 2019 04:18:52 +0000 (06:18 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 16 Apr 2019 04:20:52 +0000 (06:20 +0200)
Tested to work on Linux and macOS.

This will be enabled once all platforms are verified.

See D4684

62 files changed:
extern/ceres/CMakeLists.txt
extern/ceres/bundle.sh
extern/glog/CMakeLists.txt
intern/audaspace/CMakeLists.txt
intern/cycles/blender/CMakeLists.txt
intern/cycles/bvh/CMakeLists.txt
intern/cycles/device/CMakeLists.txt
intern/cycles/kernel/CMakeLists.txt
intern/cycles/kernel/osl/CMakeLists.txt
intern/cycles/render/CMakeLists.txt
intern/ghost/CMakeLists.txt
intern/libmv/CMakeLists.txt
intern/libmv/bundle.sh
source/blender/blenfont/CMakeLists.txt
source/blender/blenkernel/CMakeLists.txt
source/blender/blenlib/CMakeLists.txt
source/blender/blenloader/CMakeLists.txt
source/blender/blentranslation/CMakeLists.txt
source/blender/bmesh/CMakeLists.txt
source/blender/compositor/CMakeLists.txt
source/blender/draw/CMakeLists.txt
source/blender/editors/animation/CMakeLists.txt
source/blender/editors/armature/CMakeLists.txt
source/blender/editors/curve/CMakeLists.txt
source/blender/editors/gpencil/CMakeLists.txt
source/blender/editors/interface/CMakeLists.txt
source/blender/editors/io/CMakeLists.txt
source/blender/editors/mesh/CMakeLists.txt
source/blender/editors/object/CMakeLists.txt
source/blender/editors/physics/CMakeLists.txt
source/blender/editors/scene/CMakeLists.txt
source/blender/editors/screen/CMakeLists.txt
source/blender/editors/sculpt_paint/CMakeLists.txt
source/blender/editors/sound/CMakeLists.txt
source/blender/editors/space_action/CMakeLists.txt
source/blender/editors/space_api/CMakeLists.txt
source/blender/editors/space_clip/CMakeLists.txt
source/blender/editors/space_console/CMakeLists.txt
source/blender/editors/space_graph/CMakeLists.txt
source/blender/editors/space_image/CMakeLists.txt
source/blender/editors/space_nla/CMakeLists.txt
source/blender/editors/space_node/CMakeLists.txt
source/blender/editors/space_outliner/CMakeLists.txt
source/blender/editors/space_sequencer/CMakeLists.txt
source/blender/editors/space_statusbar/CMakeLists.txt
source/blender/editors/space_text/CMakeLists.txt
source/blender/editors/space_view3d/CMakeLists.txt
source/blender/editors/transform/CMakeLists.txt
source/blender/editors/undo/CMakeLists.txt
source/blender/freestyle/CMakeLists.txt
source/blender/gpu/CMakeLists.txt
source/blender/ikplugin/CMakeLists.txt
source/blender/imbuf/CMakeLists.txt
source/blender/makesrna/intern/CMakeLists.txt
source/blender/modifiers/CMakeLists.txt
source/blender/python/bmesh/CMakeLists.txt
source/blender/python/generic/CMakeLists.txt
source/blender/python/intern/CMakeLists.txt
source/blender/python/mathutils/CMakeLists.txt
source/blender/render/CMakeLists.txt
source/blender/windowmanager/CMakeLists.txt
source/creator/CMakeLists.txt

index fad0734f52fab12e77e46cb81520f848fc7ab4e5..7653bc4852f482ba7de2f7771ecb58ce3372666e 100644 (file)
@@ -257,7 +257,7 @@ set(SRC
 )
 
 set(LIB
-
+       extern_glog
 )
 
 if(WITH_LIBMV_SCHUR_SPECIALIZATIONS)
index b084eb4a00c9ad44740cbdc3261161162639229a..561e2b404c179483e85f857936b89d20341c982c 100755 (executable)
@@ -136,7 +136,7 @@ ${headers}
 )
 
 set(LIB
-
+       extern_glog
 )
 
 if(WITH_LIBMV_SCHUR_SPECIALIZATIONS)
index 1b1abbfc73517abacd0323a161a9c6a3af394174..47c5063be1f71d972b12df09990fa8ac4a3fd768 100644 (file)
@@ -54,6 +54,7 @@ set(SRC
 )
 
 set(LIB
+       extern_gflags
 )
 
 if(WIN32)
index 6b828b204f1e809b1ec84c8f27766cfe5a039800..21657d6f3c0797e51934b7444db749fdd5adc731 100644 (file)
@@ -41,6 +41,12 @@ endif()
 set(LIB
 )
 
+if(NOT WITH_SYSTEM_AUDASPACE)
+       list(APPEND LIB
+               audaspace
+       )
+endif()
+
 if(WITH_PYTHON)
        list(APPEND INC_SYS
                ${PYTHON_INCLUDE_DIRS}
@@ -49,6 +55,12 @@ if(WITH_PYTHON)
                intern/AUD_PyInit.cpp
                intern/AUD_PyInit.h
        )
+       if(NOT WITH_SYSTEM_AUDASPACE)
+               list(APPEND LIB
+                       audaspace-py
+               )
+       endif()
+
        add_definitions(-DWITH_PYTHON)
 endif()
 
index 3f8868d793b3b0830951479f544dafb04d25d9e7..ccbe20b28a8900ac2040f750914d044303e3b698 100644 (file)
@@ -39,6 +39,13 @@ set(SRC
 )
 
 set(LIB
+       cycles_bvh
+       cycles_device
+       cycles_graph
+       cycles_kernel
+       cycles_render
+       cycles_subd
+       cycles_util
 )
 
 set(ADDON_FILES
index 52f4138432b9f72bd33aed34276740be2053a7f3..ea31838d816a7d0176841d6ea114dff47a29c50d 100644 (file)
@@ -36,7 +36,7 @@ set(SRC_HEADERS
 )
 
 set(LIB
-
+       cycles_render
 )
 
 include_directories(${INC})
index f0f0390c29b8f7d0e07cebd8b9d1a6009af9110d..d804a07bcab7fb949ba0711c29194c56235e0818 100644 (file)
@@ -62,6 +62,16 @@ set(LIB
 
 )
 
+if(WITH_CUDA_DYNLOAD)
+       list(APPEND LIB
+               extern_cuew
+       )
+else()
+       list(APPEND LIB
+               ${CUDA_CUDA_LIBRARY}
+       )
+endif()
+
 add_definitions(${GL_DEFINITIONS})
 if(WITH_CYCLES_NETWORK)
        add_definitions(-DWITH_NETWORK)
index cbb69962781af0b3ead3b9e11d437eb0c84a0729..01552dff9bb55bf135ad93e2f0d436546ee53dfd 100644 (file)
@@ -474,6 +474,9 @@ endif()
 # OSL module
 
 if(WITH_CYCLES_OSL)
+       list(APPEND LIB
+               cycles_kernel_osl
+       )
        add_subdirectory(osl)
        add_subdirectory(shaders)
 endif()
index 804610bdc10b1f91b5b1ac94be7b81d3dc6ef135..0a3d0b974cb8d3e3027dd5eae22d644c3514c70b 100644 (file)
@@ -26,7 +26,7 @@ set(HEADER_SRC
 )
 
 set(LIB
-
+       cycles_render
 )
 
 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
index af0f8b806a854e8e7e0a313ada42069e376592af..140fcb206dcfff4b999ac04f8eaee3f343584dcc 100644 (file)
@@ -74,8 +74,15 @@ set(SRC_HEADERS
 )
 
 set(LIB
+       cycles_bvh
 )
 
+if(WITH_CYCLES_OSL)
+       list(APPEND LIB
+               cycles_kernel_osl
+       )
+endif()
+
 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
 
 include_directories(${INC})
index eeec5ab1528668a80e3e7d4c7cc89129a6b1680e..a43906cea8574329bfd9821ed9cfde569cfac60c 100644 (file)
@@ -85,6 +85,9 @@ set(SRC
 )
 
 set(LIB
+       bf_intern_glew_mx
+       bf_intern_string
+       ${GLEW_LIBRARY}
 )
 
 if(WITH_GHOST_DEBUG)
@@ -195,6 +198,10 @@ elseif(WITH_X11)
        if(WITH_GHOST_XDND)
                add_definitions(-DWITH_XDND)
 
+               list(APPEND LIB
+                       extern_xdnd
+               )
+
                list(APPEND INC
                        ../../extern/xdnd
                )
index 91e638c9c45d58b1fdfda23b20d0d1a613682d60..b2193ae732073515f8cfd40e0c88d6a81dceb46f 100644 (file)
@@ -34,7 +34,8 @@ set(SRC
 )
 
 set(LIB
-
+       extern_ceres
+       extern_glog
 )
 
 if(WITH_LIBMV)
index 27fc0e886a1f7c6f0d076cfb6703754a20f3841e..ca7f22a1e5aea4fb43dbffc1e14994a6dd85ce9e 100755 (executable)
@@ -113,7 +113,8 @@ set(SRC
 )
 
 set(LIB
-
+       extern_ceres
+       extern_glog
 )
 
 if(WITH_LIBMV)
index 25497d1b1c2afc1ed863c0f53bcf93909d735a7c..78d805398ef2a1eaa52169e08ef0ada657d13021 100644 (file)
@@ -52,6 +52,8 @@ set(SRC
 )
 
 set(LIB
+       bf_gpu
+       bf_intern_guardedalloc
 )
 
 if(WIN32)
index 390ac51e470917fa4dbe9c4de765c6b543cb6573..696d252c81d76647924ecc8298ee560b6bc32186 100644 (file)
@@ -355,6 +355,31 @@ set(SRC
 )
 
 set(LIB
+       bf_editor_animation  # FIXME, bad level (compare_ak_cfraPtr)
+
+       bf_blenfont
+       bf_blenlib
+       bf_blenloader
+       bf_blentranslation
+       bf_bmesh
+       bf_depsgraph
+       bf_draw
+       bf_gpencil_modifiers
+       bf_gpu
+       bf_ikplugin
+       bf_imbuf
+       bf_intern_ghost
+       bf_intern_guardedalloc
+       bf_intern_libmv  # Uses stub when disabled.
+       bf_intern_mikktspace
+       bf_intern_opensubdiv  # Uses stub when disabled.
+       bf_modifiers
+       bf_nodes
+       bf_physics
+       bf_python
+       bf_python_bmesh
+       bf_rna
+       bf_shader_fx
 )
 
 if(WITH_BINRELOC)
@@ -387,6 +412,10 @@ if(WITH_BULLET)
        list(APPEND INC
                ../../../intern/rigidbody
        )
+       list(APPEND LIB
+               bf_intern_rigidbody
+               extern_bullet
+       )
        add_definitions(-DWITH_BULLET)
 endif()
 
@@ -481,6 +510,9 @@ if(WITH_MOD_FLUID)
        list(APPEND INC
                ../../../intern/elbeem/extern
        )
+       list(APPEND LIB
+               bf_intern_elbeem
+       )
        add_definitions(-DWITH_MOD_FLUID)
 endif()
 
@@ -488,6 +520,9 @@ if(WITH_MOD_SMOKE)
        list(APPEND INC
                ../../../intern/smoke/extern
        )
+       list(APPEND LIB
+               bf_intern_smoke
+       )
        add_definitions(-DWITH_SMOKE)
 endif()
 
@@ -509,6 +544,9 @@ if(WITH_LZO)
                list(APPEND INC_SYS
                        ../../../extern/lzo/minilzo
                )
+               list(APPEND LIB
+                       extern_minilzo
+               )
        endif()
        add_definitions(-DWITH_LZO)
 endif()
@@ -517,6 +555,9 @@ if(WITH_LZMA)
        list(APPEND INC_SYS
                ../../../extern/lzma
        )
+       list(APPEND LIB
+               extern_lzma
+       )
        add_definitions(-DWITH_LZMA)
 endif()
 
@@ -557,6 +598,9 @@ if(WITH_OPENVDB)
        list(APPEND INC
                 ../../../intern/openvdb
        )
+       list(APPEND LIB
+                bf_intern_openvdb
+       )
        add_definitions(-DWITH_OPENVDB)
 
        if(WITH_OPENVDB_BLOSC)
index 18332f5ddeae6af3257496e99e307490257ff5f2..22cd4fbb237ffb2b14db76c9cc2afcfa3b341712 100644 (file)
@@ -234,6 +234,10 @@ set(SRC
 )
 
 set(LIB
+       bf_intern_eigen
+       bf_intern_guardedalloc
+       bf_intern_numaapi
+       extern_wcwidth
 )
 
 if(WITH_MEM_VALGRIND)
index 26d1ee14856b1b7f298e9bff08d129c5a138c308..ffb77a02aa13e94352434fe74aa9def28f3da043 100644 (file)
@@ -68,6 +68,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 if(WITH_BUILDINFO)
index 2a397af051d74b431803b33feaf8bf971fde015a..5bb35d79373b1ad67d4c8237e815ce3f9be36646 100644 (file)
@@ -40,10 +40,15 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
+       list(APPEND LIB
+               bf_intern_locale
+       )
 endif()
 
 if(WITH_PYTHON)
index 6e228bba3ee2746d798ec01d6b2b446989120205..7e34d1e7f04d998f3bc46dcc8a3ed8603d7b32b5 100644 (file)
@@ -164,6 +164,7 @@ set(SRC
 )
 
 set(LIB
+       extern_rangetree
 )
 
 if(MSVC AND NOT MSVC_CLANG)
@@ -174,6 +175,9 @@ if(WITH_BULLET)
        list(APPEND INC_SYS
                ${BULLET_INCLUDE_DIRS}
        )
+       list(APPEND LIB
+               extern_bullet
+       )
        add_definitions(-DWITH_BULLET)
 endif()
 
index 67e7afefcd365f772d9c94fea52a64167bf58848..2b03b713e3c7ee5ee9298f630ca87b4f4719dfbe 100644 (file)
@@ -540,6 +540,9 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
+       extern_clew
 )
 
 list(APPEND INC
index fe9b3d1f6297e06ebf628254dc6fdc49b88dd333..a01e247cfe8f5991f656ddec6f45206f0b0ec646 100644 (file)
@@ -152,6 +152,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 data_to_c_simple(engines/eevee/shaders/ambient_occlusion_lib.glsl SRC)
index 14936e5bc2a6d3c2ad9e2502158a5cf38293fe55..a8de87e44e9506905283125b6c08dfd9a8b34d05 100644 (file)
@@ -54,6 +54,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 if(WITH_INTERNATIONAL)
index d63c53a6a0996683a6dbf61bd0dd70d62c596f72..27eddd7e1ddb8aebaeba41923c77c6ac9a6ef946 100644 (file)
@@ -59,6 +59,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 if(WITH_INTERNATIONAL)
index 726a744dd956de8f84f28ce2c139db97997e1b79..4ccf8d59e1fb34a32496c83c8594350584a65c99 100644 (file)
@@ -49,6 +49,9 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
+       extern_curve_fit_nd
 )
 
 if(WITH_INTERNATIONAL)
index 53b527dd1f7279d08a1ca52b03ac066b3fdfa680..fa91ffd1e72ec3141ffdd57d6f77d851ae8c5e6e 100644 (file)
@@ -62,6 +62,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 if(WITH_INTERNATIONAL)
index 78b0202dc22a9708e3cd61afe12a397b6b9fd2b8..fd6b0e4a0c5dacf9884d1a86e1178a4fcdc975af 100644 (file)
@@ -80,6 +80,9 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
+       bf_editor_datafiles
 )
 
 if(WITH_INTERNATIONAL)
index 1aa6de534c4e91e189bf6ef2ef55d7a655a8e36f..6e3e111739c6ee5c46bee0cb335dc06e1ca49686 100644 (file)
@@ -47,13 +47,21 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 if(WITH_OPENCOLLADA)
+       list(APPEND LIB
+               bf_collada
+       )
        add_definitions(-DWITH_COLLADA)
 endif()
 
 if(WITH_ALEMBIC)
+       list(APPEND LIB
+               bf_alembic
+       )
        add_definitions(-DWITH_ALEMBIC)
 
        if(WITH_ALEMBIC_HDF5)
index 41e247b8d773ff0ba9b0cdf6ff167befa61cc436..707aeb781c6b5744e7c6994fc91ff9ec4314e46d 100644 (file)
@@ -73,6 +73,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 if(WITH_INTERNATIONAL)
index 7a5eee4bfbb850dfe13927bc3b38b9705332a001..75d2fada7f34f44da5f9190345116434bf6b9418 100644 (file)
@@ -69,6 +69,9 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
+       bf_render
 )
 
 add_definitions(${GL_DEFINITIONS})
index 25b76f549a245cb6d5efeab73dd61c5edb4fa2c3..39a34ed7a47748b7e8dabd95786c8a4efdebcf08 100644 (file)
@@ -51,15 +51,26 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 if(WITH_MOD_FLUID)
        list(APPEND INC
                ../../../../intern/elbeem/extern
        )
+       list(APPEND LIB
+               bf_intern_elbeem
+       )
        add_definitions(-DWITH_MOD_FLUID)
 endif()
 
+if(WITH_MOD_SMOKE)
+       list(APPEND LIB
+               bf_intern_smoke
+       )
+endif()
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
index 0768e0ee571b0a1bac99db276bcbf323abdd42e1..be1cd09f9652bfdfe629bf17d79301222d437d83 100644 (file)
@@ -35,6 +35,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 if(WITH_INTERNATIONAL)
index a4a0b873c92b3dbe31925c37ce8150184651f28e..11516a73d1edc98c44082375ee213414b8996228 100644 (file)
@@ -55,6 +55,8 @@ set(SRC
 )
 
 set(LIB
+       bf_editor_datafiles
+       bf_editor_space_sequencer
 )
 
 if(WITH_INTERNATIONAL)
index d772a1a05416a092fbd848592c5becc5c8acd1a8..e7a8c704fdacae00ff56c39853dffbc469ff4bb8 100644 (file)
@@ -65,6 +65,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 if(WITH_INTERNATIONAL)
index a7d128a261d8203482382eebd6eabdb23e03a44e..8b1caa0f306e3be7d4cdd8403b5d91e435d65838 100644 (file)
@@ -36,12 +36,17 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 if(WITH_AUDASPACE)
        list(APPEND INC_SYS
                ${AUDASPACE_C_INCLUDE_DIRS}
        )
+       list(APPEND LIB
+               bf_intern_audaspace
+       )
        add_definitions(-DWITH_AUDASPACE)
 endif()
 
index aff4e75abb7e75829a100fa561f42299addf35ac..853577180bb642ff00eae7f19ea88a7a53def5de 100644 (file)
@@ -45,6 +45,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 add_definitions(${GL_DEFINITIONS})
index 8f744269de8540ebf89848ef1bfc0e613b087229..6a440f38eb8b00e1233f976abd595e8258dde8da 100644 (file)
@@ -35,6 +35,26 @@ set(SRC
 )
 
 set(LIB
+       bf_editor_io
+       bf_editor_sound
+       bf_editor_space_action
+       bf_editor_space_buttons
+       bf_editor_space_clip
+       bf_editor_space_console
+       bf_editor_space_file
+       bf_editor_space_graph
+       bf_editor_space_image
+       bf_editor_space_info
+       bf_editor_space_nla
+       bf_editor_space_node
+       bf_editor_space_outliner
+       bf_editor_space_script
+       bf_editor_space_sequencer
+       bf_editor_space_statusbar
+       bf_editor_space_text
+       bf_editor_space_topbar
+       bf_editor_space_userpref
+       bf_editor_space_view3d
 )
 
 blender_add_lib(bf_editor_space_api "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index d770a85709ab298c8a32a8c5ee81fd2f413772bf..49d7efb5669a4514245fc95e67f50a521f680b76 100644 (file)
@@ -64,6 +64,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 add_definitions(${GL_DEFINITIONS})
index d68e7745bdf5c3f1e85ee3ca04555a8261fa920a..d8645c3674a7b7553b89c5d093bc8c119fe471fc 100644 (file)
@@ -41,6 +41,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 if(WITH_PYTHON)
index 391d0dff0f5b11497ebf1b8f7b3cec9f3794c0b0..e0fc7500f94aa2db16baa6ec1240df8a68838b84 100644 (file)
@@ -46,12 +46,17 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 if(WITH_AUDASPACE)
        list(APPEND INC_SYS
                ${AUDASPACE_C_INCLUDE_DIRS}
        )
+       list(APPEND LIB
+               bf_intern_audaspace
+       )
        add_definitions(-DWITH_AUDASPACE)
 endif()
 
index 99ede338dee6aaff0ed6ebea5cce8ffe1cf38c1e..2687849f211b1595edf54ce41b491a940496ee65 100644 (file)
@@ -48,6 +48,9 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
+       bf_editor_uvedit
 )
 
 if(WITH_INTERNATIONAL)
index 35c29ad4492b6aa87eefaca4266afa07eb2392f6..f22cc378a601b94dc9b77d1a3f19a99ade9328a3 100644 (file)
@@ -46,6 +46,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 if(WITH_INTERNATIONAL)
index 2c1ec0cc834269e255040c415f318053a52ed5e4..5e2437c99ca7b2875ece0dc34ddc303fb46597b9 100644 (file)
@@ -58,6 +58,9 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
+       bf_editor_screen
 )
 
 if(WITH_INTERNATIONAL)
index ae2d52533fe3ee72fc56d7e9f1058f3deca697f7..83832d62b9e7229d4a2f664845413d3b563b3f2f 100644 (file)
@@ -50,6 +50,9 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
+       bf_editor_undo
 )
 
 if(WITH_INTERNATIONAL)
index bf70473610d181435e76d89415b7cc7c4fd16023..5724e811e77d509e96c8cd1c15933d0f61b3322a 100644 (file)
@@ -51,6 +51,8 @@ set(SRC
 )
 
 set(LIB
+       bf_editor_interface
+       bf_editor_util
 )
 
 if(WITH_AUDASPACE)
index 3b1372b419e0c1a352cc8d928c37274e7bee854f..63562621d343b16b6c3f1f160e445ba269023253 100644 (file)
@@ -38,6 +38,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 add_definitions(${GL_DEFINITIONS})
index b542732fc54ca2c863cd7e2215597ae2b82067ba..f4054a0dd0e772814a93b6e338c5f775ec03d4df 100644 (file)
@@ -52,6 +52,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 add_definitions(${GL_DEFINITIONS})
index e3f5245fc593530413774ecf3fcdd09db156612c..837671d6f9442aba7e8e68ef47f74341d360000c 100644 (file)
@@ -73,6 +73,8 @@ set(SRC
 )
 
 set(LIB
+       bf_editor_lattice
+       bf_editor_mesh
 )
 
 if(WITH_PYTHON)
index 7d3690df826ea332b6584f0431aa7485a255178d..c475a9e4e3d879ad593ab3075cc821da33069632 100644 (file)
@@ -55,6 +55,12 @@ set(SRC
 )
 
 set(LIB
+       bf_blenfont
+       bf_blenkernel
+       bf_blenlib
+       bf_bmesh
+       bf_editor_mask
+       bf_gpu
 )
 
 if(WITH_INTERNATIONAL)
index 3a6aded0c08f7114d8368eed08f93c38b3e01770..cebfa0d67f40613c1a16fcdd2bdec188fdcb33ea 100644 (file)
@@ -37,6 +37,13 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
+       bf_editor_curve
+       bf_editor_lattice
+       bf_editor_mesh
+       bf_editor_metaball
+       bf_editor_physics
 )
 
 if(WITH_INTERNATIONAL)
index 9dfeb065902b6e57237bdd5cfc34f2ab95c1ab74..4292eef400cc7a2e8f1cae24462268daa871762d 100644 (file)
@@ -548,6 +548,7 @@ set(SRC
 )
 
 set(LIB
+       bf_python_mathutils
 )
 
 set(INC
index 430eefe6fc791f5860592edf0d857f2b73a9cc35..d7a032808947913d6afd6db60a95bae48011e12f 100644 (file)
@@ -124,6 +124,7 @@ set(SRC
 )
 
 set(LIB
+       extern_glew
 )
 
 data_to_c_simple(shaders/gpu_shader_depth_only_frag.glsl SRC)
index e741bf92925d428d690b8ef4b6bc8691f6674e66..654d83d71af57eeecdc69728b45ab8216fa031c9 100644 (file)
@@ -43,6 +43,9 @@ set(LIB
 )
 
 if(WITH_IK_SOLVER)
+       list(APPEND LIB
+               bf_intern_iksolver
+       )
        list(APPEND INC
                ../../../intern/iksolver/extern
        )
@@ -54,6 +57,9 @@ if(WITH_IK_SOLVER)
 endif()
 
 if(WITH_IK_ITASC)
+       list(APPEND LIB
+               bf_intern_itasc
+       )
        list(APPEND INC
                ../../../intern/itasc
        )
index 5c16e0d162ac52f8f797bdcb60dd172f3cf0b0ca..5d859717e3339b3471a30b120459920a8e1a78f2 100644 (file)
@@ -84,9 +84,17 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
+       bf_blenloader
+       bf_intern_guardedalloc
+       bf_intern_memutil
 )
 
 if(WITH_IMAGE_OPENEXR)
+       list(APPEND LIB
+               bf_imbuf_openexr
+       )
        add_definitions(-DWITH_OPENEXR)
 else()
        list(APPEND SRC
@@ -106,6 +114,9 @@ endif()
 
 
 if(WITH_OPENIMAGEIO)
+       list(APPEND LIB
+               bf_imbuf_openimageio
+       )
        add_definitions(-DWITH_OPENIMAGEIO)
 endif()
 
@@ -124,6 +135,9 @@ if(WITH_CODEC_AVI)
        list(APPEND INC
                ../avi
        )
+       list(APPEND LIB
+               bf_avi
+       )
        add_definitions(-DWITH_AVI)
 endif()
 
@@ -144,10 +158,16 @@ if(WITH_CODEC_FFMPEG)
 endif()
 
 if(WITH_IMAGE_DDS)
+       list(APPEND LIB
+               bf_imbuf_dds
+       )
        add_definitions(-DWITH_DDS)
 endif()
 
 if(WITH_IMAGE_CINEON)
+       list(APPEND LIB
+               bf_imbuf_cineon
+       )
        add_definitions(-DWITH_CINEON)
 endif()
 
index 8521e06c328f79acf0eeb71b1701994f2ff0edaa..81ea7c03b86167d21fbbe4c4c0eb953286e70083 100644 (file)
@@ -373,6 +373,23 @@ set(SRC
 )
 
 set(LIB
+       bf_editor_armature
+       bf_editor_curve
+       bf_editor_gizmo_library
+       bf_editor_gpencil
+       bf_editor_mesh
+       bf_editor_object
+       bf_editor_physics
+       bf_editor_render
+       bf_editor_scene
+       bf_editor_sculpt_paint
+       bf_editor_space_clip
+       bf_editor_space_file
+       bf_editor_space_image
+       bf_editor_space_info
+       bf_editor_space_node
+       bf_editor_space_view3d
+       bf_editor_transform
 )
 
 add_definitions(${GL_DEFINITIONS})
index 8cf6382608d70807fe67b2c4cb3c89142ffa3da0..33bdd900556eb3f09cde3b90e624a6040dd2ef81 100644 (file)
@@ -109,6 +109,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
 )
 
 if(WITH_ALEMBIC)
@@ -116,12 +118,18 @@ if(WITH_ALEMBIC)
        list(APPEND INC
                ../alembic
        )
+       list(APPEND LIB
+               bf_alembic
+       )
 endif()
 
 if(WITH_MOD_REMESH)
        list(APPEND INC
                ../../../intern/dualcon
        )
+       list(APPEND LIB
+               bf_intern_dualcon
+       )
        add_definitions(-DWITH_MOD_REMESH)
 endif()
 
@@ -134,6 +142,9 @@ if(WITH_MOD_OCEANSIM)
 endif()
 
 if(WITH_BULLET)
+       list(APPEND LIB
+               extern_bullet
+       )
        add_definitions(-DWITH_BULLET)
 endif()
 
index 8e92b43eb46707b573c0065f46f39fc9248dee15..23ecdf4aa757f2f055e7be318db08d0c08f5c74f 100644 (file)
@@ -52,6 +52,9 @@ set(SRC
 )
 
 set(LIB
+       bf_blenkernel
+       bf_blenlib
+       bf_python_mathutils
 )
 
 if(WITH_FREESTYLE)
index 3ebd90e5b424602a1f25b66d5d80dd3084fc23e2..ea766d9f8d1728fd5844c324ffb5b0e6351bf185 100644 (file)
@@ -51,6 +51,7 @@ set(SRC
 )
 
 set(LIB
+       ${GLEW_LIBRARY}
 )
 
 add_definitions(${GL_DEFINITIONS})
index d517d6a9529f003c942f4fb4fc7c98233fdcfa72..f8b493b05d45d036748d9cac7d1ecbd0a29e45c0 100644 (file)
@@ -118,6 +118,9 @@ set(SRC
 )
 
 set(LIB
+       bf_editor_interface
+       bf_editor_space_api
+       bf_python_gpu
 )
 
 # only to check if buildinfo is available
index b973875977a05723c0e76a13414f620508085760..7b0c042d50aa0f67144a63d1d9957a8b0518f0a7 100644 (file)
@@ -56,6 +56,8 @@ set(SRC
 )
 
 set(LIB
+       bf_blenlib
+       bf_python_ext
 )
 
 
index 96c8b9c860bf07690504fe5b28094ff98cbbcfe6..d6bbbbd3061f5fa160396eb02fd5918d69ff356e 100644 (file)
@@ -80,6 +80,9 @@ if(WITH_PYTHON)
 endif()
 
 if(WITH_IMAGE_OPENEXR)
+       list(APPEND LIB
+               bf_imbuf_openexr
+       )
        add_definitions(-DWITH_OPENEXR)
 endif()
 
@@ -91,6 +94,9 @@ if(WITH_FREESTYLE)
        list(APPEND INC
                ../freestyle
        )
+       list(APPEND LIB
+               bf_freestyle
+       )
        add_definitions(-DWITH_FREESTYLE)
 endif()
 
index 3f4f18005efdb80cd070703e54d71349ccdb4315..63253c3737b8e333051a515e6f1523757dc7c7f2 100644 (file)
@@ -107,6 +107,7 @@ set(SRC
 )
 
 set(LIB
+       bf_editor_screen
 )
 
 if(WITH_AUDASPACE)
@@ -166,6 +167,9 @@ if(WIN32)
 endif()
 
 if(WITH_COMPOSITOR)
+       list(APPEND LIB
+               bf_compositor
+       )
        add_definitions(-DWITH_COMPOSITOR)
 endif()
 
index 5111e2b5491a1f92bb59487c6838e668b13f206b..83e1c9557a008ccbaaaba0b03af9c10f0a0df850 100644 (file)
@@ -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()