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)
commit47adab4f993e66328bd1ad97abaf6697784ee8a0
tree3eb7046a95b0ce3f2ad707764213df372f22abbd
parenteee5a880f186fe9e49bd41a9dc7d6d0bdd371c36
CMake: prepare for BLENDER_SORTED_LIBS removal

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