Cleanup: CMake: Modernize bf_blenlib dependencies

Pretty straightforward

- Remove any blenlib paths from INC
- Add a dependency though LIB

Pull Request: https://projects.blender.org/blender/blender/pulls/109934
This commit is contained in:
Ray Molenkamp
2023-07-10 22:04:18 +02:00
committed by Ray molenkamp
parent 093a4d63f3
commit 04235d0e55
100 changed files with 101 additions and 146 deletions

View File

@@ -5,7 +5,6 @@
set(INC
.
../../blenkernel
../../blenlib
../../bmesh
../../depsgraph
)
@@ -38,7 +37,7 @@ set(SRC
set(LIB
bf_blenkernel
bf_blenlib
PRIVATE bf::blenlib
PRIVATE bf::dna
PRIVATE bf::intern::guardedalloc
bf_python_mathutils

View File

@@ -5,7 +5,6 @@
set(INC
.
../../blenkernel
../../blenlib
../../gpu
../../makesrna
../../../../intern/clog
@@ -44,6 +43,7 @@ set(LIB
${Epoxy_LIBRARIES}
${PYTHON_LINKFLAGS}
${PYTHON_LIBRARIES}
PRIVATE bf::blenlib
PRIVATE bf::dna
PRIVATE bf::intern::guardedalloc
)

View File

@@ -5,7 +5,6 @@
set(INC
.
../../blenkernel
../../blenlib
../../editors/include
../../gpu
../../imbuf
@@ -61,6 +60,7 @@ set(LIB
${Epoxy_LIBRARIES}
${PYTHON_LINKFLAGS}
${PYTHON_LIBRARIES}
PRIVATE bf::blenlib
PRIVATE bf::dna
PRIVATE bf::intern::guardedalloc
)

View File

@@ -5,7 +5,6 @@
set(INC
..
../../blenkernel
../../blenlib
../../blenloader
../../blentranslation
../../depsgraph
@@ -121,6 +120,7 @@ set(SRC
)
set(LIB
PRIVATE bf::blenlib
PRIVATE bf::dna
bf_editor_animation
bf_editor_interface

View File

@@ -5,7 +5,6 @@
set(INC
.
../../blenkernel
../../blenlib
../../bmesh
../../depsgraph
../../imbuf
@@ -42,7 +41,7 @@ set(SRC
)
set(LIB
bf_blenlib
PRIVATE bf::blenlib
PRIVATE bf::dna
bf_imbuf
PRIVATE bf::intern::guardedalloc