Cleanup: Fix typos in build_files subdirectory
Fixes several typos in the build_files sub-directory. Pull Request: https://projects.blender.org/blender/blender/pulls/146344
This commit is contained in:
@@ -106,7 +106,7 @@ macro(file_list_suffix
|
||||
fp_list_new fp_list fn_suffix
|
||||
)
|
||||
|
||||
# incase of empty list
|
||||
# in case of empty list
|
||||
set(_fp)
|
||||
set(_fp_suffixed)
|
||||
|
||||
@@ -350,7 +350,7 @@ function(blender_link_libraries
|
||||
# CMake have a native way of dealing with this, which is specifying what build type the
|
||||
# libraries are provided for:
|
||||
#
|
||||
# target_link_libraries(tagret optimized|debug|general <libraries>)
|
||||
# target_link_libraries(target optimized|debug|general <libraries>)
|
||||
#
|
||||
# The build type is to be provided as a separate argument to the function.
|
||||
#
|
||||
|
||||
@@ -92,7 +92,7 @@ if(WIN32)
|
||||
set(CPACK_NSIS_MUI_ICON ${CMAKE_SOURCE_DIR}/release/windows/icons/winblender.ico)
|
||||
set(CPACK_NSIS_COMPRESSOR "/SOLID lzma")
|
||||
|
||||
# Eventhough we no longer display this, we still need to set it otherwise it'll throw an error
|
||||
# Even though we no longer display this, we still need to set it otherwise it'll throw an error
|
||||
# during the msi build.
|
||||
set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/release/license/spdx/GPL-3.0-or-later.txt)
|
||||
set(CPACK_WIX_PRODUCT_ICON ${CMAKE_SOURCE_DIR}/release/windows/icons/winblender.ico)
|
||||
|
||||
@@ -428,11 +428,11 @@ if(${XCODE_VERSION} VERSION_GREATER_EQUAL 15.0)
|
||||
# Silence "ld: warning: ignoring duplicate libraries".
|
||||
#
|
||||
# The warning is introduced with Xcode 15 and is triggered when the same library
|
||||
# is passed to the linker ultiple times. This situation could happen with either
|
||||
# is passed to the linker multiple times. This situation could happen with either
|
||||
# cyclic libraries, or some transitive dependencies where CMake might decide to
|
||||
# pass library to the linker multiple times to force it re-scan symbols. It is
|
||||
# not neeed for Xcode linker to ensure all symbols from library are used and it
|
||||
# is corrected in CMake 3.29:
|
||||
# not necessary for Xcode linker to ensure all symbols from library are used and
|
||||
# it is corrected in CMake 3.29:
|
||||
# https://gitlab.kitware.com/cmake/cmake/-/issues/25297
|
||||
string(APPEND PLATFORM_LINKFLAGS " -Xlinker -no_warn_duplicate_libraries")
|
||||
endif()
|
||||
|
||||
@@ -197,7 +197,7 @@ endfunction()
|
||||
# blender_add_test_suite_executable.
|
||||
#
|
||||
# The function accepts an optional argument which denotes list of sources which
|
||||
# is to be compiled-in with the suite sources for each fo the suites when the
|
||||
# is to be compiled-in with the suite sources for each of the suites when the
|
||||
# WITH_TESTS_SINGLE_BINARY configuration is set to OFF.
|
||||
function(blender_add_test_suite_lib
|
||||
name
|
||||
@@ -309,7 +309,7 @@ endfunction()
|
||||
# very large executable, blender_add_test_suite_lib() should be used instead.
|
||||
#
|
||||
# The function accepts an optional argument which denotes list of sources which
|
||||
# is to be compiled-in with the suit sources for each fo the suites when the
|
||||
# is to be compiled-in with the suit sources for each of the suites when the
|
||||
# WITH_TESTS_SINGLE_BINARY configuration is set to OFF.
|
||||
function(blender_add_test_suite_executable
|
||||
name
|
||||
|
||||
Reference in New Issue
Block a user