Cleanup: remove unnecessary slashes and quotes from paths in CMake

This commit is contained in:
Campbell Barton 2022-01-06 13:54:54 +11:00
parent 2ee37e9031
commit ed68e18c1c
9 changed files with 13 additions and 13 deletions

View File

@ -114,7 +114,7 @@ def is_c_header(filename: str) -> bool:
def is_c(filename: str) -> bool:
ext = splitext(filename)[1]
return (ext in {".c", ".cpp", ".cxx", ".m", ".mm", ".rc", ".cc", ".inl"})
return (ext in {".c", ".cpp", ".cxx", ".m", ".mm", ".rc", ".cc", ".inl", ".metal"})
def is_c_any(filename: str) -> bool:

View File

@ -191,7 +191,7 @@ set(LIB
if(WITH_BULLET)
list(APPEND INC_SYS
${BULLET_INCLUDE_DIRS}
"../../../intern/rigidbody/"
../../../intern/rigidbody
)
if(NOT WITH_SYSTEM_BULLET)
list(APPEND LIB

View File

@ -553,8 +553,8 @@ if(WITH_GTESTS)
tests/draw_testing.hh
)
set(TEST_INC
"../../../intern/ghost/"
"../gpu/tests/"
../../../intern/ghost
../gpu/tests
)
set(TEST_LIB
)

View File

@ -407,7 +407,7 @@ if(WITH_GTESTS)
tests/gpu_testing.hh
)
set(TEST_INC
"../../../intern/ghost/"
../../../intern/ghost
)
set(TEST_LIB

View File

@ -128,12 +128,12 @@ set(LIB
if(WITH_BULLET)
list(APPEND INC_SYS
${BULLET_INCLUDE_DIRS}
"../../../intern/rigidbody/"
../../../intern/rigidbody
)
if(NOT WITH_SYSTEM_BULLET)
list(APPEND LIB
extern_bullet
)
)
endif()
list(APPEND LIB

View File

@ -20,7 +20,7 @@
set(INC
.
../
..
../intern
../../editors/include
../../blenkernel

View File

@ -20,7 +20,7 @@
set(INC
.
../
..
../intern
../../blenkernel
../../blenlib
@ -53,7 +53,7 @@ set(SRC
nodes/node_fn_slice_string.cc
nodes/node_fn_string_length.cc
nodes/node_fn_value_to_string.cc
node_function_util.cc
node_function_util.hh

View File

@ -18,7 +18,7 @@
set(INC
.
../
..
../intern
../../editors/include
../../blenkernel
@ -205,7 +205,7 @@ set(LIB
if(WITH_BULLET)
list(APPEND INC_SYS
${BULLET_INCLUDE_DIRS}
"../../../../intern/rigidbody/"
../../../../intern/rigidbody
)
if(NOT WITH_SYSTEM_BULLET)
list(APPEND LIB

View File

@ -20,7 +20,7 @@
set(INC
.
../
..
../intern
../../blenkernel
../../blenlib