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
This commit is contained in:
2
extern/ceres/CMakeLists.txt
vendored
2
extern/ceres/CMakeLists.txt
vendored
@@ -257,7 +257,7 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
|
||||
extern_glog
|
||||
)
|
||||
|
||||
if(WITH_LIBMV_SCHUR_SPECIALIZATIONS)
|
||||
|
2
extern/ceres/bundle.sh
vendored
2
extern/ceres/bundle.sh
vendored
@@ -136,7 +136,7 @@ ${headers}
|
||||
)
|
||||
|
||||
set(LIB
|
||||
|
||||
extern_glog
|
||||
)
|
||||
|
||||
if(WITH_LIBMV_SCHUR_SPECIALIZATIONS)
|
||||
|
1
extern/glog/CMakeLists.txt
vendored
1
extern/glog/CMakeLists.txt
vendored
@@ -54,6 +54,7 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
extern_gflags
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
|
@@ -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()
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -36,7 +36,7 @@ set(SRC_HEADERS
|
||||
)
|
||||
|
||||
set(LIB
|
||||
|
||||
cycles_render
|
||||
)
|
||||
|
||||
include_directories(${INC})
|
||||
|
@@ -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)
|
||||
|
@@ -474,6 +474,9 @@ endif()
|
||||
# OSL module
|
||||
|
||||
if(WITH_CYCLES_OSL)
|
||||
list(APPEND LIB
|
||||
cycles_kernel_osl
|
||||
)
|
||||
add_subdirectory(osl)
|
||||
add_subdirectory(shaders)
|
||||
endif()
|
||||
|
@@ -26,7 +26,7 @@ set(HEADER_SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
|
||||
cycles_render
|
||||
)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
|
||||
|
@@ -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})
|
||||
|
@@ -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
|
||||
)
|
||||
|
@@ -34,7 +34,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
|
||||
extern_ceres
|
||||
extern_glog
|
||||
)
|
||||
|
||||
if(WITH_LIBMV)
|
||||
|
@@ -113,7 +113,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
|
||||
extern_ceres
|
||||
extern_glog
|
||||
)
|
||||
|
||||
if(WITH_LIBMV)
|
||||
|
@@ -52,6 +52,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_gpu
|
||||
bf_intern_guardedalloc
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
|
@@ -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)
|
||||
|
@@ -234,6 +234,10 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_intern_eigen
|
||||
bf_intern_guardedalloc
|
||||
bf_intern_numaapi
|
||||
extern_wcwidth
|
||||
)
|
||||
|
||||
if(WITH_MEM_VALGRIND)
|
||||
|
@@ -68,6 +68,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
)
|
||||
|
||||
if(WITH_BUILDINFO)
|
||||
|
@@ -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)
|
||||
|
@@ -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()
|
||||
|
||||
|
@@ -540,6 +540,9 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
extern_clew
|
||||
)
|
||||
|
||||
list(APPEND INC
|
||||
|
@@ -152,6 +152,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
)
|
||||
|
||||
data_to_c_simple(engines/eevee/shaders/ambient_occlusion_lib.glsl SRC)
|
||||
|
@@ -54,6 +54,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
)
|
||||
|
||||
if(WITH_INTERNATIONAL)
|
||||
|
@@ -59,6 +59,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
)
|
||||
|
||||
if(WITH_INTERNATIONAL)
|
||||
|
@@ -49,6 +49,9 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
extern_curve_fit_nd
|
||||
)
|
||||
|
||||
if(WITH_INTERNATIONAL)
|
||||
|
@@ -62,6 +62,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
)
|
||||
|
||||
if(WITH_INTERNATIONAL)
|
||||
|
@@ -80,6 +80,9 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
bf_editor_datafiles
|
||||
)
|
||||
|
||||
if(WITH_INTERNATIONAL)
|
||||
|
@@ -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)
|
||||
|
@@ -73,6 +73,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
)
|
||||
|
||||
if(WITH_INTERNATIONAL)
|
||||
|
@@ -69,6 +69,9 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
bf_render
|
||||
)
|
||||
|
||||
add_definitions(${GL_DEFINITIONS})
|
||||
|
@@ -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()
|
||||
|
@@ -35,6 +35,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
)
|
||||
|
||||
if(WITH_INTERNATIONAL)
|
||||
|
@@ -55,6 +55,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_editor_datafiles
|
||||
bf_editor_space_sequencer
|
||||
)
|
||||
|
||||
if(WITH_INTERNATIONAL)
|
||||
|
@@ -65,6 +65,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
)
|
||||
|
||||
if(WITH_INTERNATIONAL)
|
||||
|
@@ -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()
|
||||
|
||||
|
@@ -45,6 +45,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
)
|
||||
|
||||
add_definitions(${GL_DEFINITIONS})
|
||||
|
@@ -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}")
|
||||
|
@@ -64,6 +64,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
)
|
||||
|
||||
add_definitions(${GL_DEFINITIONS})
|
||||
|
@@ -41,6 +41,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
)
|
||||
|
||||
if(WITH_PYTHON)
|
||||
|
@@ -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()
|
||||
|
||||
|
@@ -48,6 +48,9 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
bf_editor_uvedit
|
||||
)
|
||||
|
||||
if(WITH_INTERNATIONAL)
|
||||
|
@@ -46,6 +46,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
)
|
||||
|
||||
if(WITH_INTERNATIONAL)
|
||||
|
@@ -58,6 +58,9 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
bf_editor_screen
|
||||
)
|
||||
|
||||
if(WITH_INTERNATIONAL)
|
||||
|
@@ -50,6 +50,9 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
bf_editor_undo
|
||||
)
|
||||
|
||||
if(WITH_INTERNATIONAL)
|
||||
|
@@ -51,6 +51,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_editor_interface
|
||||
bf_editor_util
|
||||
)
|
||||
|
||||
if(WITH_AUDASPACE)
|
||||
|
@@ -38,6 +38,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
)
|
||||
|
||||
add_definitions(${GL_DEFINITIONS})
|
||||
|
@@ -52,6 +52,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
)
|
||||
|
||||
add_definitions(${GL_DEFINITIONS})
|
||||
|
@@ -73,6 +73,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_editor_lattice
|
||||
bf_editor_mesh
|
||||
)
|
||||
|
||||
if(WITH_PYTHON)
|
||||
|
@@ -55,6 +55,12 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenfont
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
bf_bmesh
|
||||
bf_editor_mask
|
||||
bf_gpu
|
||||
)
|
||||
|
||||
if(WITH_INTERNATIONAL)
|
||||
|
@@ -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)
|
||||
|
@@ -548,6 +548,7 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_python_mathutils
|
||||
)
|
||||
|
||||
set(INC
|
||||
|
@@ -124,6 +124,7 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
extern_glew
|
||||
)
|
||||
|
||||
data_to_c_simple(shaders/gpu_shader_depth_only_frag.glsl SRC)
|
||||
|
@@ -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
|
||||
)
|
||||
|
@@ -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()
|
||||
|
||||
|
@@ -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})
|
||||
|
@@ -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()
|
||||
|
||||
|
@@ -52,6 +52,9 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenkernel
|
||||
bf_blenlib
|
||||
bf_python_mathutils
|
||||
)
|
||||
|
||||
if(WITH_FREESTYLE)
|
||||
|
@@ -51,6 +51,7 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
${GLEW_LIBRARY}
|
||||
)
|
||||
|
||||
add_definitions(${GL_DEFINITIONS})
|
||||
|
@@ -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
|
||||
|
@@ -56,6 +56,8 @@ set(SRC
|
||||
)
|
||||
|
||||
set(LIB
|
||||
bf_blenlib
|
||||
bf_python_ext
|
||||
)
|
||||
|
||||
|
||||
|
@@ -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()
|
||||
|
||||
|
@@ -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()
|
||||
|
||||
|
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user