mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
Various typo fixes
Some are user-facing. Others are source comments.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# file Copyright.txt or https://cmake.org/licensing for details.
|
||||
|
||||
|
||||
# This module is used by the Makefile generator to determin the following variables:
|
||||
# This module is used by the Makefile generator to determine the following variables:
|
||||
# CMAKE_SYSTEM_NAME - on unix this is uname -s, for windows it is Windows
|
||||
# CMAKE_SYSTEM_VERSION - on unix this is uname -r, for windows it is empty
|
||||
# CMAKE_SYSTEM - ${CMAKE_SYSTEM}-${CMAKE_SYSTEM_VERSION}, for windows: ${CMAKE_SYSTEM}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# i.e. GNU/Intel/Clang/MSVC, etc.
|
||||
# ``LANGUAGE``
|
||||
# language for which the result will be used,
|
||||
# i.e. C/CXX/Fortan/ASM
|
||||
# i.e. C/CXX/Fortran/ASM
|
||||
# ``MODE``
|
||||
# ``EXIST``
|
||||
# only check for existence of the given package
|
||||
|
||||
@@ -30,7 +30,7 @@ if(NOT CMAKE_Java_CREATE_STATIC_LIBRARY)
|
||||
|
||||
set(CMAKE_Java_CREATE_STATIC_LIBRARY
|
||||
"<CMAKE_Java_ARCHIVE> -cf <TARGET> -C <OBJECT_DIR> ${class_files_mask}")
|
||||
# "${class_files_mask}" should really be "<OBJECTS>" but compling a *.java
|
||||
# "${class_files_mask}" should really be "<OBJECTS>" but compiling a *.java
|
||||
# file can create more than one *.class file...
|
||||
endif()
|
||||
|
||||
|
||||
@@ -843,7 +843,7 @@ if(CPACK_IFW_VERBOSE)
|
||||
endif()
|
||||
endif()
|
||||
if(CPACK_IFW_INSTALLERBASE_EXECUTABLE AND NOT CPACK_IFW_FRAMEWORK_VERSION)
|
||||
message(WARNING "Could not detect QtIFW tools version. Set used version to variable \"CPACK_IFW_FRAMEWORK_VERSION_FORCED\" manualy.")
|
||||
message(WARNING "Could not detect QtIFW tools version. Set used version to variable \"CPACK_IFW_FRAMEWORK_VERSION_FORCED\" manually.")
|
||||
endif()
|
||||
|
||||
#=============================================================================
|
||||
|
||||
@@ -263,7 +263,7 @@
|
||||
# between the system on which the installer is created
|
||||
# and the system on which the installer might be used into account.
|
||||
#
|
||||
# It is therefor possible that the installer e.g. might try to install
|
||||
# It is therefore possible that the installer e.g. might try to install
|
||||
# onto a drive that is unavailable or unintended or a path that does not
|
||||
# follow the localization or convention of the system on which the
|
||||
# installation is performed.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
|
||||
if(NOT RUN_FROM_CTEST_OR_DART)
|
||||
message(FATAL_ERROR "Do not incldue CTestTargets.cmake directly")
|
||||
message(FATAL_ERROR "Do not include CTestTargets.cmake directly")
|
||||
endif()
|
||||
|
||||
if(NOT PROJECT_BINARY_DIR)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# CheckPrototypeDefinition
|
||||
# ------------------------
|
||||
#
|
||||
# Check if the protoype we expect is correct.
|
||||
# Check if the prototype we expect is correct.
|
||||
#
|
||||
# check_prototype_definition(FUNCTION PROTOTYPE RETURN HEADER VARIABLE)
|
||||
#
|
||||
|
||||
@@ -67,7 +67,7 @@ macro(__CrayPrgEnv_setup lang test_src compiler_cmd link_cmd)
|
||||
set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-dynamic")
|
||||
|
||||
# If the link type is not explicitly specified in the environment then
|
||||
# the Cray wrappers assume that the code will be built staticly so
|
||||
# the Cray wrappers assume that the code will be built statically so
|
||||
# we check the following condition(s) are NOT met
|
||||
# Compiler flags are explicitly dynamic
|
||||
# Env var is dynamic and compiler flags are not explicitly static
|
||||
|
||||
@@ -1076,7 +1076,7 @@ foreach(config IN LISTS git_config)
|
||||
list(APPEND git_clone_options --config \${config})
|
||||
endforeach()
|
||||
|
||||
# try the clone 3 times incase there is an odd git clone issue
|
||||
# try the clone 3 times in case there is an odd git clone issue
|
||||
set(error_code 1)
|
||||
set(number_of_tries 0)
|
||||
while(error_code AND number_of_tries LESS 3)
|
||||
|
||||
@@ -977,7 +977,7 @@ if(NOT CUDA_VERSION VERSION_LESS "9.0")
|
||||
find_cuda_helper_libs(npps)
|
||||
set(CUDA_npp_LIBRARY "${CUDA_nppc_LIBRARY};${CUDA_nppial_LIBRARY};${CUDA_nppicc_LIBRARY};${CUDA_nppicom_LIBRARY};${CUDA_nppidei_LIBRARY};${CUDA_nppif_LIBRARY};${CUDA_nppig_LIBRARY};${CUDA_nppim_LIBRARY};${CUDA_nppist_LIBRARY};${CUDA_nppisu_LIBRARY};${CUDA_nppitc_LIBRARY};${CUDA_npps_LIBRARY}")
|
||||
elseif(CUDA_VERSION VERSION_GREATER "5.0")
|
||||
# In CUDA 5.5 NPP was splitted onto 3 separate libraries.
|
||||
# In CUDA 5.5 NPP was split into 3 separate libraries.
|
||||
find_cuda_helper_libs(nppc)
|
||||
find_cuda_helper_libs(nppi)
|
||||
find_cuda_helper_libs(npps)
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
# verbose:BOOL=<> OFF: Be as quiet as possible (default)
|
||||
# ON : Extra output
|
||||
#
|
||||
# input_file:FILEPATH=<> Path to dependecy file in makefile format
|
||||
# input_file:FILEPATH=<> Path to dependency file in makefile format
|
||||
#
|
||||
# output_file:FILEPATH=<> Path to file with dependencies in CMake readable variable
|
||||
#
|
||||
|
||||
@@ -187,7 +187,7 @@ endif()
|
||||
|
||||
# nvcc doesn't define __CUDACC__ for some reason when generating dependency files. This
|
||||
# can cause incorrect dependencies when #including files based on this macro which is
|
||||
# defined in the generating passes of nvcc invokation. We will go ahead and manually
|
||||
# defined in the generating passes of nvcc invocation. We will go ahead and manually
|
||||
# define this for now until a future version fixes this bug.
|
||||
set(CUDACC_DEFINE -D__CUDACC__)
|
||||
|
||||
|
||||
@@ -80,10 +80,10 @@ else()
|
||||
# include the math library for Unix
|
||||
if(UNIX AND NOT APPLE)
|
||||
find_library(MATH_LIBRARY_FOR_LUA m)
|
||||
set( LUA_LIBRARIES "${LUA_LIBRARY_lualib};${LUA_LIBRARY_lua};${MATH_LIBRARY_FOR_LUA}" CACHE STRING "This is the concatentation of lua and lualib libraries")
|
||||
set( LUA_LIBRARIES "${LUA_LIBRARY_lualib};${LUA_LIBRARY_lua};${MATH_LIBRARY_FOR_LUA}" CACHE STRING "This is the concatenation of lua and lualib libraries")
|
||||
# For Windows and Mac, don't need to explicitly include the math library
|
||||
else()
|
||||
set( LUA_LIBRARIES "${LUA_LIBRARY_lualib};${LUA_LIBRARY_lua}" CACHE STRING "This is the concatentation of lua and lualib libraries")
|
||||
set( LUA_LIBRARIES "${LUA_LIBRARY_lualib};${LUA_LIBRARY_lua}" CACHE STRING "This is the concatenation of lua and lualib libraries")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@@ -765,7 +765,7 @@ endfunction()
|
||||
# ``WORKING_DIRECTORY``
|
||||
# This will be the working directory for the test. If specified it will
|
||||
# also be the output directory used for the log file of the test run.
|
||||
# If not specifed the temporary directory ``${CMAKE_BINARY_DIR}/Matlab`` will
|
||||
# If not specified the temporary directory ``${CMAKE_BINARY_DIR}/Matlab`` will
|
||||
# be used as the working directory and the log location.
|
||||
#
|
||||
function(matlab_add_unit_test)
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
# ----------------------------------------------------------------------------
|
||||
# Note:
|
||||
# PostgreSQL_ADDITIONAL_VERSIONS is a variable that can be used to set the
|
||||
# version mumber of the implementation of PostgreSQL.
|
||||
# version number of the implementation of PostgreSQL.
|
||||
# In Windows the default installation of PostgreSQL uses that as part of the path.
|
||||
# E.g C:\Program Files\PostgreSQL\8.4.
|
||||
# Currently, the following version numbers are known to this module:
|
||||
|
||||
Reference in New Issue
Block a user