CMake: prepare for BLENDER_SORTED_LIBS removal
authorCampbell Barton <ideasman42@gmail.com>
Sun, 14 Apr 2019 13:18:44 +0000 (15:18 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 14 Apr 2019 13:37:24 +0000 (15:37 +0200)
No functional change, this adds LIB definition and args to cmake files.
Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS'
since there are many platforms/configurations that could break when
changing linking order.

Manually add and enable WITHOUT_SORTED_LIBS to try building
without sorted libs (currently fails since all variables are empty).
This check will eventually be removed.

See T46725.

122 files changed:
build_files/cmake/macros.cmake
extern/binreloc/CMakeLists.txt
extern/bullet2/CMakeLists.txt
extern/ceres/CMakeLists.txt
extern/ceres/bundle.sh
extern/clew/CMakeLists.txt
extern/cuew/CMakeLists.txt
extern/curve_fit_nd/CMakeLists.txt
extern/draco/dracoenc/CMakeLists.txt
extern/gflags/CMakeLists.txt
extern/glew-es/CMakeLists.txt
extern/glew/CMakeLists.txt
extern/glog/CMakeLists.txt
extern/gtest/CMakeLists.txt
extern/lzma/CMakeLists.txt
extern/lzo/CMakeLists.txt
extern/rangetree/CMakeLists.txt
extern/sdlew/CMakeLists.txt
extern/wcwidth/CMakeLists.txt
extern/xdnd/CMakeLists.txt
intern/audaspace/CMakeLists.txt
intern/clog/CMakeLists.txt
intern/cycles/blender/CMakeLists.txt
intern/dualcon/CMakeLists.txt
intern/eigen/CMakeLists.txt
intern/elbeem/CMakeLists.txt
intern/ghost/CMakeLists.txt
intern/glew-mx/CMakeLists.txt
intern/guardedalloc/CMakeLists.txt
intern/iksolver/CMakeLists.txt
intern/itasc/CMakeLists.txt
intern/libmv/CMakeLists.txt
intern/libmv/bundle.sh
intern/locale/CMakeLists.txt
intern/memutil/CMakeLists.txt
intern/mikktspace/CMakeLists.txt
intern/numaapi/CMakeLists.txt
intern/opencolorio/CMakeLists.txt
intern/opensubdiv/CMakeLists.txt
intern/openvdb/CMakeLists.txt
intern/rigidbody/CMakeLists.txt
intern/smoke/CMakeLists.txt
intern/string/CMakeLists.txt
intern/utfconv/CMakeLists.txt
source/blender/alembic/CMakeLists.txt
source/blender/avi/CMakeLists.txt
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/collada/CMakeLists.txt
source/blender/compositor/CMakeLists.txt
source/blender/depsgraph/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/datafiles/CMakeLists.txt
source/blender/editors/gizmo_library/CMakeLists.txt
source/blender/editors/gpencil/CMakeLists.txt
source/blender/editors/interface/CMakeLists.txt
source/blender/editors/io/CMakeLists.txt
source/blender/editors/lattice/CMakeLists.txt
source/blender/editors/mask/CMakeLists.txt
source/blender/editors/mesh/CMakeLists.txt
source/blender/editors/metaball/CMakeLists.txt
source/blender/editors/object/CMakeLists.txt
source/blender/editors/physics/CMakeLists.txt
source/blender/editors/render/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_buttons/CMakeLists.txt
source/blender/editors/space_clip/CMakeLists.txt
source/blender/editors/space_console/CMakeLists.txt
source/blender/editors/space_file/CMakeLists.txt
source/blender/editors/space_graph/CMakeLists.txt
source/blender/editors/space_image/CMakeLists.txt
source/blender/editors/space_info/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_script/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_topbar/CMakeLists.txt
source/blender/editors/space_userpref/CMakeLists.txt
source/blender/editors/space_view3d/CMakeLists.txt
source/blender/editors/transform/CMakeLists.txt
source/blender/editors/undo/CMakeLists.txt
source/blender/editors/util/CMakeLists.txt
source/blender/editors/uvedit/CMakeLists.txt
source/blender/freestyle/CMakeLists.txt
source/blender/gpencil_modifiers/CMakeLists.txt
source/blender/gpu/CMakeLists.txt
source/blender/ikplugin/CMakeLists.txt
source/blender/imbuf/CMakeLists.txt
source/blender/imbuf/intern/cineon/CMakeLists.txt
source/blender/imbuf/intern/dds/CMakeLists.txt
source/blender/imbuf/intern/oiio/CMakeLists.txt
source/blender/imbuf/intern/openexr/CMakeLists.txt
source/blender/makesdna/intern/CMakeLists.txt
source/blender/makesrna/intern/CMakeLists.txt
source/blender/modifiers/CMakeLists.txt
source/blender/nodes/CMakeLists.txt
source/blender/physics/CMakeLists.txt
source/blender/python/bmesh/CMakeLists.txt
source/blender/python/generic/CMakeLists.txt
source/blender/python/gpu/CMakeLists.txt
source/blender/python/intern/CMakeLists.txt
source/blender/python/mathutils/CMakeLists.txt
source/blender/render/CMakeLists.txt
source/blender/shader_fx/CMakeLists.txt
source/blender/windowmanager/CMakeLists.txt
source/creator/CMakeLists.txt
tests/gtests/testing/CMakeLists.txt

index 9d1baaa24fd90406a9a6e503b779b65344fcf145..c4ae75db9d70138f8a20faa7fb90be57c80dfac2 100644 (file)
@@ -222,6 +222,7 @@ function(blender_add_lib__impl
        sources
        includes
        includes_sys
+       libraries
        )
 
        # message(STATUS "Configuring library ${name}")
@@ -233,6 +234,11 @@ function(blender_add_lib__impl
 
        add_library(${name} ${sources})
 
+       # Use for testing 'BLENDER_SORTED_LIBS' removal.
+       if(DEFINED WITHOUT_SORTED_LIBS AND WITHOUT_SORTED_LIBS)
+               target_link_libraries(${name} "${libraries}")
+       endif()
+
        # works fine without having the includes
        # listed is helpful for IDE's (QtCreator/MSVC)
        blender_source_group("${sources}")
@@ -257,11 +263,12 @@ function(blender_add_lib_nolist
        sources
        includes
        includes_sys
+       libraries
        )
 
        add_cc_flags_custom_test(${name} PARENT_SCOPE)
 
-       blender_add_lib__impl(${name} "${sources}" "${includes}" "${includes_sys}")
+       blender_add_lib__impl(${name} "${sources}" "${includes}" "${includes_sys}" "${libraries}")
 endfunction()
 
 function(blender_add_lib
@@ -269,11 +276,12 @@ function(blender_add_lib
        sources
        includes
        includes_sys
+       libraries
        )
 
        add_cc_flags_custom_test(${name} PARENT_SCOPE)
 
-       blender_add_lib__impl(${name} "${sources}" "${includes}" "${includes_sys}")
+       blender_add_lib__impl(${name} "${sources}" "${includes}" "${includes_sys}" "${libraries}")
 
        set_property(GLOBAL APPEND PROPERTY BLENDER_LINK_LIBS ${name})
 endfunction()
index 524b884450ce391ba00b64aa10797e94f12acfd9..766939b4228107dd016a6dc84225a44afa5463d5 100644 (file)
@@ -32,7 +32,10 @@ set(SRC
        include/binreloc.h
 )
 
+set(LIB
+)
+
 add_definitions(-DENABLE_BINRELOC)
 
 
-blender_add_lib(extern_binreloc "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(extern_binreloc "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 7a19b553fdb366ae8a34b7a74fcb2fc40b52093b..b9c21bd831f9f498a82419df29d22fdf1cbc179e 100644 (file)
@@ -407,9 +407,12 @@ set(SRC
        src/Bullet-C-Api.h
 )
 
+set(LIB
+)
+
 if(CMAKE_COMPILER_IS_GNUCXX)
        # needed for gcc 4.6+
        set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")
 endif()
 
-blender_add_lib(extern_bullet "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(extern_bullet "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 3a9ade5510a7683c067301f0c1d8eeef600f33c0..0531eb71ba5c9583f5fcd0f9b3b51dd9b88c5c79 100644 (file)
@@ -319,4 +319,4 @@ if(WITH_OPENMP)
        )
 endif()
 
-blender_add_lib(extern_ceres "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(extern_ceres "${SRC}" "${INC}" "${INC_SYS}" "")
index 1c9a2e729e589d59a9469bbc98bbf47c3345672c..e8212aa1d4118e2f00cdcc52a4b111d1be818859 100755 (executable)
@@ -165,5 +165,5 @@ if(WITH_OPENMP)
        )
 endif()
 
-blender_add_lib(extern_ceres "\${SRC}" "\${INC}" "\${INC_SYS}")
+blender_add_lib(extern_ceres "\${SRC}" "\${INC}" "\${INC_SYS}" "")
 EOF
index 940db3d7194ab805f62fad5202cd76118d61e475..806771cb7f4f42b6cb096a16592e6bb1ad07f899 100644 (file)
@@ -32,6 +32,9 @@ set(SRC
        src/clew.c
 )
 
+set(LIB
+)
+
 add_definitions(-DCL_USE_DEPRECATED_OPENCL_1_1_APIS)
 
-blender_add_lib(extern_clew "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(extern_clew "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 1fc5c8f697826e7c31729f82848ad85a235cdf96..45d10e29799c84ae97252f15f804dc6cf7044f7d 100644 (file)
@@ -33,4 +33,7 @@ set(SRC
        include/cuew.h
 )
 
-blender_add_lib(extern_cuew "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(extern_cuew "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index cc9efe1c47092536698b8a9642ff54dd6e9f8e9e..f9264f9b890c9d3925d2873149a549cb41fa9b0a 100644 (file)
@@ -36,4 +36,7 @@ set(SRC
        intern/generic_heap.h
 )
 
-blender_add_lib(extern_curve_fit_nd "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(extern_curve_fit_nd "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 8deb21ece83ce1e095e67a1314530617b25ac4e9..04f54ab929366dd8f390a72e102110e335665694 100644 (file)
@@ -178,8 +178,11 @@ set(SRC
        src/draco/point_cloud/point_cloud.h
 )
 
+set(LIB
+)
+
 set(INC
        src
 )
 
-blender_add_lib(dracoenc "${SRC}" "${INC}" "")
+blender_add_lib(dracoenc "${SRC}" "${INC}" "" "${LIB}")
index da24e5504a399c4f854bdd66d540ac44e04e9d74..13c3a2a03a9b07e0fb3464800ca3471e797be537 100644 (file)
@@ -40,6 +40,9 @@ set(SRC
        src/util.h
 )
 
+set(LIB
+)
+
 if(WIN32)
        list(APPEND SRC
                src/windows_port.cc
@@ -49,4 +52,4 @@ endif()
 
 add_definitions(${GFLAGS_DEFINES})
 
-blender_add_lib(extern_gflags "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(extern_gflags "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 8f14855bf4fff240266812e2c190b0e78b428563..5bb46d3f65372aeb1fbfe0826ae30fe85648417c 100644 (file)
@@ -42,6 +42,9 @@ set(SRC
        include/GL/wglew.h
 )
 
+set(LIB
+)
+
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(extern_glew_es "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(extern_glew_es "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 47d38586d1a18b2efec7e64bd0840fc517c5ff91..b84b0a30199f17baaccca2e831c29792148770f0 100644 (file)
@@ -41,6 +41,9 @@ set(SRC
        include/GL/wglew.h
 )
 
+set(LIB
+)
+
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(extern_glew "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(extern_glew "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 82b415d06d76a695e650e5add628917a1320d6c2..1b1abbfc73517abacd0323a161a9c6a3af394174 100644 (file)
@@ -53,6 +53,9 @@ set(SRC
        src/stacktrace_x86-inl.h
 )
 
+set(LIB
+)
+
 if(WIN32)
        list(APPEND SRC
                src/windows/port.cc
@@ -90,4 +93,4 @@ endif()
 add_definitions(${GFLAGS_DEFINES})
 add_definitions(${GLOG_DEFINES})
 
-blender_add_lib(extern_glog "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(extern_glog "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 22b47e76b120420a23aa6637c5fcedaa6592fecf..f33e012b0f494208778736ef325b1dffaeb18a3a 100644 (file)
@@ -66,4 +66,7 @@ set(SRC
        include/gtest/internal/gtest-type-util.h
 )
 
-blender_add_lib(extern_gtest "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(extern_gtest "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index d4fe8ade9baa9689c5a77dec300073bf2145e818..8be848f83ce0b849e5697456461ad74b71c55d67 100644 (file)
@@ -42,4 +42,7 @@ set(SRC
        Types.h
 )
 
-blender_add_lib(extern_lzma "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(extern_lzma "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index e4609963d296abff7394f0b77cf37a2d7ea96c93..7eebc92c46dcfb3841bf5bed626b4cb33c425f80 100644 (file)
@@ -36,4 +36,7 @@ set(SRC
        minilzo/minilzo.h
 )
 
-blender_add_lib(extern_minilzo "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(extern_minilzo "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 77c293e851ab0c110e39d0253f23cf2577e2323c..cb0b424a023b08b3335576f21912845abb0a2108 100644 (file)
@@ -27,4 +27,7 @@ set(SRC
        intern/range_tree.c
 )
 
-blender_add_lib(extern_rangetree "${SRC}" "${INC}" "")
+set(LIB
+)
+
+blender_add_lib(extern_rangetree "${SRC}" "${INC}" "" "${LIB}")
index c0cd9944755740a7fcc52cbef05056e244b6360a..5698d87108b211bcd855f11d359fb6258774a540 100644 (file)
@@ -32,4 +32,7 @@ set(SRC
        src/sdlew.c
 )
 
-blender_add_lib(extern_sdlew "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(extern_sdlew "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 29a2977c3eb41b1bdc642944bae7c109c0ce9f46..384a2c4f58c12393c00a2179961e84675139fce0 100644 (file)
@@ -32,4 +32,7 @@ set(SRC
        wcwidth.h
 )
 
-blender_add_lib(extern_wcwidth "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(extern_wcwidth "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 9a24606d133d5c2ee0cfaf33a345f99427ce2998..54d6648c2a693e6b4b20502ed162a516438e3b4d 100644 (file)
@@ -31,8 +31,11 @@ set(SRC
        xdnd.h
 )
 
+set(LIB
+)
+
 add_definitions(
        -DHAVE_SYS_TIME_H
 )
 
-blender_add_lib(extern_xdnd "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(extern_xdnd "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index e359a631532b6c5f2a0eb429c99fef49b48134a8..6b828b204f1e809b1ec84c8f27766cfe5a039800 100644 (file)
@@ -38,6 +38,9 @@ endif()
                intern/AUD_Set.h
        )
 
+set(LIB
+)
+
 if(WITH_PYTHON)
        list(APPEND INC_SYS
                ${PYTHON_INCLUDE_DIRS}
@@ -49,4 +52,4 @@ if(WITH_PYTHON)
        add_definitions(-DWITH_PYTHON)
 endif()
 
-blender_add_lib(bf_intern_audaspace "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_intern_audaspace "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 479723c4cd67c09304aa13e69de65847b9a60874..3ca9094dae6244f49cf96a788d5eec442fa186c4 100644 (file)
@@ -32,7 +32,10 @@ set(SRC
        CLG_log.h
 )
 
+set(LIB
+)
+
 # Disabled for makesdna/makesrna.
 add_definitions(-DWITH_CLOG_PTHREADS)
 
-blender_add_lib(bf_intern_clog "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_intern_clog "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index f8720de366f0e876873e8bafdd768fe963b53088..3f8868d793b3b0830951479f544dafb04d25d9e7 100644 (file)
@@ -38,6 +38,9 @@ set(SRC
        blender_util.h
 )
 
+set(LIB
+)
+
 set(ADDON_FILES
        addon/__init__.py
        addon/engine.py
@@ -59,7 +62,7 @@ if(WITH_CYCLES_NETWORK)
        add_definitions(-DWITH_NETWORK)
 endif()
 
-blender_add_lib(bf_intern_cycles "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_intern_cycles "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
 
 # avoid link failure with clang 3.4 debug
 if(CMAKE_C_COMPILER_ID MATCHES "Clang" AND NOT ${CMAKE_C_COMPILER_VERSION} VERSION_LESS '3.4')
index bd8c2eff504026833307bb82c7b556885c2316ff..a5c1137bc65097938998e271a94e5dda02edc76a 100644 (file)
@@ -45,4 +45,7 @@ set(SRC
        dualcon.h
 )
 
-blender_add_lib(bf_intern_dualcon "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(bf_intern_dualcon "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 6cdd7e55f0aec5528fd9f6428912397de8df9f35..650a1aa63c1f8a51cef32793994b85cbab7ac03d 100644 (file)
@@ -40,4 +40,7 @@ set(SRC
        intern/svd.h
 )
 
-blender_add_lib(bf_intern_eigen "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(bf_intern_eigen "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 6a9b307aee41bf1ea530108b5f1be97249c0c194..d70f3939a40295eae810edae8328a13b10994c7e 100644 (file)
@@ -85,6 +85,9 @@ set(SRC
        intern/globals.h
 )
 
+set(LIB
+)
+
 # elbeem has some harmless UNUSED warnings
 remove_strict_flags()
 
@@ -116,4 +119,4 @@ else()
        add_definitions(-DPARALLEL=0)
 endif()
 
-blender_add_lib_nolist(bf_intern_elbeem "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib_nolist(bf_intern_elbeem "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 74d5af9a6c177d7503096caf2a643987df9daa1e..eeec5ab1528668a80e3e7d4c7cc89129a6b1680e 100644 (file)
@@ -84,6 +84,9 @@ set(SRC
        intern/GHOST_WindowManager.h
 )
 
+set(LIB
+)
+
 if(WITH_GHOST_DEBUG)
        list(APPEND SRC
                intern/GHOST_EventPrinter.cpp
@@ -337,4 +340,4 @@ endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_intern_ghost "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_intern_ghost "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index c24a741771d7ea013a71bc2b6eccc15c13aa51ce..f0b0b2d0ee78bfd030d2775fa7b69d918aa2dd48 100644 (file)
@@ -34,6 +34,9 @@ set(SRC
        intern/symbol-binding.h
 )
 
+set(LIB
+)
+
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_intern_glew_mx "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_intern_glew_mx "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 3f07d46529c9b318e216fee31cd71752217f600e..72c3395156e1476bc2f9c1455eaecb3285014dc5 100644 (file)
@@ -40,6 +40,9 @@ set(SRC
        ../atomic/atomic_ops.h
 )
 
+set(LIB
+)
+
 if(WIN32 AND NOT UNIX)
        list(APPEND SRC
                intern/mmap_win.c
@@ -53,12 +56,12 @@ if(WITH_MEM_JEMALLOC AND NOT ("${JEMALLOC_VERSION}" VERSION_LESS "5.0.0"))
        add_definitions(-DWITH_JEMALLOC_CONF)
 endif()
 
-blender_add_lib(bf_intern_guardedalloc "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_intern_guardedalloc "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
 
 # Override C++ alloc, optional.
 if(WITH_CXX_GUARDEDALLOC)
        set(SRC
                cpp/mallocn.cpp
        )
-       blender_add_lib(bf_intern_guardedalloc_cpp "${SRC}" "${INC}" "${INC_SYS}")
+       blender_add_lib(bf_intern_guardedalloc_cpp "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
 endif()
index 4e9cc7c145b03980d54927bafb29c0a6e6146206..362e6e2bb6bd3fa7c5386256fc76ba6721b7e1ed 100644 (file)
@@ -42,4 +42,7 @@ set(SRC
        intern/IK_QTask.h
 )
 
-blender_add_lib(bf_intern_iksolver "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(bf_intern_iksolver "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index db711d7eb2a5d4b3ac54a1873e480ca13b4538bd..c0f48bcf95758411453fd5822354d62f4186cd12 100644 (file)
@@ -353,6 +353,9 @@ set(SRC
        ${EIGEN3_HEADERS}
 )
 
+set(LIB
+)
+
 unset(EIGEN3_HEADERS)
 
-blender_add_lib(bf_intern_itasc "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_intern_itasc "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 98edc1492c5ebfce84ffc6e5743548bb57a2f37e..5adfdbea1afdd1365cf6538a0c67da5b0387557e 100644 (file)
@@ -192,7 +192,7 @@ if(WITH_LIBMV)
 
 
        if(WITH_GTESTS)
-               blender_add_lib(libmv_test_dataset "./libmv/multiview/test_data_sets.cc" "" "")
+               blender_add_lib(libmv_test_dataset "./libmv/multiview/test_data_sets.cc" "" "" "")
 
                BLENDER_SRC_GTEST("libmv_predict_tracks" "./libmv/autotrack/predict_tracks_test.cc" "libmv_test_dataset;bf_intern_libmv;extern_ceres")
                BLENDER_SRC_GTEST("libmv_tracks" "./libmv/autotrack/tracks_test.cc" "libmv_test_dataset;bf_intern_libmv;extern_ceres")
@@ -232,4 +232,4 @@ else()
        )
 endif()
 
-blender_add_lib(bf_intern_libmv "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_intern_libmv "${SRC}" "${INC}" "${INC_SYS}" "")
index 093095f5f5cfa8e990cefbae02e4857b9f6fbd2c..98a1e3646348a8465637be592c301b860093bfd4 100755 (executable)
@@ -174,7 +174,7 @@ ${third_headers}
 
 
        if(WITH_GTESTS)
-               blender_add_lib(libmv_test_dataset "./libmv/multiview/test_data_sets.cc" "${INC}" "${INC_SYS}")
+               blender_add_lib(libmv_test_dataset "./libmv/multiview/test_data_sets.cc" "${INC}" "${INC_SYS}" "")
 
 ${tests}
        endif()
@@ -184,5 +184,5 @@ else()
        )
 endif()
 
-blender_add_lib(bf_intern_libmv "\${SRC}" "\${INC}" "\${INC_SYS}")
+blender_add_lib(bf_intern_libmv "\${SRC}" "\${INC}" "\${INC_SYS}" "")
 EOF
index b4d142e3efb4d22c56c3f1d921df6c781f60cb18..31b9e690b2972f1c802115bb71bdbae66fff0c37 100644 (file)
@@ -31,6 +31,9 @@ set(SRC
        boost_locale_wrapper.h
 )
 
+set(LIB
+)
+
 if(APPLE)
        # Cocoa code to read the locale on OSX
        list(APPEND SRC
@@ -54,4 +57,4 @@ if(WITH_INTERNATIONAL)
        add_definitions(${BOOST_DEFINITIONS})
 endif()
 
-blender_add_lib(bf_intern_locale "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_intern_locale "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index e75443c5003ba3bd243545f5f4a9e6a4869aecbf..dc1cf0e0ebf0a2d21212e32cb186f32cad919f64 100644 (file)
@@ -38,4 +38,7 @@ set(SRC
        MEM_RefCountedC-Api.h
 )
 
-blender_add_lib(bf_intern_memutil "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(bf_intern_memutil "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index f4755916ccce1df5868824146a1e079ddac77e53..1dc508a66a4d96398285434ad4f0e967aed14f89 100644 (file)
@@ -39,4 +39,7 @@ set(SRC
        mikktspace.h
 )
 
-blender_add_lib(bf_intern_mikktspace "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(bf_intern_mikktspace "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 6d8edb5e1eb8bc96fe119c444c28079381f5ea30..cc4fb27bdb74d55a1308b6a89d3e08d38bfe90f7 100644 (file)
@@ -34,6 +34,9 @@ set(SRC
        source/build_config.h
 )
 
+set(LIB
+)
+
 add_definitions(-DWITH_DYNLOAD)
 
-blender_add_lib(bf_intern_numaapi "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_intern_numaapi "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 8a4423b8e673b64b2e22ce87fe18f47293d7acab..48d619d8d710e8350fc653920b994901e2bb5384 100644 (file)
@@ -38,6 +38,9 @@ set(SRC
        ocio_impl.h
 )
 
+set(LIB
+)
+
 if(WITH_OPENCOLORIO)
        add_definitions(
                -DWITH_OCIO
@@ -69,4 +72,4 @@ if(WITH_OPENCOLORIO)
 endif()
 
 
-blender_add_lib(bf_intern_opencolorio "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_intern_opencolorio "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 66ed4d174a074070b50809a7def235ddfcf67c7e..62ecb314a80630059d57f946a6d67beb16bd121b 100644 (file)
@@ -35,6 +35,9 @@ set(SRC
        opensubdiv_topology_refiner_capi.h
 )
 
+set(LIB
+)
+
 if(WITH_OPENSUBDIV)
        macro(OPENSUBDIV_DEFINE_COMPONENT component)
                if(${${component}})
@@ -122,4 +125,4 @@ else()
        )
 endif()
 
-blender_add_lib(bf_intern_opensubdiv "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_intern_opensubdiv "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index ddec43f30a3a34b62aa8bb146884aa17b5b7c8d8..2d72febd3cf3df529979916f76ff7955767fa281 100644 (file)
@@ -30,6 +30,9 @@ set(SRC
        openvdb_capi.h
 )
 
+set(LIB
+)
+
 if(WITH_OPENVDB)
        add_definitions(
                -DWITH_OPENVDB
@@ -69,4 +72,4 @@ if(WITH_OPENVDB)
        endif()
 endif()
 
-blender_add_lib(bf_intern_openvdb "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_intern_openvdb "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 817838a16424dab4a619ee9f0a103fe6eaa96a54..02841c134c0736f3c640670d7074e15abf65596d 100644 (file)
@@ -32,4 +32,7 @@ set(SRC
        RBI_api.h
 )
 
-blender_add_lib(bf_intern_rigidbody "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(bf_intern_rigidbody "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 0e9c4572bb16b9f570f2a25fd98504e174ada528..232183fe33ccb7b535e7f13f8badd4d53e0efe0f 100644 (file)
@@ -77,6 +77,9 @@ set(SRC
        intern/tnt/tnt_version.h
 )
 
+set(LIB
+)
+
 # quiet -Wundef
 add_definitions(-DDDF_DEBUG=0)
 
@@ -93,4 +96,4 @@ if(WITH_FFTW3)
        )
 endif()
 
-blender_add_lib(bf_intern_smoke "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_intern_smoke "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 7a0d45f4cc41ad989e2d32f6c05f707f71c82b1b..3f436c79a6957e211253ea36600c0117a1c24c31 100644 (file)
@@ -32,4 +32,7 @@ set(SRC
        STR_String.h
 )
 
-blender_add_lib(bf_intern_string "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(bf_intern_string "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 118d1710e53246062412a65d4582575f8c0075cf..9450461f50b8a701df2f013d2731cac9a6b8ae99 100644 (file)
@@ -30,6 +30,9 @@ set(SRC
        utfconv.h
 )
 
+set(LIB
+)
+
 # This is odd but leave it for now...
 # Why have win32 check here? - this is only used for windows.
 # ... because one day we might want to use it on other platforms.
@@ -40,4 +43,4 @@ if(WIN32)
        )
 endif()
 
-blender_add_lib(bf_intern_utfconv "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_intern_utfconv "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 813653b74c04db366bf2bbc3220ea6e8c37dfdba..e6badc271109f63dbc1cdd988ea550ac5ca86a7d 100644 (file)
@@ -72,8 +72,11 @@ set(SRC
        intern/abc_util.h
 )
 
+set(LIB
+)
+
 if(WITH_ALEMBIC_HDF5)
        add_definitions(-DWITH_ALEMBIC_HDF5)
 endif()
 
-blender_add_lib(bf_alembic "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_alembic "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index d5d062bb826c7cda3a2db7786ab70931690d7598..b03c1a433fb579f58037abc2892549251b4763b7 100644 (file)
@@ -46,4 +46,7 @@ set(SRC
        intern/avi_rgb32.h
 )
 
-blender_add_lib(bf_avi "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(bf_avi "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index e8a7750c445b31a5b456362af542ade1584c90e6..25497d1b1c2afc1ed863c0f53bcf93909d735a7c 100644 (file)
@@ -51,6 +51,9 @@ set(SRC
        intern/blf_internal_types.h
 )
 
+set(LIB
+)
+
 if(WIN32)
        list(APPEND SRC
                intern/blf_font_win32_compat.c
@@ -70,4 +73,4 @@ endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_blenfont "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_blenfont "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index c882be972f5ecba97e5b5618ee882caad4474cf2..8e6a912b0713a6a7d45e9413dd2b3583fee2eef2 100644 (file)
@@ -355,6 +355,9 @@ set(SRC
        intern/subdiv_inline.h
 )
 
+set(LIB
+)
+
 if(WITH_BINRELOC)
        list(APPEND INC_SYS
                ${BINRELOC_INCLUDE_DIRS}
@@ -566,4 +569,4 @@ endif()
 #      set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
 #endif()
 
-blender_add_lib(bf_blenkernel "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_blenkernel "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 09573d31a768d17b1b49e1d68f79db85ba1b2e00..18332f5ddeae6af3257496e99e307490257ff5f2 100644 (file)
@@ -233,6 +233,9 @@ set(SRC
        PIL_time_utildefines.h
 )
 
+set(LIB
+)
+
 if(WITH_MEM_VALGRIND)
        add_definitions(-DWITH_MEM_VALGRIND)
 endif()
@@ -254,4 +257,4 @@ set_source_files_properties(
        PROPERTIES HEADER_FILE_ONLY TRUE
 )
 
-blender_add_lib(bf_blenlib "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_blenlib "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index b9bec1b97b3f857839fc993aa9623db218f469b4..26d1ee14856b1b7f298e9bff08d129c5a138c308 100644 (file)
@@ -67,6 +67,9 @@ set(SRC
        intern/readfile.h
 )
 
+set(LIB
+)
+
 if(WITH_BUILDINFO)
        add_definitions(-DWITH_BUILDINFO)
 endif()
@@ -92,7 +95,7 @@ if(WITH_ALEMBIC)
        add_definitions(-DWITH_ALEMBIC)
 endif()
 
-blender_add_lib(bf_blenloader "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_blenloader "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
 
 # needed so writefile.c can use dna_type_offsets.h
 add_dependencies(bf_blenloader bf_dna)
index fa3f8c47beec2715ab11c09a0272ca976cac25a2..2a397af051d74b431803b33feaf8bf971fde015a 100644 (file)
@@ -39,6 +39,9 @@ set(SRC
        BLT_translation.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
@@ -56,7 +59,7 @@ if(WIN32)
        endif()
 endif()
 
-blender_add_lib(bf_blentranslation "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_blentranslation "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
 
 if(WITH_INTERNATIONAL)
        add_subdirectory(msgfmt)
index 631886ac86e1e983bb0423c26965fb0899b3bcd3..be6c819bc1ff571282c817d03b8fe1d0de9055b3 100644 (file)
@@ -163,6 +163,9 @@ set(SRC
        bmesh_tools.h
 )
 
+set(LIB
+)
+
 if(MSVC AND NOT MSVC_CLANG)
        set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX /wd4101")
 endif()
@@ -182,4 +185,4 @@ if(WITH_FREESTYLE)
        add_definitions(-DWITH_FREESTYLE)
 endif()
 
-blender_add_lib(bf_bmesh "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_bmesh "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 41178b542eb49d7ddbf520844ca651faa6a75137..7a02068f42d1cc673f3a1338ce89973662a8b6a9 100644 (file)
@@ -125,6 +125,9 @@ set(SRC
        collada_utils.h
 )
 
+set(LIB
+)
+
 if(WITH_BUILDINFO)
        add_definitions(-DWITH_BUILDINFO)
 endif()
@@ -138,4 +141,4 @@ if(CMAKE_COMPILER_IS_GNUCXX)
        set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")
 endif()
 
-blender_add_lib(bf_collada "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_collada "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 306c06c4576307500d011d146b57004955a50042..67e7afefcd365f772d9c94fea52a64167bf58848 100644 (file)
@@ -539,6 +539,9 @@ set(SRC
        operations/COM_MaskOperation.h
 )
 
+set(LIB
+)
+
 list(APPEND INC
        ${CMAKE_CURRENT_BINARY_DIR}/operations
 )
@@ -552,4 +555,4 @@ if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
-blender_add_lib(bf_compositor "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_compositor "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 9a619ef560d3ab8578995f8d15c99c6f401ae86f..b75356addf7a60e1ca6e2fbc09037415e017b3de 100644 (file)
@@ -109,6 +109,9 @@ set(SRC
        intern/depsgraph_update.h
 )
 
+set(LIB
+)
+
 if(WITH_BOOST)
        list(APPEND INC_SYS
                ${BOOST_INCLUDE_DIR}
@@ -116,4 +119,4 @@ if(WITH_BOOST)
        add_definitions(-DHAVE_BOOST_FUNCTION_BINDINGS)
 endif()
 
-blender_add_lib(bf_depsgraph "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_depsgraph "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 3ac606fc48f5eb8d7f29c5ed1fcf4699af99c23a..fe9b3d1f6297e06ebf628254dc6fdc49b88dd333 100644 (file)
@@ -151,6 +151,9 @@ set(SRC
        engines/workbench/workbench_private.h
 )
 
+set(LIB
+)
+
 data_to_c_simple(engines/eevee/shaders/ambient_occlusion_lib.glsl SRC)
 data_to_c_simple(engines/eevee/shaders/default_frag.glsl SRC)
 data_to_c_simple(engines/eevee/shaders/default_world_frag.glsl SRC)
@@ -355,4 +358,4 @@ if(WITH_FREESTYLE)
        add_definitions(-DWITH_FREESTYLE)
 endif()
 
-blender_add_lib(bf_draw "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_draw "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 933b481517534ed96e623615e9eed9100169360b..14936e5bc2a6d3c2ad9e2502158a5cf38293fe55 100644 (file)
@@ -53,6 +53,9 @@ set(SRC
        anim_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
@@ -63,4 +66,4 @@ endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_animation "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_animation "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 0dd213d3bef2243e96a76a4a9081fcbab12fbf26..d63c53a6a0996683a6dbf61bd0dd70d62c596f72 100644 (file)
@@ -58,10 +58,13 @@ set(SRC
        meshlaplacian.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_armature "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_armature "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 9d1b463ec424b03a585871eceedb96e8b8e8c8a9..726a744dd956de8f84f28ce2c139db97997e1b79 100644 (file)
@@ -48,10 +48,13 @@ set(SRC
        curve_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_curve "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_curve "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 876af10f884ad0c61d5002eae636b7c7d04b9469..3a67cd80234d7c7f750d8162dd1e83f2f4ec09c2 100644 (file)
@@ -28,6 +28,9 @@ set(SRC
 
 )
 
+set(LIB
+)
+
 # Order matches "UI_icons.h", final name will be formatted: "icons{size}_{name}.dat"
 set(ICON_NAMES
        question
@@ -845,4 +848,4 @@ endif()
 
 unset(ICON_NAMES)
 
-blender_add_lib(bf_editor_datafiles "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_datafiles "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 0e7b2a8be0f2956cb8d367d07bfeeb972fb6195c..0d2d9446889f624d052505f876fbfab25c4d5d9b 100644 (file)
@@ -58,6 +58,9 @@ set(SRC
        gizmo_types/value2d_gizmo.c
 )
 
+set(LIB
+)
+
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_gizmo_library "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_gizmo_library "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 8532ea22827cdbf201e5c504f2a9f27b0178e1c1..53b527dd1f7279d08a1ca52b03ac066b3fdfa680 100644 (file)
@@ -61,10 +61,13 @@ set(SRC
        gpencil_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_gpencil "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_gpencil "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 1ecd9e649244e8143c65328e11709d7f52037654..78b0202dc22a9708e3cd61afe12a397b6b9fd2b8 100644 (file)
@@ -79,6 +79,9 @@ set(SRC
        interface_regions_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
@@ -103,4 +106,4 @@ endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_interface "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_interface "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 2235e94180db82b6b15eb98327a2a005aa43711e..1aa6de534c4e91e189bf6ef2ef55d7a655a8e36f 100644 (file)
@@ -46,6 +46,9 @@ set(SRC
        io_ops.h
 )
 
+set(LIB
+)
+
 if(WITH_OPENCOLLADA)
        add_definitions(-DWITH_COLLADA)
 endif()
@@ -62,4 +65,4 @@ if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
-blender_add_lib(bf_editor_io "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_io "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index f14de01c10232818d739e5d0bbefc8f354b56338..5a231837d0b39dd472a10433f1f08141f19c4757 100644 (file)
@@ -41,4 +41,7 @@ set(SRC
        lattice_intern.h
 )
 
-blender_add_lib(bf_editor_lattice "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(bf_editor_lattice "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 63f8dc78d130cb38f064d65c3a6cd382a921789e..a8ed6812897f6ff8764695170de4b2404f8fc6ab 100644 (file)
@@ -47,6 +47,9 @@ set(SRC
        mask_intern.h
 )
 
+set(LIB
+)
+
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_mask "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_mask "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index bc8761f24c0d839a16d7c738658d1219dd23c19e..41e247b8d773ff0ba9b0cdf6ff167befa61cc436 100644 (file)
@@ -72,6 +72,9 @@ set(SRC
        mesh_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
@@ -86,4 +89,4 @@ endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_mesh "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_mesh "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index a0d6fb928ff7c1b3dee65004574d835ff8f62480..11547a0af6fee1bb9557787bd0e159d9e8aa54fd 100644 (file)
@@ -40,4 +40,7 @@ set(SRC
        mball_intern.h
 )
 
-blender_add_lib(bf_editor_metaball "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(bf_editor_metaball "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index f15427e61ac760e448492c00e6fa8b75a994e407..7a5eee4bfbb850dfe13927bc3b38b9705332a001 100644 (file)
@@ -68,6 +68,9 @@ set(SRC
        object_intern.h
 )
 
+set(LIB
+)
+
 add_definitions(${GL_DEFINITIONS})
 
 if(WITH_PYTHON)
@@ -78,4 +81,4 @@ if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
-blender_add_lib(bf_editor_object "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_object "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 88d6f1b015c24d3cfb97ec57d0d034c543945198..1b42c3f26692a5b841fa8e31193973e9e57dbb07 100644 (file)
@@ -51,6 +51,9 @@ set(SRC
        physics_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_MOD_FLUID)
        add_definitions(-DWITH_MOD_FLUID)
 endif()
@@ -68,4 +71,4 @@ endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_physics "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_physics "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index c65cada1cc0517efbbe6a7ce8e4b257947f1961e..dee56d7f2facae4aafc086a7ec0f16f51cebcc6c 100644 (file)
@@ -50,6 +50,9 @@ set(SRC
        render_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_HEADLESS)
        add_definitions(-DWITH_HEADLESS)
 endif()
@@ -67,4 +70,4 @@ if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
-blender_add_lib(bf_editor_render "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_render "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 7f496cad060c066920c06e717406b72a35055943..0768e0ee571b0a1bac99db276bcbf323abdd42e1 100644 (file)
@@ -34,8 +34,11 @@ set(SRC
        scene_edit.c
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
-blender_add_lib(bf_editor_scene "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_scene "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 810adba328861688f8149b8d1eb9dcacf1bc0c8d..a4a0b873c92b3dbe31925c37ce8150184651f28e 100644 (file)
@@ -54,10 +54,13 @@ set(SRC
        screen_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_screen "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_screen "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 704de3f7f9dd2c1cdef5b94f8304fea7ceaa5c4c..d772a1a05416a092fbd848592c5becc5c8acd1a8 100644 (file)
@@ -64,10 +64,13 @@ set(SRC
        sculpt_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_sculpt_paint "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_sculpt_paint "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 67ec2359c5ee842f4da60852b0d7746b5a4d4d9f..41650f07101fc0305f74076b5dbc9396aaedf2e7 100644 (file)
@@ -35,6 +35,9 @@ set(SRC
        sound_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_AUDASPACE)
        add_definitions(-DWITH_AUDASPACE)
 
@@ -51,4 +54,4 @@ if(WITH_CODEC_SNDFILE)
        add_definitions(-DWITH_SNDFILE)
 endif()
 
-blender_add_lib(bf_editor_sound "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_sound "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 92cf40248fffa56b2caf1a751f86ff3190528500..aff4e75abb7e75829a100fa561f42299addf35ac 100644 (file)
@@ -44,6 +44,9 @@ set(SRC
        action_intern.h
 )
 
+set(LIB
+)
+
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_space_action "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_action "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 34436ae9b4d123ee289c193e8890e18c749edaac..8f744269de8540ebf89848ef1bfc0e613b087229 100644 (file)
@@ -34,4 +34,7 @@ set(SRC
        spacetypes.c
 )
 
-blender_add_lib(bf_editor_space_api "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(bf_editor_space_api "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 90919fa793d3a00750b782469cc4ba0e86f67aa6..5ec2041c1dcb165818fc361da65c8c61beb11454 100644 (file)
@@ -41,6 +41,9 @@ set(SRC
        buttons_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
@@ -51,4 +54,4 @@ if(WITH_FREESTYLE)
        add_definitions(-DWITH_FREESTYLE)
 endif()
 
-blender_add_lib(bf_editor_space_buttons "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_buttons "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index a40a1bf6d2513a41af0dcf8a6c5aa0cba6833dae..d770a85709ab298c8a32a8c5ee81fd2f413772bf 100644 (file)
@@ -63,10 +63,13 @@ set(SRC
        tracking_ops_intern.h
 )
 
+set(LIB
+)
+
 add_definitions(${GL_DEFINITIONS})
 
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
-blender_add_lib(bf_editor_space_clip "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_clip "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index bed1b7dce966919f2272169b522617d1c9658695..d68e7745bdf5c3f1e85ee3ca04555a8261fa920a 100644 (file)
@@ -40,10 +40,13 @@ set(SRC
        console_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_PYTHON)
        add_definitions(-DWITH_PYTHON)
 endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_space_console "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_console "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 07ba1cc7a6448ed8f35e560c54674248ce05bc61..a92ed62cae2c3153690e1b38abbf0f4caf3962c9 100644 (file)
@@ -52,6 +52,9 @@ set(SRC
        fsmenu.h
 )
 
+set(LIB
+)
+
 if(WITH_HEADLESS)
        add_definitions(-DWITH_HEADLESS)
 endif()
@@ -94,4 +97,4 @@ if(WITH_FREESTYLE)
        add_definitions(-DWITH_FREESTYLE)
 endif()
 
-blender_add_lib(bf_editor_space_file "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_file "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 20e2ebc0936f24029ed9de9947b08a3035a44a08..53c228cd9c9db4930413bae67e1d21d30a118015 100644 (file)
@@ -45,6 +45,9 @@ set(SRC
        graph_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_AUDASPACE)
        add_definitions(-DWITH_AUDASPACE)
 
@@ -59,4 +62,4 @@ endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_space_graph "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_graph "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 77abfebc6624fab71a6c0766ccd7beffe22a348e..99ede338dee6aaff0ed6ebea5cce8ffe1cf38c1e 100644 (file)
@@ -47,6 +47,9 @@ set(SRC
        image_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
@@ -73,4 +76,4 @@ endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_space_image "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_image "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index f54e4921e6be12129751f62cd16f11696a136f25..665d130e072a4db01b9008b4501569165278a9d8 100644 (file)
@@ -49,10 +49,13 @@ set(SRC
        textview.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_space_info "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_info "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index eb0d92e2e69ab5c6ead0007ecc7788611acdb9cb..35c29ad4492b6aa87eefaca4266afa07eb2392f6 100644 (file)
@@ -45,10 +45,13 @@ set(SRC
        nla_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_space_nla "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_nla "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 0950e738e3e253c2c428506b84ed1271c9095dd5..2c1ec0cc834269e255040c415f318053a52ed5e4 100644 (file)
@@ -57,6 +57,9 @@ set(SRC
        node_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
@@ -67,4 +70,4 @@ endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_space_node "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_node "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 207a5c194bd662ca6193734405582b70ff41c63f..ae2d52533fe3ee72fc56d7e9f1058f3deca697f7 100644 (file)
@@ -49,10 +49,13 @@ set(SRC
        outliner_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_space_outliner "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_outliner "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 5d950a3558de4c146d64123037e4f5a898a7f90f..19b3e42b37a882115512da7411cd40a4447f22cc 100644 (file)
@@ -39,6 +39,9 @@ set(SRC
        script_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_PYTHON)
        list(APPEND INC
                ../../python
@@ -48,4 +51,4 @@ endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_space_script "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_script "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 7d76fa1af5cf8030937043916c07e55e81bb0328..bf70473610d181435e76d89415b7cc7c4fd16023 100644 (file)
@@ -50,6 +50,9 @@ set(SRC
        sequencer_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_AUDASPACE)
        add_definitions(-DWITH_AUDASPACE)
 
@@ -64,4 +67,4 @@ endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_space_sequencer "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_sequencer "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 8440d410c3168677ca1e7f12c3686ab20310ad66..3b1372b419e0c1a352cc8d928c37274e7bee854f 100644 (file)
@@ -37,6 +37,9 @@ set(SRC
        space_statusbar.c
 )
 
+set(LIB
+)
+
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_space_statusbar "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_statusbar "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 378f2e5d84f9f51ff750a68059e0cd6f59d9aee0..b542732fc54ca2c863cd7e2215597ae2b82067ba 100644 (file)
@@ -51,6 +51,9 @@ set(SRC
        text_intern.h
 )
 
+set(LIB
+)
+
 add_definitions(${GL_DEFINITIONS})
 
 if(WITH_PYTHON)
@@ -64,4 +67,4 @@ if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
-blender_add_lib(bf_editor_space_text "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_text "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 418a0eb3ad8e823fb935fcd9f5dbfeaae925d674..15352044d4aa1db8c77ad49ac35601dbeb29fb9f 100644 (file)
@@ -37,6 +37,9 @@ set(SRC
        space_topbar.c
 )
 
+set(LIB
+)
+
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_space_topbar "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_topbar "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index ec0c76c3d5b5b40ad829acdc3198419513810bad..d26766358ca22b9594de1070d8729c926415323d 100644 (file)
@@ -36,4 +36,7 @@ set(SRC
        userpref_intern.h
 )
 
-blender_add_lib(bf_editor_space_userpref "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(bf_editor_space_userpref "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 83e65246797c2a5dc15e87869d3958cd21b84e57..e3f5245fc593530413774ecf3fcdd09db156612c 100644 (file)
@@ -72,6 +72,9 @@ set(SRC
        view3d_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_PYTHON)
        blender_include_dirs(../../python)
        add_definitions(-DWITH_PYTHON)
@@ -91,4 +94,4 @@ if(WITH_MOD_SMOKE)
        add_definitions(-DWITH_SMOKE)
 endif()
 
-blender_add_lib(bf_editor_space_view3d "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_space_view3d "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 088128ba152fc7ec0553e976d4a6868de1750593..7d3690df826ea332b6584f0431aa7485a255178d 100644 (file)
@@ -54,10 +54,13 @@ set(SRC
        transform.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_transform "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_transform "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 6ccba01c465bc18d494a0952ff51f86a920803e6..3a6aded0c08f7114d8368eed08f93c38b3e01770 100644 (file)
@@ -36,8 +36,11 @@ set(SRC
        undo_intern.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
-blender_add_lib(bf_editor_undo "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_undo "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 55298e5c4ab82b47fefdc3f62e49395a8d7005c1..728dacc164946cf33533d0287eacb663777cb400 100644 (file)
@@ -99,6 +99,9 @@ set(SRC
        ../include/UI_view2d.h
 )
 
+set(LIB
+)
+
 add_definitions(${GL_DEFINITIONS})
 
 if(WITH_INTERNATIONAL)
@@ -112,4 +115,4 @@ if(WITH_PYTHON)
        )
 endif()
 
-blender_add_lib(bf_editor_util "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_util "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index c54c3851ee70976e162ff52b8e3abe9aa4355446..45cd9b09de3e913e32876bd5c5bf9d5540d8aeba 100644 (file)
@@ -47,10 +47,13 @@ set(SRC
        uvedit_parametrizer.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_editor_uvedit "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_editor_uvedit "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index edab13d4286e3fb8a57954686bebf33357cdd916..9dfeb065902b6e57237bdd5cfc34f2ab95c1ab74 100644 (file)
@@ -547,6 +547,9 @@ set(SRC
        intern/winged_edge/WingedEdgeBuilder.h
 )
 
+set(LIB
+)
+
 set(INC
        .
        ../blenkernel
@@ -581,4 +584,4 @@ if(WIN32)
        )
 endif()
 
-blender_add_lib(bf_freestyle "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_freestyle "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index e1aad91050a0a42257a3c6944d98e945336ffe58..f7cfe073d4a23807d03e6ec8643e11907da22ea8 100644 (file)
@@ -63,10 +63,13 @@ set(SRC
        MOD_gpencil_modifiertypes.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_gpencil_modifiers "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_gpencil_modifiers "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index b76edf4068a36624eb0e97e05841b7feef742c0a..430eefe6fc791f5860592edf0d857f2b73a9cc35 100644 (file)
@@ -123,6 +123,9 @@ set(SRC
        intern/gpu_vertex_format_private.h
 )
 
+set(LIB
+)
+
 data_to_c_simple(shaders/gpu_shader_depth_only_frag.glsl SRC)
 data_to_c_simple(shaders/gpu_shader_uniform_color_frag.glsl SRC)
 data_to_c_simple(shaders/gpu_shader_checker_frag.glsl SRC)
@@ -255,4 +258,4 @@ if(WITH_IMAGE_DDS)
        add_definitions(-DWITH_DDS)
 endif()
 
-blender_add_lib(bf_gpu "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_gpu "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 648486072f04c70062d9ac464d8d8af64f7222a3..9bbc3a62b99051089bd377e3ffbac68ad77566be 100644 (file)
@@ -39,6 +39,9 @@ set(SRC
        intern/ikplugin_api.h
 )
 
+set(LIB
+)
+
 if(WITH_IK_SOLVER)
        add_definitions(-DWITH_IK_SOLVER)
        list(APPEND INC
@@ -64,4 +67,4 @@ if(WITH_IK_ITASC)
        )
 endif()
 
-blender_add_lib(bf_ikplugin "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_ikplugin "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index dd020ffe1f27f64f010fe98294d4025773473ff8..87002e5efc09c4415b9c3ee3ab3e5616740b0aec 100644 (file)
@@ -83,6 +83,9 @@ set(SRC
        ../../../intern/ffmpeg/ffmpeg_compat.h
 )
 
+set(LIB
+)
+
 if(WITH_IMAGE_OPENEXR)
        add_definitions(-DWITH_OPENEXR)
 else()
@@ -172,4 +175,4 @@ set_source_files_properties(
        PROPERTIES HEADER_FILE_ONLY TRUE
 )
 
-blender_add_lib(bf_imbuf "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_imbuf "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 2a592aba860af2b78eb398aea169aa81357d6bdb..2f6ca2793e3d76d9adc00ad10ead94e909a644ba 100644 (file)
@@ -45,8 +45,11 @@ set(SRC
        logmemfile.c
 )
 
+set(LIB
+)
+
 if(WITH_IMAGE_CINEON)
        add_definitions(-DWITH_CINEON)
 endif()
 
-blender_add_lib(bf_imbuf_cineon "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_imbuf_cineon "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 6728dbc758d39688e0ada4a5845dea451aeb93fd..c68608f4cffc926265b6d6a6e430e5b1da950528 100644 (file)
@@ -54,8 +54,11 @@ set(SRC
        dds_api.cpp
 )
 
+set(LIB
+)
+
 if(WITH_IMAGE_DDS)
        add_definitions(-DWITH_DDS)
 endif()
 
-blender_add_lib(bf_imbuf_dds "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_imbuf_dds "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 73438436abcf0d77583c21e08c50b38938f2400e..3311d3fd9b4b327f9ea792fb8ed732e795be0010 100644 (file)
@@ -39,6 +39,9 @@ set(SRC
        openimageio_api.cpp
 )
 
+set(LIB
+)
+
 if(WITH_OPENIMAGEIO)
        list(APPEND INC_SYS
                ${OPENIMAGEIO_INCLUDE_DIRS}
@@ -52,4 +55,4 @@ if(WITH_OPENIMAGEIO)
        add_definitions(-DWITH_OPENIMAGEIO)
 endif()
 
-blender_add_lib(bf_imbuf_openimageio "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_imbuf_openimageio "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 18f68d5b36519c4c524cf0a44afdaf14fa6c8f9a..c9ede9ff07fcb505e10ee2c124d0acb216861865 100644 (file)
@@ -40,6 +40,9 @@ set(SRC
        openexr_api.cpp
 )
 
+set(LIB
+)
+
 if(WITH_IMAGE_OPENEXR)
        list(APPEND INC_SYS
                ${OPENEXR_INCLUDE_DIRS}
@@ -47,4 +50,4 @@ if(WITH_IMAGE_OPENEXR)
        add_definitions(-DWITH_OPENEXR)
 endif()
 
-blender_add_lib(bf_imbuf_openexr "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_imbuf_openexr "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 09f95d50f1742e9c2a989a70a8877717cec1ddaa..1082868c4d6b9774eeb0e3df8461646d26f6fe67 100644 (file)
@@ -94,6 +94,9 @@ set(SRC
        dna_utils.h
 )
 
+set(LIB
+)
+
 set_source_files_properties(
        ${CMAKE_CURRENT_BINARY_DIR}/dna.c
        ${CMAKE_CURRENT_BINARY_DIR}/dna_verify.c
@@ -101,7 +104,7 @@ set_source_files_properties(
        PROPERTIES GENERATED TRUE
 )
 
-blender_add_lib(bf_dna "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_dna "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
 
 
 # -----------------------------------------------------------------------------
@@ -125,4 +128,7 @@ set(SRC
        ../../blenlib/intern/listbase.c
 )
 
-blender_add_lib(bf_dna_blenlib "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(bf_dna_blenlib "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 4aee3458a9230224fbcc4af3c3f2c060b928724c..8521e06c328f79acf0eeb71b1701994f2ff0edaa 100644 (file)
@@ -372,6 +372,9 @@ set(SRC
        rna_mesh_utils.h
 )
 
+set(LIB
+)
+
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_rna "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_rna "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 30dab865196815b9c8d4465d2620f94a7b0f30b7..4873e08bb05b95844084597792d34b1bcb76321f 100644 (file)
@@ -108,6 +108,9 @@ set(SRC
        intern/MOD_weightvg_util.h
 )
 
+set(LIB
+)
+
 if(WITH_ALEMBIC)
        add_definitions(-DWITH_ALEMBIC)
        list(APPEND INC
@@ -141,4 +144,4 @@ endif()
 # So we can have special tricks in modifier system.
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_modifiers "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_modifiers "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index cc2bfbadf8082106fa7d39c0e4700c478f9c21da..f58c43cf44fd59756a7bf6ae1aa2e6a701414583 100644 (file)
@@ -258,6 +258,9 @@ set(SRC
        intern/node_util.h
 )
 
+set(LIB
+)
+
 if(WITH_PYTHON)
        list(APPEND INC
                ../python
@@ -289,4 +292,4 @@ if(WITH_FREESTYLE)
        add_definitions(-DWITH_FREESTYLE)
 endif()
 
-blender_add_lib(bf_nodes "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_nodes "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 800cc6bbdc3a25388df3c0531da24ced614e879d..0a991bf29299fc5be46cf2df05146f56b7627373 100644 (file)
@@ -45,4 +45,7 @@ set(SRC
        BPH_mass_spring.h
 )
 
-blender_add_lib(bf_physics "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(bf_physics "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index c9524634f7eb92a693f5acf05d0deb5227e26550..8e92b43eb46707b573c0065f46f39fc9248dee15 100644 (file)
@@ -51,8 +51,11 @@ set(SRC
        bmesh_py_utils.h
 )
 
+set(LIB
+)
+
 if(WITH_FREESTYLE)
        add_definitions(-DWITH_FREESTYLE)
 endif()
 
-blender_add_lib(bf_python_bmesh "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_python_bmesh "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index c7b361247efd47e45915b2b849f08070af7b72a5..3ebd90e5b424602a1f25b66d5d80dd3084fc23e2 100644 (file)
@@ -50,6 +50,9 @@ set(SRC
        python_utildefines.h
 )
 
+set(LIB
+)
+
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_python_ext "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_python_ext "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 3c3a9b7e577b02367171afe584c00acf5b027a0f..aeef81c5fd7519c9966b3ad89d3fa492199aa64c 100644 (file)
@@ -54,6 +54,9 @@ set(SRC
        gpu_py_vertex_format.h
 )
 
+set(LIB
+)
+
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_python_gpu "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_python_gpu "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 89e5e368cedbd2bebc0e2325b0392a8151195edd..d517d6a9529f003c942f4fb4fc7c98233fdcfa72 100644 (file)
@@ -117,6 +117,9 @@ set(SRC
        ../BPY_extern_clog.h
 )
 
+set(LIB
+)
+
 # only to check if buildinfo is available
 if(WITH_BUILDINFO)
        add_definitions(-DBUILD_DATE)
@@ -298,4 +301,4 @@ endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_python "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_python "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 4a8d69f72fdb2c12187857b3a1dfa11a56078949..b973875977a05723c0e76a13414f620508085760 100644 (file)
@@ -55,5 +55,8 @@ set(SRC
        mathutils_noise.h
 )
 
+set(LIB
+)
+
 
-blender_add_lib(bf_python_mathutils "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_python_mathutils "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index fc2c0b324a9096c5217bf7d3b8b943cfe9025158..96c8b9c860bf07690504fe5b28094ff98cbbcfe6 100644 (file)
@@ -69,6 +69,9 @@ set(SRC
        intern/include/zbuf.h
 )
 
+set(LIB
+)
+
 if(WITH_PYTHON)
        add_definitions(-DWITH_PYTHON)
        list(APPEND INC
@@ -103,4 +106,4 @@ if(APPLE)
        endif()
 endif()
 
-blender_add_lib_nolist(bf_render "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib_nolist(bf_render "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index ddd21449d4024b6c4c0217e7b2025df45620daf7..e8f2a038dce9a9369bc59a62e8a7c093d1829df9 100644 (file)
@@ -57,10 +57,13 @@ set(SRC
        FX_shader_types.h
 )
 
+set(LIB
+)
+
 if(WITH_INTERNATIONAL)
        add_definitions(-DWITH_INTERNATIONAL)
 endif()
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_shader_fx "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_shader_fx "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 10f796919245b7180b1e2bb792ac07f70f6fd5b7..3f4f18005efdb80cd070703e54d71349ccdb4315 100644 (file)
@@ -106,6 +106,9 @@ set(SRC
        message_bus/wm_message_bus.h
 )
 
+set(LIB
+)
+
 if(WITH_AUDASPACE)
        add_definitions(-DWITH_AUDASPACE)
 
@@ -166,4 +169,4 @@ if(WITH_COMPOSITOR)
        add_definitions(-DWITH_COMPOSITOR)
 endif()
 
-blender_add_lib_nolist(bf_windowmanager "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib_nolist(bf_windowmanager "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
index 812715ca0423dab9c3cac2603be7b830e2a8422b..e4045d0b77c497dff286263ec475eeedbaf06ed6 100644 (file)
@@ -1022,7 +1022,11 @@ install(
 
 add_dependencies(blender makesdna)
 
-setup_blender_sorted_libs()
+# Use for testing 'BLENDER_SORTED_LIBS' removal.
+if(NOT (DEFINED WITHOUT_SORTED_LIBS AND WITHOUT_SORTED_LIBS))
+       setup_blender_sorted_libs()
+endif()
+
 target_link_libraries(blender ${BLENDER_SORTED_LIBS})
 
 setup_liblinks(blender)
index 22d2b960730a256b372485bf3585f033f95083f0..b868f4da8f45931b9ef9c43afbec6268b28f3e43 100644 (file)
@@ -35,4 +35,7 @@ set(SRC
        testing.h
 )
 
-blender_add_lib(bf_testing_main "${SRC}" "${INC}" "${INC_SYS}")
+set(LIB
+)
+
+blender_add_lib(bf_testing_main "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")