Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-16 07:18:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-16 07:20:52 +0300
commit5498e7f193e2399b8693ef17803f864103307b4b (patch)
treec72b53e0d0f3fe1e5f4706c207917a7cbcaa18d7 /source/blender/editors
parent813e470eac309a78d1f8cdc4a3abb0314b0ee5f3 (diff)
CMake: add library deps to CMakeLists.txt
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/animation/CMakeLists.txt2
-rw-r--r--source/blender/editors/armature/CMakeLists.txt2
-rw-r--r--source/blender/editors/curve/CMakeLists.txt3
-rw-r--r--source/blender/editors/gpencil/CMakeLists.txt2
-rw-r--r--source/blender/editors/interface/CMakeLists.txt3
-rw-r--r--source/blender/editors/io/CMakeLists.txt8
-rw-r--r--source/blender/editors/mesh/CMakeLists.txt2
-rw-r--r--source/blender/editors/object/CMakeLists.txt3
-rw-r--r--source/blender/editors/physics/CMakeLists.txt11
-rw-r--r--source/blender/editors/scene/CMakeLists.txt2
-rw-r--r--source/blender/editors/screen/CMakeLists.txt2
-rw-r--r--source/blender/editors/sculpt_paint/CMakeLists.txt2
-rw-r--r--source/blender/editors/sound/CMakeLists.txt5
-rw-r--r--source/blender/editors/space_action/CMakeLists.txt2
-rw-r--r--source/blender/editors/space_api/CMakeLists.txt20
-rw-r--r--source/blender/editors/space_clip/CMakeLists.txt2
-rw-r--r--source/blender/editors/space_console/CMakeLists.txt2
-rw-r--r--source/blender/editors/space_graph/CMakeLists.txt5
-rw-r--r--source/blender/editors/space_image/CMakeLists.txt3
-rw-r--r--source/blender/editors/space_nla/CMakeLists.txt2
-rw-r--r--source/blender/editors/space_node/CMakeLists.txt3
-rw-r--r--source/blender/editors/space_outliner/CMakeLists.txt3
-rw-r--r--source/blender/editors/space_sequencer/CMakeLists.txt2
-rw-r--r--source/blender/editors/space_statusbar/CMakeLists.txt2
-rw-r--r--source/blender/editors/space_text/CMakeLists.txt2
-rw-r--r--source/blender/editors/space_view3d/CMakeLists.txt2
-rw-r--r--source/blender/editors/transform/CMakeLists.txt6
-rw-r--r--source/blender/editors/undo/CMakeLists.txt7
28 files changed, 110 insertions, 0 deletions
diff --git a/source/blender/editors/animation/CMakeLists.txt b/source/blender/editors/animation/CMakeLists.txt
index 14936e5bc2a..a8de87e44e9 100644
--- a/source/blender/editors/animation/CMakeLists.txt
+++ b/source/blender/editors/animation/CMakeLists.txt
@@ -54,6 +54,8 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
)
if(WITH_INTERNATIONAL)
diff --git a/source/blender/editors/armature/CMakeLists.txt b/source/blender/editors/armature/CMakeLists.txt
index d63c53a6a09..27eddd7e1dd 100644
--- a/source/blender/editors/armature/CMakeLists.txt
+++ b/source/blender/editors/armature/CMakeLists.txt
@@ -59,6 +59,8 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
)
if(WITH_INTERNATIONAL)
diff --git a/source/blender/editors/curve/CMakeLists.txt b/source/blender/editors/curve/CMakeLists.txt
index 726a744dd95..4ccf8d59e1f 100644
--- a/source/blender/editors/curve/CMakeLists.txt
+++ b/source/blender/editors/curve/CMakeLists.txt
@@ -49,6 +49,9 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
+ extern_curve_fit_nd
)
if(WITH_INTERNATIONAL)
diff --git a/source/blender/editors/gpencil/CMakeLists.txt b/source/blender/editors/gpencil/CMakeLists.txt
index 53b527dd1f7..fa91ffd1e72 100644
--- a/source/blender/editors/gpencil/CMakeLists.txt
+++ b/source/blender/editors/gpencil/CMakeLists.txt
@@ -62,6 +62,8 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
)
if(WITH_INTERNATIONAL)
diff --git a/source/blender/editors/interface/CMakeLists.txt b/source/blender/editors/interface/CMakeLists.txt
index 78b0202dc22..fd6b0e4a0c5 100644
--- a/source/blender/editors/interface/CMakeLists.txt
+++ b/source/blender/editors/interface/CMakeLists.txt
@@ -80,6 +80,9 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
+ bf_editor_datafiles
)
if(WITH_INTERNATIONAL)
diff --git a/source/blender/editors/io/CMakeLists.txt b/source/blender/editors/io/CMakeLists.txt
index 1aa6de534c4..6e3e111739c 100644
--- a/source/blender/editors/io/CMakeLists.txt
+++ b/source/blender/editors/io/CMakeLists.txt
@@ -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)
diff --git a/source/blender/editors/mesh/CMakeLists.txt b/source/blender/editors/mesh/CMakeLists.txt
index 41e247b8d77..707aeb781c6 100644
--- a/source/blender/editors/mesh/CMakeLists.txt
+++ b/source/blender/editors/mesh/CMakeLists.txt
@@ -73,6 +73,8 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
)
if(WITH_INTERNATIONAL)
diff --git a/source/blender/editors/object/CMakeLists.txt b/source/blender/editors/object/CMakeLists.txt
index 7a5eee4bfbb..75d2fada7f3 100644
--- a/source/blender/editors/object/CMakeLists.txt
+++ b/source/blender/editors/object/CMakeLists.txt
@@ -69,6 +69,9 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
+ bf_render
)
add_definitions(${GL_DEFINITIONS})
diff --git a/source/blender/editors/physics/CMakeLists.txt b/source/blender/editors/physics/CMakeLists.txt
index 25b76f549a2..39a34ed7a47 100644
--- a/source/blender/editors/physics/CMakeLists.txt
+++ b/source/blender/editors/physics/CMakeLists.txt
@@ -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()
diff --git a/source/blender/editors/scene/CMakeLists.txt b/source/blender/editors/scene/CMakeLists.txt
index 0768e0ee571..be1cd09f965 100644
--- a/source/blender/editors/scene/CMakeLists.txt
+++ b/source/blender/editors/scene/CMakeLists.txt
@@ -35,6 +35,8 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
)
if(WITH_INTERNATIONAL)
diff --git a/source/blender/editors/screen/CMakeLists.txt b/source/blender/editors/screen/CMakeLists.txt
index a4a0b873c92..11516a73d1e 100644
--- a/source/blender/editors/screen/CMakeLists.txt
+++ b/source/blender/editors/screen/CMakeLists.txt
@@ -55,6 +55,8 @@ set(SRC
)
set(LIB
+ bf_editor_datafiles
+ bf_editor_space_sequencer
)
if(WITH_INTERNATIONAL)
diff --git a/source/blender/editors/sculpt_paint/CMakeLists.txt b/source/blender/editors/sculpt_paint/CMakeLists.txt
index d772a1a0541..e7a8c704fda 100644
--- a/source/blender/editors/sculpt_paint/CMakeLists.txt
+++ b/source/blender/editors/sculpt_paint/CMakeLists.txt
@@ -65,6 +65,8 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
)
if(WITH_INTERNATIONAL)
diff --git a/source/blender/editors/sound/CMakeLists.txt b/source/blender/editors/sound/CMakeLists.txt
index a7d128a261d..8b1caa0f306 100644
--- a/source/blender/editors/sound/CMakeLists.txt
+++ b/source/blender/editors/sound/CMakeLists.txt
@@ -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()
diff --git a/source/blender/editors/space_action/CMakeLists.txt b/source/blender/editors/space_action/CMakeLists.txt
index aff4e75abb7..853577180bb 100644
--- a/source/blender/editors/space_action/CMakeLists.txt
+++ b/source/blender/editors/space_action/CMakeLists.txt
@@ -45,6 +45,8 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
)
add_definitions(${GL_DEFINITIONS})
diff --git a/source/blender/editors/space_api/CMakeLists.txt b/source/blender/editors/space_api/CMakeLists.txt
index 8f744269de8..6a440f38eb8 100644
--- a/source/blender/editors/space_api/CMakeLists.txt
+++ b/source/blender/editors/space_api/CMakeLists.txt
@@ -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}")
diff --git a/source/blender/editors/space_clip/CMakeLists.txt b/source/blender/editors/space_clip/CMakeLists.txt
index d770a85709a..49d7efb5669 100644
--- a/source/blender/editors/space_clip/CMakeLists.txt
+++ b/source/blender/editors/space_clip/CMakeLists.txt
@@ -64,6 +64,8 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
)
add_definitions(${GL_DEFINITIONS})
diff --git a/source/blender/editors/space_console/CMakeLists.txt b/source/blender/editors/space_console/CMakeLists.txt
index d68e7745bdf..d8645c3674a 100644
--- a/source/blender/editors/space_console/CMakeLists.txt
+++ b/source/blender/editors/space_console/CMakeLists.txt
@@ -41,6 +41,8 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
)
if(WITH_PYTHON)
diff --git a/source/blender/editors/space_graph/CMakeLists.txt b/source/blender/editors/space_graph/CMakeLists.txt
index 391d0dff0f5..e0fc7500f94 100644
--- a/source/blender/editors/space_graph/CMakeLists.txt
+++ b/source/blender/editors/space_graph/CMakeLists.txt
@@ -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()
diff --git a/source/blender/editors/space_image/CMakeLists.txt b/source/blender/editors/space_image/CMakeLists.txt
index 99ede338dee..2687849f211 100644
--- a/source/blender/editors/space_image/CMakeLists.txt
+++ b/source/blender/editors/space_image/CMakeLists.txt
@@ -48,6 +48,9 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
+ bf_editor_uvedit
)
if(WITH_INTERNATIONAL)
diff --git a/source/blender/editors/space_nla/CMakeLists.txt b/source/blender/editors/space_nla/CMakeLists.txt
index 35c29ad4492..f22cc378a60 100644
--- a/source/blender/editors/space_nla/CMakeLists.txt
+++ b/source/blender/editors/space_nla/CMakeLists.txt
@@ -46,6 +46,8 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
)
if(WITH_INTERNATIONAL)
diff --git a/source/blender/editors/space_node/CMakeLists.txt b/source/blender/editors/space_node/CMakeLists.txt
index 2c1ec0cc834..5e2437c99ca 100644
--- a/source/blender/editors/space_node/CMakeLists.txt
+++ b/source/blender/editors/space_node/CMakeLists.txt
@@ -58,6 +58,9 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
+ bf_editor_screen
)
if(WITH_INTERNATIONAL)
diff --git a/source/blender/editors/space_outliner/CMakeLists.txt b/source/blender/editors/space_outliner/CMakeLists.txt
index ae2d52533fe..83832d62b9e 100644
--- a/source/blender/editors/space_outliner/CMakeLists.txt
+++ b/source/blender/editors/space_outliner/CMakeLists.txt
@@ -50,6 +50,9 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
+ bf_editor_undo
)
if(WITH_INTERNATIONAL)
diff --git a/source/blender/editors/space_sequencer/CMakeLists.txt b/source/blender/editors/space_sequencer/CMakeLists.txt
index bf70473610d..5724e811e77 100644
--- a/source/blender/editors/space_sequencer/CMakeLists.txt
+++ b/source/blender/editors/space_sequencer/CMakeLists.txt
@@ -51,6 +51,8 @@ set(SRC
)
set(LIB
+ bf_editor_interface
+ bf_editor_util
)
if(WITH_AUDASPACE)
diff --git a/source/blender/editors/space_statusbar/CMakeLists.txt b/source/blender/editors/space_statusbar/CMakeLists.txt
index 3b1372b419e..63562621d34 100644
--- a/source/blender/editors/space_statusbar/CMakeLists.txt
+++ b/source/blender/editors/space_statusbar/CMakeLists.txt
@@ -38,6 +38,8 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
)
add_definitions(${GL_DEFINITIONS})
diff --git a/source/blender/editors/space_text/CMakeLists.txt b/source/blender/editors/space_text/CMakeLists.txt
index b542732fc54..f4054a0dd0e 100644
--- a/source/blender/editors/space_text/CMakeLists.txt
+++ b/source/blender/editors/space_text/CMakeLists.txt
@@ -52,6 +52,8 @@ set(SRC
)
set(LIB
+ bf_blenkernel
+ bf_blenlib
)
add_definitions(${GL_DEFINITIONS})
diff --git a/source/blender/editors/space_view3d/CMakeLists.txt b/source/blender/editors/space_view3d/CMakeLists.txt
index e3f5245fc59..837671d6f94 100644
--- a/source/blender/editors/space_view3d/CMakeLists.txt
+++ b/source/blender/editors/space_view3d/CMakeLists.txt
@@ -73,6 +73,8 @@ set(SRC
)
set(LIB
+ bf_editor_lattice
+ bf_editor_mesh
)
if(WITH_PYTHON)
diff --git a/source/blender/editors/transform/CMakeLists.txt b/source/blender/editors/transform/CMakeLists.txt
index 7d3690df826..c475a9e4e3d 100644
--- a/source/blender/editors/transform/CMakeLists.txt
+++ b/source/blender/editors/transform/CMakeLists.txt
@@ -55,6 +55,12 @@ set(SRC
)
set(LIB
+ bf_blenfont
+ bf_blenkernel
+ bf_blenlib
+ bf_bmesh
+ bf_editor_mask
+ bf_gpu
)
if(WITH_INTERNATIONAL)
diff --git a/source/blender/editors/undo/CMakeLists.txt b/source/blender/editors/undo/CMakeLists.txt
index 3a6aded0c08..cebfa0d67f4 100644
--- a/source/blender/editors/undo/CMakeLists.txt
+++ b/source/blender/editors/undo/CMakeLists.txt
@@ -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)