Cleanup: remove unnecessary slashes and quotes from paths in CMake
This commit is contained in:
parent
2ee37e9031
commit
ed68e18c1c
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
|
@ -407,7 +407,7 @@ if(WITH_GTESTS)
|
|||
tests/gpu_testing.hh
|
||||
)
|
||||
set(TEST_INC
|
||||
"../../../intern/ghost/"
|
||||
../../../intern/ghost
|
||||
)
|
||||
set(TEST_LIB
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
set(INC
|
||||
.
|
||||
../
|
||||
..
|
||||
../intern
|
||||
../../editors/include
|
||||
../../blenkernel
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
set(INC
|
||||
.
|
||||
../
|
||||
..
|
||||
../intern
|
||||
../../blenkernel
|
||||
../../blenlib
|
||||
|
|
Loading…
Reference in New Issue