diff --git a/6.5.1/_tools/cmake/bin/cmake-gui.exe b/6.5.1/_tools/cmake/bin/cmake-gui.exe index 6fde528..9c11e95 100644 Binary files a/6.5.1/_tools/cmake/bin/cmake-gui.exe and b/6.5.1/_tools/cmake/bin/cmake-gui.exe differ diff --git a/6.5.1/_tools/cmake/bin/cmake.exe b/6.5.1/_tools/cmake/bin/cmake.exe index 8349654..059228c 100644 Binary files a/6.5.1/_tools/cmake/bin/cmake.exe and b/6.5.1/_tools/cmake/bin/cmake.exe differ diff --git a/6.5.1/_tools/cmake/bin/cmcldeps.exe b/6.5.1/_tools/cmake/bin/cmcldeps.exe index 35a6ffe..7495029 100644 Binary files a/6.5.1/_tools/cmake/bin/cmcldeps.exe and b/6.5.1/_tools/cmake/bin/cmcldeps.exe differ diff --git a/6.5.1/_tools/cmake/bin/cpack.exe b/6.5.1/_tools/cmake/bin/cpack.exe index 1e06c2b..d1018da 100644 Binary files a/6.5.1/_tools/cmake/bin/cpack.exe and b/6.5.1/_tools/cmake/bin/cpack.exe differ diff --git a/6.5.1/_tools/cmake/bin/ctest.exe b/6.5.1/_tools/cmake/bin/ctest.exe index 2067f08..99fd352 100644 Binary files a/6.5.1/_tools/cmake/bin/ctest.exe and b/6.5.1/_tools/cmake/bin/ctest.exe differ diff --git a/6.5.1/_tools/cmake/share/aclocal/cmake.m4 b/6.5.1/_tools/cmake/share/aclocal/cmake.m4 index 7beff41..a40c0ae 100644 --- a/6.5.1/_tools/cmake/share/aclocal/cmake.m4 +++ b/6.5.1/_tools/cmake/share/aclocal/cmake.m4 @@ -13,7 +13,7 @@ fi # $2: language (e.g. C/CXX/Fortran) # $3: The compiler ID, defaults to GNU. # Possible values are: GNU, Intel, Clang, SunPro, HP, XL, VisualAge, PGI, -# PathScale, Cray, SCO, MIPSpro, MSVC +# PathScale, Cray, SCO, MSVC # $4: optional extra arguments to cmake, e.g. "-DCMAKE_SIZEOF_VOID_P=8" # $5: optional path to cmake binary AC_DEFUN([CMAKE_FIND_PACKAGE], [ diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/LINK_OPTIONS_LINKER.txt b/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/LINK_OPTIONS_LINKER.txt deleted file mode 100644 index a723375..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/LINK_OPTIONS_LINKER.txt +++ /dev/null @@ -1,22 +0,0 @@ -To pass options to the linker tool, each compiler driver has is own syntax. -The ``LINKER:`` prefix can be used to specify, in a portable way, options -to pass to the linker tool. The ``LINKER:`` prefix is replaced by the required -driver option and the rest of the option string defines linker arguments using -``,`` as separator. These arguments will be formatted according to the -:variable:`CMAKE__LINKER_WRAPPER_FLAG` and -:variable:`CMAKE__LINKER_WRAPPER_FLAG_SEP` variables. - -For example, ``"LINKER:-z,defs"`` becomes ``-Xlinker -z -Xlinker defs`` for -``Clang`` and ``-Wl,-z,defs`` for ``GNU GCC``. - -The ``LINKER:`` prefix can be specified as part of a ``SHELL:`` prefix -expression. - -The ``LINKER:`` prefix supports, as alternate syntax, specification of -arguments using ``SHELL:`` prefix and space as separator. Previous example -becomes ``"LINKER:SHELL:-z defs"``. - -.. note:: - - Specifying ``SHELL:`` prefix elsewhere than at the beginning of the - ``LINKER:`` prefix is not supported. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/enable_testing.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/enable_testing.rst deleted file mode 100644 index e2028d2..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/enable_testing.rst +++ /dev/null @@ -1,13 +0,0 @@ -enable_testing --------------- - -Enable testing for current directory and below. - -.. code-block:: cmake - - enable_testing() - -Enables testing for this directory and below. See also the -:command:`add_test` command. Note that ctest expects to find a test file -in the build directory root. Therefore, this command should be in the -source directory root. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/message.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/message.rst deleted file mode 100644 index 2b4b1aa..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/message.rst +++ /dev/null @@ -1,33 +0,0 @@ -message -------- - -Display a message to the user. - -.. code-block:: cmake - - message([] "message to display" ...) - -The optional ```` keyword determines the type of message: - -:: - - (none) = Important information - STATUS = Incidental information - WARNING = CMake Warning, continue processing - AUTHOR_WARNING = CMake Warning (dev), continue processing - SEND_ERROR = CMake Error, continue processing, - but skip generation - FATAL_ERROR = CMake Error, stop processing and generation - DEPRECATION = CMake Deprecation Error or Warning if variable - CMAKE_ERROR_DEPRECATED or CMAKE_WARN_DEPRECATED - is enabled, respectively, else no message. - -The CMake command-line tool displays STATUS messages on stdout and all -other message types on stderr. The CMake GUI displays all messages in -its log area. The interactive dialogs (ccmake and CMakeSetup) show -STATUS messages one at a time on a status line and other messages in -interactive pop-up boxes. - -CMake Warning and Error message text displays using a simple markup -language. Non-indented text is formatted in line-wrapped paragraphs -delimited by newlines. Indented text is considered pre-formatted. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/envvar/DASHBOARD_TEST_FROM_CTEST.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/envvar/DASHBOARD_TEST_FROM_CTEST.rst deleted file mode 100644 index 2b303a4..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/envvar/DASHBOARD_TEST_FROM_CTEST.rst +++ /dev/null @@ -1,7 +0,0 @@ -DASHBOARD_TEST_FROM_CTEST -------------------------- - -.. include:: ENV_VAR.txt - -Environment variable that will exist when a test executed by CTest is run -in non-interactive mode. The value will be equal to :variable:`CMAKE_VERSION`. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/generator/Unix Makefiles.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/generator/Unix Makefiles.rst deleted file mode 100644 index 97d74a8..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/generator/Unix Makefiles.rst +++ /dev/null @@ -1,8 +0,0 @@ -Unix Makefiles --------------- - -Generates standard UNIX makefiles. - -A hierarchy of UNIX makefiles is generated into the build tree. Any -standard UNIX-style make program can build the project through the -default make target. A "make install" target is also provided. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/module/CPackWIX.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/module/CPackWIX.rst deleted file mode 100644 index c88c723..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/module/CPackWIX.rst +++ /dev/null @@ -1,4 +0,0 @@ -CPackWIX --------- - -The documentation for the CPack WIX generator has moved here: :cpack_gen:`CPack WIX Generator` diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0000.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0000.rst deleted file mode 100644 index 97ea633..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0000.rst +++ /dev/null @@ -1,32 +0,0 @@ -CMP0000 -------- - -A minimum required CMake version must be specified. - -CMake requires that projects specify the version of CMake to which -they have been written. This policy has been put in place so users -trying to build the project may be told when they need to update their -CMake. Specifying a version also helps the project build with CMake -versions newer than that specified. Use the cmake_minimum_required -command at the top of your main CMakeLists.txt file: - -:: - - cmake_minimum_required(VERSION .) - -where "." is the version of CMake you want to support -(such as "2.6"). The command will ensure that at least the given -version of CMake is running and help newer versions be compatible with -the project. See documentation of cmake_minimum_required for details. - -Note that the command invocation must appear in the CMakeLists.txt -file itself; a call in an included file is not sufficient. However, -the cmake_policy command may be called to set policy CMP0000 to OLD or -NEW behavior explicitly. The OLD behavior is to silently ignore the -missing invocation. The NEW behavior is to issue an error instead of -a warning. An included file may set CMP0000 explicitly to affect how -this policy is enforced for the main CMakeLists.txt file. - -This policy was introduced in CMake version 2.6.0. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0001.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0001.rst deleted file mode 100644 index 09ad387..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0001.rst +++ /dev/null @@ -1,21 +0,0 @@ -CMP0001 -------- - -CMAKE_BACKWARDS_COMPATIBILITY should no longer be used. - -The OLD behavior is to check CMAKE_BACKWARDS_COMPATIBILITY and present -it to the user. The NEW behavior is to ignore -CMAKE_BACKWARDS_COMPATIBILITY completely. - -In CMake 2.4 and below the variable CMAKE_BACKWARDS_COMPATIBILITY was -used to request compatibility with earlier versions of CMake. In -CMake 2.6 and above all compatibility issues are handled by policies -and the cmake_policy command. However, CMake must still check -CMAKE_BACKWARDS_COMPATIBILITY for projects written for CMake 2.4 and -below. - -This policy was introduced in CMake version 2.6.0. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0006.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0006.rst deleted file mode 100644 index d1b9ece..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0006.rst +++ /dev/null @@ -1,24 +0,0 @@ -CMP0006 -------- - -Installing MACOSX_BUNDLE targets requires a BUNDLE DESTINATION. - -This policy determines whether the install(TARGETS) command must be -given a BUNDLE DESTINATION when asked to install a target with the -MACOSX_BUNDLE property set. CMake 2.4 and below did not distinguish -application bundles from normal executables when installing targets. -CMake 2.6 provides a BUNDLE option to the install(TARGETS) command -that specifies rules specific to application bundles on the Mac. -Projects should use this option when installing a target with the -MACOSX_BUNDLE property set. - -The OLD behavior for this policy is to fall back to the RUNTIME -DESTINATION if a BUNDLE DESTINATION is not given. The NEW behavior -for this policy is to produce an error if a bundle target is installed -without a BUNDLE DESTINATION. - -This policy was introduced in CMake version 2.6.0. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0007.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0007.rst deleted file mode 100644 index 3927645..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0007.rst +++ /dev/null @@ -1,17 +0,0 @@ -CMP0007 -------- - -list command no longer ignores empty elements. - -This policy determines whether the list command will ignore empty -elements in the list. CMake 2.4 and below list commands ignored all -empty elements in the list. For example, a;b;;c would have length 3 -and not 4. The OLD behavior for this policy is to ignore empty list -elements. The NEW behavior for this policy is to correctly count -empty elements in a list. - -This policy was introduced in CMake version 2.6.0. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0009.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0009.rst deleted file mode 100644 index 44baeb4..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0009.rst +++ /dev/null @@ -1,21 +0,0 @@ -CMP0009 -------- - -FILE GLOB_RECURSE calls should not follow symlinks by default. - -In CMake 2.6.1 and below, FILE GLOB_RECURSE calls would follow through -symlinks, sometimes coming up with unexpectedly large result sets -because of symlinks to top level directories that contain hundreds of -thousands of files. - -This policy determines whether or not to follow symlinks encountered -during a FILE GLOB_RECURSE call. The OLD behavior for this policy is -to follow the symlinks. The NEW behavior for this policy is not to -follow the symlinks by default, but only if FOLLOW_SYMLINKS is given -as an additional argument to the FILE command. - -This policy was introduced in CMake version 2.6.2. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0011.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0011.rst deleted file mode 100644 index d281e0e..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0011.rst +++ /dev/null @@ -1,24 +0,0 @@ -CMP0011 -------- - -Included scripts do automatic cmake_policy PUSH and POP. - -In CMake 2.6.2 and below, CMake Policy settings in scripts loaded by -the include() and find_package() commands would affect the includer. -Explicit invocations of cmake_policy(PUSH) and cmake_policy(POP) were -required to isolate policy changes and protect the includer. While -some scripts intend to affect the policies of their includer, most do -not. In CMake 2.6.3 and above, include() and find_package() by -default PUSH and POP an entry on the policy stack around an included -script, but provide a NO_POLICY_SCOPE option to disable it. This -policy determines whether or not to imply NO_POLICY_SCOPE for -compatibility. The OLD behavior for this policy is to imply -NO_POLICY_SCOPE for include() and find_package() commands. The NEW -behavior for this policy is to allow the commands to do their default -cmake_policy PUSH and POP. - -This policy was introduced in CMake version 2.6.3. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0012.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0012.rst deleted file mode 100644 index 85d64f4..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0012.rst +++ /dev/null @@ -1,27 +0,0 @@ -CMP0012 -------- - -if() recognizes numbers and boolean constants. - -In CMake versions 2.6.4 and lower the if() command implicitly -dereferenced arguments corresponding to variables, even those named -like numbers or boolean constants, except for 0 and 1. Numbers and -boolean constants such as true, false, yes, no, on, off, y, n, -notfound, ignore (all case insensitive) were recognized in some cases -but not all. For example, the code "if(TRUE)" might have evaluated as -false. Numbers such as 2 were recognized only in boolean expressions -like "if(NOT 2)" (leading to false) but not as a single-argument like -"if(2)" (also leading to false). Later versions of CMake prefer to -treat numbers and boolean constants literally, so they should not be -used as variable names. - -The OLD behavior for this policy is to implicitly dereference -variables named like numbers and boolean constants. The NEW behavior -for this policy is to recognize numbers and boolean constants without -dereferencing variables with such names. - -This policy was introduced in CMake version 2.8.0. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0014.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0014.rst deleted file mode 100644 index f1f7b77..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0014.rst +++ /dev/null @@ -1,17 +0,0 @@ -CMP0014 -------- - -Input directories must have CMakeLists.txt. - -CMake versions before 2.8 silently ignored missing CMakeLists.txt -files in directories referenced by add_subdirectory() or subdirs(), -treating them as if present but empty. In CMake 2.8.0 and above this -policy determines whether or not the case is an error. The OLD -behavior for this policy is to silently ignore the problem. The NEW -behavior for this policy is to report an error. - -This policy was introduced in CMake version 2.8.0. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0015.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0015.rst deleted file mode 100644 index 9a48e3d..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0015.rst +++ /dev/null @@ -1,19 +0,0 @@ -CMP0015 -------- - -link_directories() treats paths relative to the source dir. - -In CMake 2.8.0 and lower the link_directories() command passed -relative paths unchanged to the linker. In CMake 2.8.1 and above the -link_directories() command prefers to interpret relative paths with -respect to CMAKE_CURRENT_SOURCE_DIR, which is consistent with -include_directories() and other commands. The OLD behavior for this -policy is to use relative paths verbatim in the linker command. The -NEW behavior for this policy is to convert relative paths to absolute -paths by appending the relative path to CMAKE_CURRENT_SOURCE_DIR. - -This policy was introduced in CMake version 2.8.1. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0016.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0016.rst deleted file mode 100644 index cc898c8..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0016.rst +++ /dev/null @@ -1,15 +0,0 @@ -CMP0016 -------- - -target_link_libraries() reports error if its only argument is not a target. - -In CMake 2.8.2 and lower the target_link_libraries() command silently -ignored if it was called with only one argument, and this argument -wasn't a valid target. In CMake 2.8.3 and above it reports an error -in this case. - -This policy was introduced in CMake version 2.8.3. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0017.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0017.rst deleted file mode 100644 index 9f0f038..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0017.rst +++ /dev/null @@ -1,21 +0,0 @@ -CMP0017 -------- - -Prefer files from the CMake module directory when including from there. - -Starting with CMake 2.8.4, if a cmake-module shipped with CMake (i.e. -located in the CMake module directory) calls include() or -find_package(), the files located in the CMake module directory are -preferred over the files in CMAKE_MODULE_PATH. This makes sure that -the modules belonging to CMake always get those files included which -they expect, and against which they were developed and tested. In all -other cases, the files found in CMAKE_MODULE_PATH still take -precedence over the ones in the CMake module directory. The OLD -behavior is to always prefer files from CMAKE_MODULE_PATH over files -from the CMake modules directory. - -This policy was introduced in CMake version 2.8.4. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0018.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0018.rst deleted file mode 100644 index a3a7a12..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0018.rst +++ /dev/null @@ -1,34 +0,0 @@ -CMP0018 -------- - -Ignore CMAKE_SHARED_LIBRARY__FLAGS variable. - -CMake 2.8.8 and lower compiled sources in SHARED and MODULE libraries -using the value of the undocumented CMAKE_SHARED_LIBRARY__FLAGS -platform variable. The variable contained platform-specific flags -needed to compile objects for shared libraries. Typically it included -a flag such as -fPIC for position independent code but also included -other flags needed on certain platforms. CMake 2.8.9 and higher -prefer instead to use the POSITION_INDEPENDENT_CODE target property to -determine what targets should be position independent, and new -undocumented platform variables to select flags while ignoring -CMAKE_SHARED_LIBRARY__FLAGS completely. - -The default for either approach produces identical compilation flags, -but if a project modifies CMAKE_SHARED_LIBRARY__FLAGS from its -original value this policy determines which approach to use. - -The OLD behavior for this policy is to ignore the -POSITION_INDEPENDENT_CODE property for all targets and use the -modified value of CMAKE_SHARED_LIBRARY__FLAGS for SHARED and -MODULE libraries. - -The NEW behavior for this policy is to ignore -CMAKE_SHARED_LIBRARY__FLAGS whether it is modified or not and -honor the POSITION_INDEPENDENT_CODE target property. - -This policy was introduced in CMake version 2.8.9. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0020.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0020.rst deleted file mode 100644 index 75ca9de..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0020.rst +++ /dev/null @@ -1,27 +0,0 @@ -CMP0020 -------- - -Automatically link Qt executables to qtmain target on Windows. - -CMake 2.8.10 and lower required users of Qt to always specify a link -dependency to the qtmain.lib static library manually on Windows. -CMake 2.8.11 gained the ability to evaluate generator expressions -while determining the link dependencies from IMPORTED targets. This -allows CMake itself to automatically link executables which link to Qt -to the qtmain.lib library when using IMPORTED Qt targets. For -applications already linking to qtmain.lib, this should have little -impact. For applications which supply their own alternative WinMain -implementation and for applications which use the QAxServer library, -this automatic linking will need to be disabled as per the -documentation. - -The OLD behavior for this policy is not to link executables to -qtmain.lib automatically when they link to the QtCore IMPORTED target. -The NEW behavior for this policy is to link executables to qtmain.lib -automatically when they link to QtCore IMPORTED target. - -This policy was introduced in CMake version 2.8.11. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0021.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0021.rst deleted file mode 100644 index 3a792ca..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0021.rst +++ /dev/null @@ -1,20 +0,0 @@ -CMP0021 -------- - -Fatal error on relative paths in INCLUDE_DIRECTORIES target property. - -CMake 2.8.10.2 and lower allowed the INCLUDE_DIRECTORIES target -property to contain relative paths. The base path for such relative -entries is not well defined. CMake 2.8.12 issues a FATAL_ERROR if the -INCLUDE_DIRECTORIES property contains a relative path. - -The OLD behavior for this policy is not to warn about relative paths -in the INCLUDE_DIRECTORIES target property. The NEW behavior for this -policy is to issue a FATAL_ERROR if INCLUDE_DIRECTORIES contains a -relative path. - -This policy was introduced in CMake version 2.8.12. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0022.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0022.rst deleted file mode 100644 index 579d09a..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0022.rst +++ /dev/null @@ -1,39 +0,0 @@ -CMP0022 -------- - -INTERFACE_LINK_LIBRARIES defines the link interface. - -CMake 2.8.11 constructed the 'link interface' of a target from -properties matching ``(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_)?``. -The modern way to specify config-sensitive content is to use generator -expressions and the ``IMPORTED_`` prefix makes uniform processing of the -link interface with generator expressions impossible. The -INTERFACE_LINK_LIBRARIES target property was introduced as a -replacement in CMake 2.8.12. This new property is named consistently -with the INTERFACE_COMPILE_DEFINITIONS, INTERFACE_INCLUDE_DIRECTORIES -and INTERFACE_COMPILE_OPTIONS properties. For in-build targets, CMake -will use the INTERFACE_LINK_LIBRARIES property as the source of the -link interface only if policy CMP0022 is NEW. When exporting a target -which has this policy set to NEW, only the INTERFACE_LINK_LIBRARIES -property will be processed and generated for the IMPORTED target by -default. A new option to the install(EXPORT) and export commands -allows export of the old-style properties for compatibility with -downstream users of CMake versions older than 2.8.12. The -target_link_libraries command will no longer populate the properties -matching LINK_INTERFACE_LIBRARIES(_)? if this policy is NEW. - -Warning-free future-compatible code which works with CMake 2.8.7 onwards -can be written by using the ``LINK_PRIVATE`` and ``LINK_PUBLIC`` keywords -of :command:`target_link_libraries`. - -The OLD behavior for this policy is to ignore the -INTERFACE_LINK_LIBRARIES property for in-build targets. The NEW -behavior for this policy is to use the INTERFACE_LINK_LIBRARIES -property for in-build targets, and ignore the old properties matching -``(IMPORTED_)?LINK_INTERFACE_LIBRARIES(_)?``. - -This policy was introduced in CMake version 2.8.12. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0023.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0023.rst deleted file mode 100644 index 76a4900..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0023.rst +++ /dev/null @@ -1,35 +0,0 @@ -CMP0023 -------- - -Plain and keyword target_link_libraries signatures cannot be mixed. - -CMake 2.8.12 introduced the target_link_libraries signature using the -PUBLIC, PRIVATE, and INTERFACE keywords to generalize the LINK_PUBLIC -and LINK_PRIVATE keywords introduced in CMake 2.8.7. Use of -signatures with any of these keywords sets the link interface of a -target explicitly, even if empty. This produces confusing behavior -when used in combination with the historical behavior of the plain -target_link_libraries signature. For example, consider the code: - -:: - - target_link_libraries(mylib A) - target_link_libraries(mylib PRIVATE B) - -After the first line the link interface has not been set explicitly so -CMake would use the link implementation, A, as the link interface. -However, the second line sets the link interface to empty. In order -to avoid this subtle behavior CMake now prefers to disallow mixing the -plain and keyword signatures of target_link_libraries for a single -target. - -The OLD behavior for this policy is to allow keyword and plain -target_link_libraries signatures to be mixed. The NEW behavior for -this policy is to not to allow mixing of the keyword and plain -signatures. - -This policy was introduced in CMake version 2.8.12. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0024.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0024.rst deleted file mode 100644 index 272a56c..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0024.rst +++ /dev/null @@ -1,24 +0,0 @@ -CMP0024 -------- - -Disallow include export result. - -CMake 2.8.12 and lower allowed use of the include() command with the -result of the export() command. This relies on the assumption that -the export() command has an immediate effect at configure-time during -a cmake run. Certain properties of targets are not fully determined -until later at generate-time, such as the link language and complete -list of link libraries. Future refactoring will change the effect of -the export() command to be executed at generate-time. Use ALIAS -targets instead in cases where the goal is to refer to targets by -another name. - -The OLD behavior for this policy is to allow including the result of -an export() command. The NEW behavior for this policy is not to -allow including the result of an export() command. - -This policy was introduced in CMake version 3.0. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0026.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0026.rst deleted file mode 100644 index 3fe1374..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0026.rst +++ /dev/null @@ -1,28 +0,0 @@ -CMP0026 -------- - -Disallow use of the LOCATION property for build targets. - -CMake 2.8.12 and lower allowed reading the LOCATION target -property (and configuration-specific variants) to -determine the eventual location of build targets. This relies on the -assumption that all necessary information is available at -configure-time to determine the final location and filename of the -target. However, this property is not fully determined until later at -generate-time. At generate time, the $ generator -expression can be used to determine the eventual LOCATION of a target -output. - -Code which reads the LOCATION target property can be ported to use the -$ generator expression together with the file(GENERATE) -subcommand to generate a file containing the target location. - -The OLD behavior for this policy is to allow reading the LOCATION -properties from build-targets. The NEW behavior for this policy is to -not to allow reading the LOCATION properties from build-targets. - -This policy was introduced in CMake version 3.0. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0027.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0027.rst deleted file mode 100644 index 28913ce..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0027.rst +++ /dev/null @@ -1,27 +0,0 @@ -CMP0027 -------- - -Conditionally linked imported targets with missing include directories. - -CMake 2.8.11 introduced introduced the concept of -INTERFACE_INCLUDE_DIRECTORIES, and a check at cmake time that the -entries in the INTERFACE_INCLUDE_DIRECTORIES of an IMPORTED target -actually exist. CMake 2.8.11 also introduced generator expression -support in the target_link_libraries command. However, if an imported -target is linked as a result of a generator expression evaluation, the -entries in the INTERFACE_INCLUDE_DIRECTORIES of that target were not -checked for existence as they should be. - -The OLD behavior of this policy is to report a warning if an entry in -the INTERFACE_INCLUDE_DIRECTORIES of a generator-expression -conditionally linked IMPORTED target does not exist. - -The NEW behavior of this policy is to report an error if an entry in -the INTERFACE_INCLUDE_DIRECTORIES of a generator-expression -conditionally linked IMPORTED target does not exist. - -This policy was introduced in CMake version 3.0. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0028.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0028.rst deleted file mode 100644 index be57125..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0028.rst +++ /dev/null @@ -1,25 +0,0 @@ -CMP0028 -------- - -Double colon in target name means ALIAS or IMPORTED target. - -CMake 2.8.12 and lower allowed the use of targets and files with double -colons in target_link_libraries, with some buildsystem generators. - -The use of double-colons is a common pattern used to namespace IMPORTED -targets and ALIAS targets. When computing the link dependencies of a target, -the name of each dependency could either be a target, or a file on disk. -Previously, if a target was not found with a matching name, the name was -considered to refer to a file on disk. This can lead to confusing error -messages if there is a typo in what should be a target name. - -The OLD behavior for this policy is to search for targets, then files on disk, -even if the search term contains double-colons. The NEW behavior for this -policy is to issue a FATAL_ERROR if a link dependency contains -double-colons but is not an IMPORTED target or an ALIAS target. - -This policy was introduced in CMake version 3.0. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0037.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0037.rst deleted file mode 100644 index d1afeb7..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/CMP0037.rst +++ /dev/null @@ -1,33 +0,0 @@ -CMP0037 -------- - -Target names should not be reserved and should match a validity pattern. - -CMake 2.8.12 and lower allowed creating targets using :command:`add_library`, -:command:`add_executable` and :command:`add_custom_target` with unrestricted -choice for the target name. Newer cmake features such -as :manual:`cmake-generator-expressions(7)` and some -diagnostics expect target names to match a restricted pattern. - -Target names may contain upper and lower case letters, numbers, the underscore -character (_), dot(.), plus(+) and minus(-). As a special case, ALIAS -targets and IMPORTED targets may contain two consecutive colons. - -Target names reserved by one or more CMake generators are not allowed. -Among others these include "all", "clean", "help", and "install". - -Target names associated with optional features, such as "test" and "package", -may also be reserved. CMake 3.10 and below always reserve them. CMake 3.11 -and above reserve them only when the corresponding feature is enabled -(e.g. by including the :module:`CTest` or :module:`CPack` modules). - -The OLD behavior for this policy is to allow creating targets with -reserved names or which do not match the validity pattern. -The NEW behavior for this policy is to report an error -if an add_* command is used with an invalid target name. - -This policy was introduced in CMake version 3.0. CMake version -|release| warns when the policy is not set and uses OLD behavior. Use -the cmake_policy command to set it to OLD or NEW explicitly. - -.. include:: DEPRECATED.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/DISALLOWED_COMMAND.txt b/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/DISALLOWED_COMMAND.txt deleted file mode 100644 index 36280d2..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/policy/DISALLOWED_COMMAND.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake >= |disallowed_version| prefer that this command never be called. -The OLD behavior for this policy is to allow the command to be called. -The NEW behavior for this policy is to issue a FATAL_ERROR when the -command is called. - -This policy was introduced in CMake version |disallowed_version|. -CMake version |release| warns when the policy is not set and uses -OLD behavior. Use the cmake_policy command to set it to OLD or -NEW explicitly. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst deleted file mode 100644 index e32eed3..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_dir/ADDITIONAL_MAKE_CLEAN_FILES.rst +++ /dev/null @@ -1,7 +0,0 @@ -ADDITIONAL_MAKE_CLEAN_FILES ---------------------------- - -Additional files to clean during the make clean stage. - -A list of files that will be cleaned as a part of the "make clean" -stage. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_dir/EXCLUDE_FROM_ALL.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_dir/EXCLUDE_FROM_ALL.rst deleted file mode 100644 index 9d3192c..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_dir/EXCLUDE_FROM_ALL.rst +++ /dev/null @@ -1,15 +0,0 @@ -EXCLUDE_FROM_ALL ----------------- - -Exclude the directory from the all target of its parent. - -A property on a directory that indicates if its targets are excluded -from the default build target. If it is not, then with a Makefile for -example typing make will cause the targets to be built. The same -concept applies to the default build of other generators. - -Targets inherit the :prop_tgt:`EXCLUDE_FROM_ALL` property from the directory -that they are created in. When a directory is excluded, all of its targets will -have :prop_tgt:`EXCLUDE_FROM_ALL` set to ``TRUE``. After creating such a target -you can change its :prop_tgt:`EXCLUDE_FROM_ALL` property to ``FALSE``. This -will cause the target to be included in the default build target. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_gbl/ALLOW_DUPLICATE_CUSTOM_TARGETS.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_gbl/ALLOW_DUPLICATE_CUSTOM_TARGETS.rst deleted file mode 100644 index 8fab503..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_gbl/ALLOW_DUPLICATE_CUSTOM_TARGETS.rst +++ /dev/null @@ -1,19 +0,0 @@ -ALLOW_DUPLICATE_CUSTOM_TARGETS ------------------------------- - -Allow duplicate custom targets to be created. - -Normally CMake requires that all targets built in a project have -globally unique logical names (see policy CMP0002). This is necessary -to generate meaningful project file names in Xcode and VS IDE -generators. It also allows the target names to be referenced -unambiguously. - -Makefile generators are capable of supporting duplicate custom target -names. For projects that care only about Makefile generators and do -not wish to support Xcode or VS IDE generators, one may set this -property to true to allow duplicate custom targets. The property -allows multiple add_custom_target command calls in different -directories to specify the same target name. However, setting this -property will cause non-Makefile generators to produce an error and -refuse to generate the project. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_inst/CPACK_DESKTOP_SHORTCUTS.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_inst/CPACK_DESKTOP_SHORTCUTS.rst deleted file mode 100644 index 11f2c03..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_inst/CPACK_DESKTOP_SHORTCUTS.rst +++ /dev/null @@ -1,7 +0,0 @@ -CPACK_DESKTOP_SHORTCUTS ------------------------ - -Species a list of shortcut names that should be created on the Desktop -for this file. - -The property is currently only supported by the WIX generator. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_inst/CPACK_STARTUP_SHORTCUTS.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_inst/CPACK_STARTUP_SHORTCUTS.rst deleted file mode 100644 index 8a16022..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_inst/CPACK_STARTUP_SHORTCUTS.rst +++ /dev/null @@ -1,7 +0,0 @@ -CPACK_STARTUP_SHORTCUTS ------------------------ - -Species a list of shortcut names that should be created in the Startup folder -for this file. - -The property is currently only supported by the WIX generator. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_inst/CPACK_START_MENU_SHORTCUTS.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_inst/CPACK_START_MENU_SHORTCUTS.rst deleted file mode 100644 index d30ea39..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_inst/CPACK_START_MENU_SHORTCUTS.rst +++ /dev/null @@ -1,7 +0,0 @@ -CPACK_START_MENU_SHORTCUTS --------------------------- - -Species a list of shortcut names that should be created in the Start Menu -for this file. - -The property is currently only supported by the WIX generator. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/COMPILE_DEFINITIONS_CONFIG.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/COMPILE_DEFINITIONS_CONFIG.rst deleted file mode 100644 index 8487076..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/COMPILE_DEFINITIONS_CONFIG.rst +++ /dev/null @@ -1,10 +0,0 @@ -COMPILE_DEFINITIONS_ ----------------------------- - -Ignored. See CMake Policy :policy:`CMP0043`. - -Per-configuration preprocessor definitions on a source file. - -This is the configuration-specific version of COMPILE_DEFINITIONS. -Note that Xcode does not support per-configuration source file flags -so this property will be ignored by the Xcode generator. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/Fortran_FORMAT.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/Fortran_FORMAT.rst deleted file mode 100644 index 69e34aa..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/Fortran_FORMAT.rst +++ /dev/null @@ -1,9 +0,0 @@ -Fortran_FORMAT --------------- - -Set to FIXED or FREE to indicate the Fortran source layout. - -This property tells CMake whether a given Fortran source file uses -fixed-format or free-format. CMake will pass the corresponding format -flag to the compiler. Consider using the target-wide Fortran_FORMAT -property if all source files in a target share the same format. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/OBJECT_OUTPUTS.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/OBJECT_OUTPUTS.rst deleted file mode 100644 index 6a28553..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/OBJECT_OUTPUTS.rst +++ /dev/null @@ -1,9 +0,0 @@ -OBJECT_OUTPUTS --------------- - -Additional outputs for a Makefile rule. - -Additional outputs created by compilation of this source file. If any -of these outputs is missing the object will be recompiled. This is -supported only on Makefile generators and will be ignored on other -generators. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/VS_INCLUDE_IN_VSIX.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/VS_INCLUDE_IN_VSIX.rst deleted file mode 100644 index 30f471d..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/VS_INCLUDE_IN_VSIX.rst +++ /dev/null @@ -1,6 +0,0 @@ -VS_INCLUDE_IN_VSIX ------------------- - -Boolean property to specify if the file should be included within a VSIX -extension package. This is needed for development of Visual Studio -extensions. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/VS_SHADER_FLAGS.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/VS_SHADER_FLAGS.rst deleted file mode 100644 index 0901123..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/VS_SHADER_FLAGS.rst +++ /dev/null @@ -1,4 +0,0 @@ -VS_SHADER_FLAGS ---------------- - -Set additional VS shader flags of a ``.hlsl`` source file. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/VS_SHADER_TYPE.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/VS_SHADER_TYPE.rst deleted file mode 100644 index 6880256..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/VS_SHADER_TYPE.rst +++ /dev/null @@ -1,4 +0,0 @@ -VS_SHADER_TYPE --------------- - -Set the VS shader type of a ``.hlsl`` source file. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/VS_XAML_TYPE.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/VS_XAML_TYPE.rst deleted file mode 100644 index e92191d..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/VS_XAML_TYPE.rst +++ /dev/null @@ -1,6 +0,0 @@ -VS_XAML_TYPE ------------- - -Mark a XAML source file as a different type than the default ``Page``. -The most common usage would be to set the default App.xaml file as -ApplicationDefinition. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/WRAP_EXCLUDE.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/WRAP_EXCLUDE.rst deleted file mode 100644 index 2c79f72..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_sf/WRAP_EXCLUDE.rst +++ /dev/null @@ -1,10 +0,0 @@ -WRAP_EXCLUDE ------------- - -Exclude this source file from any code wrapping techniques. - -Some packages can wrap source files into alternate languages to -provide additional functionality. For example, C++ code can be -wrapped into Java or Python etc using SWIG etc. If WRAP_EXCLUDE is -set to true (1 etc) that indicates that this source file should not be -wrapped. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_test/COST.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_test/COST.rst deleted file mode 100644 index 3236a02..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_test/COST.rst +++ /dev/null @@ -1,7 +0,0 @@ -COST ----- - -Set this to a floating point value. Tests in a test set will be run in descending order of cost. - -This property describes the cost of a test. You can explicitly set -this value; tests with higher COST values will run first. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_test/DISABLED.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_test/DISABLED.rst deleted file mode 100644 index c18ae7f..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_test/DISABLED.rst +++ /dev/null @@ -1,15 +0,0 @@ -DISABLED --------- - -If set to true, the test will be skipped and its status will be 'Not Run'. A -DISABLED test will not be counted in the total number of tests and its -completion status will be reported to CDash as 'Disabled'. - -A DISABLED test does not participate in test fixture dependency resolution. -If a DISABLED test has fixture requirements defined in its -:prop_test:`FIXTURES_REQUIRED` property, it will not cause setup or cleanup -tests for those fixtures to be added to the test set. - -If a test with the :prop_test:`FIXTURES_SETUP` property set is DISABLED, the -fixture behavior will be as though that setup test was passing and any test -case requiring that fixture will still run. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_test/MEASUREMENT.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_test/MEASUREMENT.rst deleted file mode 100644 index bc4936e..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_test/MEASUREMENT.rst +++ /dev/null @@ -1,8 +0,0 @@ -MEASUREMENT ------------ - -Specify a CDASH measurement and value to be reported for a test. - -If set to a name then that name will be reported to CDASH as a named -measurement with a value of 1. You may also specify a value by -setting MEASUREMENT to "measurement=value". diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_test/RESOURCE_LOCK.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_test/RESOURCE_LOCK.rst deleted file mode 100644 index 755e0aa..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_test/RESOURCE_LOCK.rst +++ /dev/null @@ -1,10 +0,0 @@ -RESOURCE_LOCK -------------- - -Specify a list of resources that are locked by this test. - -If multiple tests specify the same resource lock, they are guaranteed -not to run concurrently. - -See also :prop_test:`FIXTURES_REQUIRED` if the resource requires any setup or -cleanup steps. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/AUTOMOC.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/AUTOMOC.rst deleted file mode 100644 index 3e6d560..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/AUTOMOC.rst +++ /dev/null @@ -1,97 +0,0 @@ -AUTOMOC -------- - -Should the target be processed with automoc (for Qt projects). - -:prop_tgt:`AUTOMOC` is a boolean specifying whether CMake will handle the Qt -``moc`` preprocessor automatically, i.e. without having to use the -:module:`QT4_WRAP_CPP() ` or QT5_WRAP_CPP() macro. -Currently Qt4 and Qt5 are supported. - -When this property is set ``ON``, CMake will scan the header and -source files at build time and invoke moc accordingly. - -* If an ``#include`` statement like ``#include "moc_.cpp"`` is found, - a macro from :prop_tgt:`AUTOMOC_MACRO_NAMES` is expected to appear in the - ``.h(xx)`` header file. ``moc`` is run on the header - file to generate ``moc_.cpp`` in the - ``/include`` directory which is automatically added - to the target's :prop_tgt:`INCLUDE_DIRECTORIES`. - This allows the compiler to find the included ``moc_.cpp`` file - regardless of the location the original source. - - * For :prop_gbl:`multi configuration generators `, - the include directory is ``/include_``. - - * See :prop_tgt:`AUTOGEN_BUILD_DIR`. - -* If an ``#include`` statement like ``#include ".moc"`` is found, - a macro from :prop_tgt:`AUTOMOC_MACRO_NAMES` is expected to appear in the - source file and ``moc`` is run on the source file itself. - -* Header files that are not included by an ``#include "moc_.cpp"`` - statement are nonetheless scanned for a macro out of - :prop_tgt:`AUTOMOC_MACRO_NAMES`. - The resulting ``moc_.cpp`` files are generated in custom - directories and automatically included in a generated - ``/mocs_compilation.cpp`` file, - which is compiled as part of the target. - - * The custom directories with checksum - based names help to avoid name collisions for ``moc`` files with the same - ````. - - * See :prop_tgt:`AUTOGEN_BUILD_DIR`. - -* Additionally, header files with the same base name as a source file, - (like ``.h``) or ``_p`` appended to the base name (like - ``_p.h``), are scanned for a macro out of - :prop_tgt:`AUTOMOC_MACRO_NAMES`, and if found, ``moc`` - is also executed on those files. - -* ``AUTOMOC`` always checks multiple header alternative extensions, - such as ``hpp``, ``hxx``, etc. when searching for headers. - -* ``AUTOMOC`` looks for the ``Q_PLUGIN_METADATA`` macro and reruns the - ``moc`` when the file addressed by the ``FILE`` argument of the macro changes. - -This property is initialized by the value of the :variable:`CMAKE_AUTOMOC` -variable if it is set when a target is created. - -The ``moc`` executable will be detected automatically, but can be forced to -a certain binary using the :prop_tgt:`AUTOMOC_EXECUTABLE` property. - -Additional command line options for ``moc`` can be set via the -:prop_tgt:`AUTOMOC_MOC_OPTIONS` property. - -By enabling the :variable:`CMAKE_AUTOMOC_RELAXED_MODE` variable the -rules for searching the files which will be processed by ``moc`` can be relaxed. -See the documentation for this variable for more details. - -The global property :prop_gbl:`AUTOGEN_TARGETS_FOLDER` can be used to group the -automoc targets together in an IDE, e.g. in MSVS. - -The global property :prop_gbl:`AUTOGEN_SOURCE_GROUP` can be used to group -files generated by :prop_tgt:`AUTOMOC` together in an IDE, e.g. in MSVS. - -Additional macro names to search for can be added to -:prop_tgt:`AUTOMOC_MACRO_NAMES`. - -Additional ``moc`` dependency file names can be extracted from source code -by using :prop_tgt:`AUTOMOC_DEPEND_FILTERS`. - -Compiler pre definitions for ``moc`` are written to a ``moc_predefs.h`` file -which is controlled by :prop_tgt:`AUTOMOC_COMPILER_PREDEFINES`. - -Source C++ files can be excluded from :prop_tgt:`AUTOMOC` processing by -enabling :prop_sf:`SKIP_AUTOMOC` or the broader :prop_sf:`SKIP_AUTOGEN`. - -The number of parallel ``moc`` processes to start can be modified by -setting :prop_tgt:`AUTOGEN_PARALLEL`. - -A global ``autogen`` target that depends on all :prop_tgt:`AUTOMOC` generated -``_autogen`` targets in the project can be generated by enabling -:variable:`CMAKE_GLOBAL_AUTOGEN_TARGET`. - -See the :manual:`cmake-qt(7)` manual for more information on using CMake -with Qt. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/AUTORCC.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/AUTORCC.rst deleted file mode 100644 index 5db6ed0..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/AUTORCC.rst +++ /dev/null @@ -1,46 +0,0 @@ -AUTORCC -------- - -Should the target be processed with autorcc (for Qt projects). - -:prop_tgt:`AUTORCC` is a boolean specifying whether CMake will handle -the Qt ``rcc`` code generator automatically, i.e. without having to use -the :module:`QT4_ADD_RESOURCES() ` or ``QT5_ADD_RESOURCES()`` -macro. Currently Qt4 and Qt5 are supported. - -When this property is ``ON``, CMake will handle ``.qrc`` files added -as target sources at build time and invoke ``rcc`` accordingly. -This property is initialized by the value of the :variable:`CMAKE_AUTORCC` -variable if it is set when a target is created. - -By default :prop_tgt:`AUTORCC` is processed inside a -:command:`custom command `. -If the ``.qrc`` file is :prop_sf:`GENERATED` though, a -:command:`custom target ` is used instead. - -Additional command line options for rcc can be set via the -:prop_sf:`AUTORCC_OPTIONS` source file property on the ``.qrc`` file. - -The ``rcc`` executable will be detected automatically, but can be forced to -a certain binary using the :prop_tgt:`AUTORCC_EXECUTABLE` property. - -The global property :prop_gbl:`AUTOGEN_TARGETS_FOLDER` can be used to group -the autorcc targets together in an IDE, e.g. in MSVS. - -The global property :prop_gbl:`AUTOGEN_SOURCE_GROUP` can be used to group -files generated by :prop_tgt:`AUTORCC` together in an IDE, e.g. in MSVS. - -When there are multiple ``.qrc`` files with the same name, CMake will -generate unspecified unique names for ``rcc``. Therefore if -``Q_INIT_RESOURCE()`` or ``Q_CLEANUP_RESOURCE()`` need to be used the -``.qrc`` file name must be unique. - -Source files can be excluded from :prop_tgt:`AUTORCC` processing by -enabling :prop_sf:`SKIP_AUTORCC` or the broader :prop_sf:`SKIP_AUTOGEN`. - -A global ``autorcc`` target that depends on all :prop_tgt:`AUTORCC` targets -in the project can be generated by enabling -:variable:`CMAKE_GLOBAL_AUTORCC_TARGET`. - -See the :manual:`cmake-qt(7)` manual for more information on using CMake -with Qt. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/AUTOUIC.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/AUTOUIC.rst deleted file mode 100644 index 85226c1..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/AUTOUIC.rst +++ /dev/null @@ -1,47 +0,0 @@ -AUTOUIC -------- - -Should the target be processed with autouic (for Qt projects). - -:prop_tgt:`AUTOUIC` is a boolean specifying whether CMake will handle -the Qt ``uic`` code generator automatically, i.e. without having to use -the :module:`QT4_WRAP_UI() ` or ``QT5_WRAP_UI()`` macro. Currently -Qt4 and Qt5 are supported. - -When this property is ``ON``, CMake will scan the source files at build time -and invoke ``uic`` accordingly. If an ``#include`` statement like -``#include "ui_foo.h"`` is found in ``source.cpp``, a ``foo.ui`` file is -searched for first in the vicinity of ``source.cpp`` and afterwards in the -optional :prop_tgt:`AUTOUIC_SEARCH_PATHS` of the target. -``uic`` is run on the ``foo.ui`` file to generate ``ui_foo.h`` in the directory -``/include``, -which is automatically added to the target's :prop_tgt:`INCLUDE_DIRECTORIES`. - -* For :prop_gbl:`multi configuration generators `, - the include directory is ``/include_``. - -* See :prop_tgt:`AUTOGEN_BUILD_DIR`. - -This property is initialized by the value of the :variable:`CMAKE_AUTOUIC` -variable if it is set when a target is created. - -Additional command line options for ``uic`` can be set via the -:prop_sf:`AUTOUIC_OPTIONS` source file property on the ``foo.ui`` file. -The global property :prop_gbl:`AUTOGEN_TARGETS_FOLDER` can be used to group the -autouic targets together in an IDE, e.g. in MSVS. - -The ``uic`` executable will be detected automatically, but can be forced to -a certain binary using the :prop_tgt:`AUTOUIC_EXECUTABLE` property. - -Source files can be excluded from :prop_tgt:`AUTOUIC` processing by -enabling :prop_sf:`SKIP_AUTOUIC` or the broader :prop_sf:`SKIP_AUTOGEN`. - -The number of parallel ``uic`` processes to start can be modified by -setting :prop_tgt:`AUTOGEN_PARALLEL`. - -A global ``autogen`` target that depends on all :prop_tgt:`AUTOUIC` generated -``_autogen`` targets in the project can be generated by enabling -:variable:`CMAKE_GLOBAL_AUTOGEN_TARGET`. - -See the :manual:`cmake-qt(7)` manual for more information on using CMake -with Qt. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/CUDA_RESOLVE_DEVICE_SYMBOLS.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/CUDA_RESOLVE_DEVICE_SYMBOLS.rst deleted file mode 100644 index ef74ae2..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/CUDA_RESOLVE_DEVICE_SYMBOLS.rst +++ /dev/null @@ -1,21 +0,0 @@ -CUDA_RESOLVE_DEVICE_SYMBOLS ---------------------------- - -CUDA only: Enables device linking for the specific library target - -If set this will enable device linking on the library target. Normally -device linking is deferred until a shared library or executable is generated, -allowing for multiple static libraries to resolve device symbols at the same -time when they are used by a shared library or executable. - -By default static library targets have this property is disabled, -while shared, module, and executable targets have this property enabled. - -Note that device linking is not supported for :ref:`Object Libraries`. - - -For instance: - -.. code-block:: cmake - - set_property(TARGET mystaticlib PROPERTY CUDA_RESOLVE_DEVICE_SYMBOLS ON) diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/DEBUG_POSTFIX.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/DEBUG_POSTFIX.rst deleted file mode 100644 index 1487656..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/DEBUG_POSTFIX.rst +++ /dev/null @@ -1,7 +0,0 @@ -DEBUG_POSTFIX -------------- - -See target property _POSTFIX. - -This property is a special case of the more-general _POSTFIX -property for the DEBUG configuration. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/ENABLE_EXPORTS.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/ENABLE_EXPORTS.rst deleted file mode 100644 index 581c2b9..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/ENABLE_EXPORTS.rst +++ /dev/null @@ -1,22 +0,0 @@ -ENABLE_EXPORTS --------------- - -Specify whether an executable exports symbols for loadable modules. - -Normally an executable does not export any symbols because it is the -final program. It is possible for an executable to export symbols to -be used by loadable modules. When this property is set to true CMake -will allow other targets to "link" to the executable with the -:command:`TARGET_LINK_LIBRARIES` command. On all platforms a target-level -dependency on the executable is created for targets that link to it. -For DLL platforms an import library will be created for the exported -symbols and then used for linking. All Windows-based systems -including Cygwin are DLL platforms. For non-DLL platforms that -require all symbols to be resolved at link time, such as macOS, the -module will "link" to the executable using a flag like -``-bundle_loader``. For other non-DLL platforms the link rule is simply -ignored since the dynamic loader will automatically bind symbols when -the module is loaded. - -This property is initialized by the value of the variable -:variable:`CMAKE_ENABLE_EXPORTS` if it is set when a target is created. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD.rst deleted file mode 100644 index a14e48c..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD.rst +++ /dev/null @@ -1,8 +0,0 @@ -EXCLUDE_FROM_DEFAULT_BUILD --------------------------- - -Exclude target from "Build Solution". - -This property is only used by Visual Studio generators. -When set to TRUE, the target will not be built when you press "Build -Solution". diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD_CONFIG.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD_CONFIG.rst deleted file mode 100644 index 655a9de..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/EXCLUDE_FROM_DEFAULT_BUILD_CONFIG.rst +++ /dev/null @@ -1,9 +0,0 @@ -EXCLUDE_FROM_DEFAULT_BUILD_ ------------------------------------ - -Per-configuration version of target exclusion from "Build Solution". - -This is the configuration-specific version of -EXCLUDE_FROM_DEFAULT_BUILD. If the generic EXCLUDE_FROM_DEFAULT_BUILD -is also set on a target, EXCLUDE_FROM_DEFAULT_BUILD_ takes -precedence in configurations for which it has a value. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/EXPORT_NAME.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/EXPORT_NAME.rst deleted file mode 100644 index 1b4247c..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/EXPORT_NAME.rst +++ /dev/null @@ -1,8 +0,0 @@ -EXPORT_NAME ------------ - -Exported name for target files. - -This sets the name for the IMPORTED target generated when it this -target is is exported. If not set, the logical target name is used by -default. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/EchoString.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/EchoString.rst deleted file mode 100644 index 32ae2aa..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/EchoString.rst +++ /dev/null @@ -1,7 +0,0 @@ -EchoString ----------- - -A message to be displayed when the target is built. - -A message to display on some generators (such as makefiles) when the -target is built. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/GNUtoMS.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/GNUtoMS.rst deleted file mode 100644 index cf34da9..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/GNUtoMS.rst +++ /dev/null @@ -1,17 +0,0 @@ -GNUtoMS -------- - -Convert GNU import library (.dll.a) to MS format (.lib). - -When linking a shared library or executable that exports symbols using -GNU tools on Windows (MinGW/MSYS) with Visual Studio installed convert -the import library (.dll.a) from GNU to MS format (.lib). Both import -libraries will be installed by install(TARGETS) and exported by -install(EXPORT) and export() to be linked by applications with either -GNU- or MS-compatible tools. - -If the variable CMAKE_GNUtoMS is set when a target is created its -value is used to initialize this property. The variable must be set -prior to the first command that enables a language such as project() -or enable_language(). CMake provides the variable as an option to the -user automatically when configuring on Windows with GNU tools. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/HAS_CXX.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/HAS_CXX.rst deleted file mode 100644 index 7790932..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/HAS_CXX.rst +++ /dev/null @@ -1,7 +0,0 @@ -HAS_CXX -------- - -Link the target using the C++ linker tool (obsolete). - -This is equivalent to setting the LINKER_LANGUAGE property to CXX. -See that property's documentation for details. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_IMPLIB.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_IMPLIB.rst deleted file mode 100644 index acf4b32..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_IMPLIB.rst +++ /dev/null @@ -1,7 +0,0 @@ -IMPORTED_IMPLIB ---------------- - -Full path to the import library for an IMPORTED target. - -Set this to the location of the ".lib" part of a windows DLL. Ignored -for non-imported targets. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES.rst deleted file mode 100644 index 61134a4..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_LINK_INTERFACE_LIBRARIES.rst +++ /dev/null @@ -1,16 +0,0 @@ -IMPORTED_LINK_INTERFACE_LIBRARIES ---------------------------------- - -Transitive link interface of an IMPORTED target. - -Set this to the list of libraries whose interface is included when an -IMPORTED library target is linked to another target. The libraries -will be included on the link line for the target. Unlike the -LINK_INTERFACE_LIBRARIES property, this property applies to all -imported target types, including STATIC libraries. This property is -ignored for non-imported targets. - -This property is ignored if the target also has a non-empty -INTERFACE_LINK_LIBRARIES property. - -This property is deprecated. Use INTERFACE_LINK_LIBRARIES instead. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY.rst deleted file mode 100644 index 3a86b99..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_LINK_INTERFACE_MULTIPLICITY.rst +++ /dev/null @@ -1,6 +0,0 @@ -IMPORTED_LINK_INTERFACE_MULTIPLICITY ------------------------------------- - -Repetition count for cycles of IMPORTED static libraries. - -This is LINK_INTERFACE_MULTIPLICITY for IMPORTED targets. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_LOCATION.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_LOCATION.rst deleted file mode 100644 index 2d07aad..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_LOCATION.rst +++ /dev/null @@ -1,21 +0,0 @@ -IMPORTED_LOCATION ------------------ - -Full path to the main file on disk for an IMPORTED target. - -Set this to the location of an IMPORTED target file on disk. For -executables this is the location of the executable file. For bundles -on macOS this is the location of the executable file inside -Contents/MacOS under the application bundle folder. For static -libraries and modules this is the location of the library or module. -For shared libraries on non-DLL platforms this is the location of the -shared library. For frameworks on macOS this is the location of the -library file symlink just inside the framework folder. For DLLs this -is the location of the ".dll" part of the library. For UNKNOWN -libraries this is the location of the file to be linked. Ignored for -non-imported targets. - -Projects may skip IMPORTED_LOCATION if the configuration-specific -property IMPORTED_LOCATION_ is set. To get the location of an -imported target read one of the LOCATION or LOCATION_ -properties. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_NO_SONAME.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_NO_SONAME.rst deleted file mode 100644 index 4a1bb44..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_NO_SONAME.rst +++ /dev/null @@ -1,9 +0,0 @@ -IMPORTED_NO_SONAME ------------------- - -Specifies that an IMPORTED shared library target has no "soname". - -Set this property to true for an imported shared library file that has -no "soname" field. CMake may adjust generated link commands for some -platforms to prevent the linker from using the path to the library in -place of its missing soname. Ignored for non-imported targets. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_SONAME.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_SONAME.rst deleted file mode 100644 index d80907e..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORTED_SONAME.rst +++ /dev/null @@ -1,8 +0,0 @@ -IMPORTED_SONAME ---------------- - -The "soname" of an IMPORTED target of shared library type. - -Set this to the "soname" embedded in an imported shared library. This -is meaningful only on platforms supporting the feature. Ignored for -non-imported targets. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORT_SUFFIX.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORT_SUFFIX.rst deleted file mode 100644 index bd01250..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/IMPORT_SUFFIX.rst +++ /dev/null @@ -1,9 +0,0 @@ -IMPORT_SUFFIX -------------- - -What comes after the import library name. - -Similar to the target property SUFFIX, but used for import libraries -(typically corresponding to a DLL) instead of regular libraries. A -target property that can be set to override the suffix (such as -".lib") on an import library name. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/INSTALL_RPATH_USE_LINK_PATH.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/INSTALL_RPATH_USE_LINK_PATH.rst deleted file mode 100644 index f0006f8..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/INSTALL_RPATH_USE_LINK_PATH.rst +++ /dev/null @@ -1,10 +0,0 @@ -INSTALL_RPATH_USE_LINK_PATH ---------------------------- - -Add paths to linker search and installed rpath. - -INSTALL_RPATH_USE_LINK_PATH is a boolean that if set to true will -append directories in the linker search path and outside the project -to the INSTALL_RPATH. This property is initialized by the value of -the variable CMAKE_INSTALL_RPATH_USE_LINK_PATH if it is set when a -target is created. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/LINK_SEARCH_START_STATIC.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/LINK_SEARCH_START_STATIC.rst deleted file mode 100644 index 2e0f9bd..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/LINK_SEARCH_START_STATIC.rst +++ /dev/null @@ -1,19 +0,0 @@ -LINK_SEARCH_START_STATIC ------------------------- - -Assume the linker looks for static libraries by default. - -Some linkers support switches such as -Bstatic and -Bdynamic to -determine whether to use static or shared libraries for -lXXX options. -CMake uses these options to set the link type for libraries whose full -paths are not known or (in some cases) are in implicit link -directories for the platform. By default the linker search type is -assumed to be -Bdynamic at the beginning of the library list. This -property switches the assumption to -Bstatic. It is intended for use -when linking an executable statically (e.g. with the GNU -static -option). - -This property is initialized by the value of the variable -CMAKE_LINK_SEARCH_START_STATIC if it is set when a target is created. - -See also LINK_SEARCH_END_STATIC. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/POST_INSTALL_SCRIPT.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/POST_INSTALL_SCRIPT.rst deleted file mode 100644 index f1adb40..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/POST_INSTALL_SCRIPT.rst +++ /dev/null @@ -1,9 +0,0 @@ -POST_INSTALL_SCRIPT -------------------- - -Deprecated install support. - -The PRE_INSTALL_SCRIPT and POST_INSTALL_SCRIPT properties are the old -way to specify CMake scripts to run before and after installing a -target. They are used only when the old INSTALL_TARGETS command is -used to install the target. Use the INSTALL command instead. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/PRE_INSTALL_SCRIPT.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/PRE_INSTALL_SCRIPT.rst deleted file mode 100644 index 113d7c5..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/PRE_INSTALL_SCRIPT.rst +++ /dev/null @@ -1,9 +0,0 @@ -PRE_INSTALL_SCRIPT ------------------- - -Deprecated install support. - -The PRE_INSTALL_SCRIPT and POST_INSTALL_SCRIPT properties are the old -way to specify CMake scripts to run before and after installing a -target. They are used only when the old INSTALL_TARGETS command is -used to install the target. Use the INSTALL command instead. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/TYPE.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/TYPE.rst deleted file mode 100644 index 1cd9db4..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/prop_tgt/TYPE.rst +++ /dev/null @@ -1,9 +0,0 @@ -TYPE ----- - -The type of the target. - -This read-only property can be used to test the type of the given -target. It will be one of STATIC_LIBRARY, MODULE_LIBRARY, -SHARED_LIBRARY, OBJECT_LIBRARY, INTERFACE_LIBRARY, EXECUTABLE or one -of the internal target types. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst deleted file mode 100644 index 72e8e66..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst +++ /dev/null @@ -1,7 +0,0 @@ -CMAKE_CUDA_HOST_COMPILER ------------------------- - -Executable to use when compiling host code when compiling ``CUDA`` language -files. Maps to the nvcc -ccbin option. Will only be used by CMake on the first -configuration to determine a valid host compiler for ``CUDA``. After a valid -host compiler has been found, this value is read-only. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_ENABLE_EXPORTS.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_ENABLE_EXPORTS.rst deleted file mode 100644 index 7ec4d63..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_ENABLE_EXPORTS.rst +++ /dev/null @@ -1,22 +0,0 @@ -CMAKE_ENABLE_EXPORTS --------------------- - -Specify whether an executable exports symbols for loadable modules. - -Normally an executable does not export any symbols because it is the -final program. It is possible for an executable to export symbols to -be used by loadable modules. When this property is set to true CMake -will allow other targets to ``link`` to the executable with the -:command:`TARGET_LINK_LIBRARIES` command. On all platforms a target-level -dependency on the executable is created for targets that link to it. -For DLL platforms an import library will be created for the exported -symbols and then used for linking. All Windows-based systems -including Cygwin are DLL platforms. For non-DLL platforms that -require all symbols to be resolved at link time, such as macOS, the -module will ``link`` to the executable using a flag like -``-bundle_loader``. For other non-DLL platforms the link rule is simply -ignored since the dynamic loader will automatically bind symbols when -the module is loaded. - -This variable is used to initialize the target property -:prop_tgt:`ENABLE_EXPORTS` for executable targets. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_EXPORT_NO_PACKAGE_REGISTRY.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_EXPORT_NO_PACKAGE_REGISTRY.rst deleted file mode 100644 index ee109ba..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_EXPORT_NO_PACKAGE_REGISTRY.rst +++ /dev/null @@ -1,11 +0,0 @@ -CMAKE_EXPORT_NO_PACKAGE_REGISTRY --------------------------------- - -Disable the :command:`export(PACKAGE)` command. - -In some cases, for example for packaging and for system wide -installations, it is not desirable to write the user package registry. -If the :variable:`CMAKE_EXPORT_NO_PACKAGE_REGISTRY` variable is enabled, -the :command:`export(PACKAGE)` command will do nothing. - -See also :ref:`Disabling the Package Registry`. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY.rst deleted file mode 100644 index 9058471..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY.rst +++ /dev/null @@ -1,13 +0,0 @@ -CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY --------------------------------------- - -Skip :ref:`User Package Registry` in :command:`find_package` calls. - -In some cases, for example to locate only system wide installations, it -is not desirable to use the :ref:`User Package Registry` when searching -for packages. If the :variable:`CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY` -variable is enabled, all the :command:`find_package` commands will skip -the :ref:`User Package Registry` as if they were called with the -``NO_CMAKE_PACKAGE_REGISTRY`` argument. - -See also :ref:`Disabling the Package Registry`. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY.rst deleted file mode 100644 index 44588b1..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY.rst +++ /dev/null @@ -1,13 +0,0 @@ -CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY ---------------------------------------------- - -Skip :ref:`System Package Registry` in :command:`find_package` calls. - -In some cases, it is not desirable to use the -:ref:`System Package Registry` when searching for packages. If the -:variable:`CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY` variable is -enabled, all the :command:`find_package` commands will skip -the :ref:`System Package Registry` as if they were called with the -``NO_CMAKE_SYSTEM_PACKAGE_REGISTRY`` argument. - -See also :ref:`Disabling the Package Registry`. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_GENERATOR.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_GENERATOR.rst deleted file mode 100644 index cce04c1..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_GENERATOR.rst +++ /dev/null @@ -1,7 +0,0 @@ -CMAKE_GENERATOR ---------------- - -The generator used to build the project. See :manual:`cmake-generators(7)`. - -The name of the generator that is being used to generate the build -files. (e.g. ``Unix Makefiles``, ``Ninja``, etc.) diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst deleted file mode 100644 index 5ca40a3..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_PROJECT_PROJECT-NAME_INCLUDE.rst +++ /dev/null @@ -1,6 +0,0 @@ -CMAKE_PROJECT__INCLUDE ------------------------------------- - -A CMake language file or module to be included by the :command:`project` -command. This is intended for injecting custom code into project -builds without modifying their source. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_STAGING_PREFIX.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_STAGING_PREFIX.rst deleted file mode 100644 index 1310e94..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_STAGING_PREFIX.rst +++ /dev/null @@ -1,14 +0,0 @@ -CMAKE_STAGING_PREFIX --------------------- - -This variable may be set to a path to install to when cross-compiling. This can -be useful if the path in :variable:`CMAKE_SYSROOT` is read-only, or otherwise -should remain pristine. - -The ``CMAKE_STAGING_PREFIX`` location is also used as a search prefix by the -``find_*`` commands. This can be controlled by setting the -:variable:`CMAKE_FIND_NO_INSTALL_PREFIX` variable. - -If any RPATH/RUNPATH entries passed to the linker contain the -``CMAKE_STAGING_PREFIX``, the matching path fragments are replaced with the -:variable:`CMAKE_INSTALL_PREFIX`. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_STATIC_LINKER_FLAGS.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_STATIC_LINKER_FLAGS.rst deleted file mode 100644 index 9c38673..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_STATIC_LINKER_FLAGS.rst +++ /dev/null @@ -1,6 +0,0 @@ -CMAKE_STATIC_LINKER_FLAGS -------------------------- - -Linker flags to be used to create static libraries. - -These flags will be used by the linker when creating a static library. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_STATIC_LINKER_FLAGS_CONFIG.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_STATIC_LINKER_FLAGS_CONFIG.rst deleted file mode 100644 index b9f8003..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_STATIC_LINKER_FLAGS_CONFIG.rst +++ /dev/null @@ -1,7 +0,0 @@ -CMAKE_STATIC_LINKER_FLAGS_ ----------------------------------- - -Flags to be used when linking a static library. - -Same as ``CMAKE_C_FLAGS_*`` but used by the linker when creating static -libraries. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_SUPPRESS_REGENERATION.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_SUPPRESS_REGENERATION.rst deleted file mode 100644 index ed47e1a..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CMAKE_SUPPRESS_REGENERATION.rst +++ /dev/null @@ -1,11 +0,0 @@ -CMAKE_SUPPRESS_REGENERATION ---------------------------- - -If CMAKE_SUPPRESS_REGENERATION is ``OFF``, which is default, then CMake adds a -special target on which all other targets depend that checks the build system -and optionally re-runs CMake to regenerate the build system when the target -specification source changes. - -If this variable evaluates to ``ON`` at the end of the top-level -``CMakeLists.txt`` file, CMake will not add the regeneration target to the -build system or perform any build system checks. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CPACK_INSTALL_SCRIPT.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CPACK_INSTALL_SCRIPT.rst deleted file mode 100644 index 12a48a4..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/CPACK_INSTALL_SCRIPT.rst +++ /dev/null @@ -1,8 +0,0 @@ -CPACK_INSTALL_SCRIPT --------------------- - -Extra CMake script provided by the user. - -If set this CMake script will be executed by CPack during its local -[CPack-private] installation which is done right before packaging the -files. The script is not called by e.g.: ``make install``. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/XCODE_VERSION.rst b/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/XCODE_VERSION.rst deleted file mode 100644 index b85d41e..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/variable/XCODE_VERSION.rst +++ /dev/null @@ -1,7 +0,0 @@ -XCODE_VERSION -------------- - -Version of Xcode (:generator:`Xcode` generator only). - -Under the Xcode generator, this is the version of Xcode as specified -in ``Xcode.app/Contents/version.plist`` (such as ``3.1.2``). diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake deleted file mode 100644 index e60ffe0..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake +++ /dev/null @@ -1,34 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - - -# Do NOT include this module directly into any of your code. It is meant as -# a library for Check*CompilerFlag.cmake modules. It's content may change in -# any way between releases. - -macro (CHECK_COMPILER_FLAG_COMMON_PATTERNS _VAR) - set(${_VAR} - FAIL_REGEX "[Uu]nrecogni[sz]ed .*option" # GNU, NAG - FAIL_REGEX "unknown .*option" # Clang - FAIL_REGEX "optimization flag .* not supported" # Clang - FAIL_REGEX "unknown argument ignored" # Clang (cl) - FAIL_REGEX "ignoring unknown option" # MSVC, Intel - FAIL_REGEX "warning D9002" # MSVC, any lang - FAIL_REGEX "option.*not supported" # Intel - FAIL_REGEX "invalid argument .*option" # Intel - FAIL_REGEX "ignoring option .*argument required" # Intel - FAIL_REGEX "ignoring option .*argument is of wrong type" # Intel - FAIL_REGEX "[Uu]nknown option" # HP - FAIL_REGEX "[Ww]arning: [Oo]ption" # SunPro - FAIL_REGEX "command option .* is not recognized" # XL - FAIL_REGEX "command option .* contains an incorrect subargument" # XL - FAIL_REGEX "Option .* is not recognized. Option will be ignored." # XL - FAIL_REGEX "not supported in this configuration. ignored" # AIX - FAIL_REGEX "File with unknown suffix passed to linker" # PGI - FAIL_REGEX "[Uu]nknown switch" # PGI - FAIL_REGEX "WARNING: unknown flag:" # Open64 - FAIL_REGEX "Incorrect command line option:" # Borland - FAIL_REGEX "Warning: illegal option" # SunStudio 12 - FAIL_REGEX "[Ww]arning: Invalid suboption" # Fujitsu - ) -endmacro () diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakeDetermineSwiftCompiler.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakeDetermineSwiftCompiler.cmake deleted file mode 100644 index dd02d54..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakeDetermineSwiftCompiler.cmake +++ /dev/null @@ -1,45 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - - -include(${CMAKE_ROOT}/Modules/CMakeDetermineCompiler.cmake) - -if("${CMAKE_GENERATOR}" STREQUAL "Xcode") - if(XCODE_VERSION VERSION_LESS 6.1) - message(FATAL_ERROR "Swift language not supported by Xcode ${XCODE_VERSION}") - endif() - set(CMAKE_Swift_COMPILER_XCODE_TYPE sourcecode.swift) - _cmake_find_compiler_path(Swift) -else() - message(FATAL_ERROR "Swift language not supported by \"${CMAKE_GENERATOR}\" generator") -endif() - -# Build a small source file to identify the compiler. -if(NOT CMAKE_Swift_COMPILER_ID_RUN) - set(CMAKE_Swift_COMPILER_ID_RUN 1) - - list(APPEND CMAKE_Swift_COMPILER_ID_MATCH_VENDORS Apple) - set(CMAKE_Swift_COMPILER_ID_MATCH_VENDOR_REGEX_Apple "com.apple.xcode.tools.swift.compiler") - - set(CMAKE_Swift_COMPILER_ID_TOOL_MATCH_REGEX "\nCompileSwiftSources[^\n]*(\n[ \t]+[^\n]*)*\n[ \t]+([^ \t\r\n]+)[^\r\n]* -c[^\r\n]*CompilerIdSwift/CompilerId/main.swift") - set(CMAKE_Swift_COMPILER_ID_TOOL_MATCH_INDEX 2) - - # Try to identify the compiler. - set(CMAKE_Swift_COMPILER_ID) - include(${CMAKE_ROOT}/Modules/CMakeDetermineCompilerId.cmake) - CMAKE_DETERMINE_COMPILER_ID(Swift "" CompilerId/main.swift) -endif() - -if (NOT _CMAKE_TOOLCHAIN_LOCATION) - get_filename_component(_CMAKE_TOOLCHAIN_LOCATION "${CMAKE_Swift_COMPILER}" PATH) -endif () - -set(_CMAKE_PROCESSING_LANGUAGE "Swift") -include(CMakeFindBinUtils) -unset(_CMAKE_PROCESSING_LANGUAGE) - -# configure variables set in this file for fast reload later on -configure_file(${CMAKE_ROOT}/Modules/CMakeSwiftCompiler.cmake.in - ${CMAKE_PLATFORM_INFO_DIR}/CMakeSwiftCompiler.cmake - @ONLY - ) diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakeExpandImportedTargets.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakeExpandImportedTargets.cmake deleted file mode 100644 index ae26cc2..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakeExpandImportedTargets.cmake +++ /dev/null @@ -1,149 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - -#[=======================================================================[.rst: -CMakeExpandImportedTargets --------------------------- - -.. deprecated:: 3.4 - - Do not use. - -This module was once needed to expand imported targets to the underlying -libraries they reference on disk for use with the :command:`try_compile` -and :command:`try_run` commands. These commands now support imported -libraries in their ``LINK_LIBRARIES`` options (since CMake 2.8.11 -for :command:`try_compile` and since CMake 3.2 for :command:`try_run`). - -This module does not support the policy :policy:`CMP0022` ``NEW`` -behavior or use of the :prop_tgt:`INTERFACE_LINK_LIBRARIES` property -because :manual:`generator expressions ` -cannot be evaluated during configuration. - -:: - - CMAKE_EXPAND_IMPORTED_TARGETS( LIBRARIES lib1 lib2...libN - [CONFIGURATION ]) - -CMAKE_EXPAND_IMPORTED_TARGETS() takes a list of libraries and replaces -all imported targets contained in this list with their actual file -paths of the referenced libraries on disk, including the libraries -from their link interfaces. If a CONFIGURATION is given, it uses the -respective configuration of the imported targets if it exists. If no -CONFIGURATION is given, it uses the first configuration from -${CMAKE_CONFIGURATION_TYPES} if set, otherwise ${CMAKE_BUILD_TYPE}. - -:: - - cmake_expand_imported_targets(expandedLibs - LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} - CONFIGURATION "${CMAKE_TRY_COMPILE_CONFIGURATION}" ) -#]=======================================================================] - -function(CMAKE_EXPAND_IMPORTED_TARGETS _RESULT ) - - set(options ) - set(oneValueArgs CONFIGURATION ) - set(multiValueArgs LIBRARIES ) - - cmake_parse_arguments(CEIT "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) - - if(CEIT_UNPARSED_ARGUMENTS) - message(FATAL_ERROR "Unknown keywords given to CMAKE_EXPAND_IMPORTED_TARGETS(): \"${CEIT_UNPARSED_ARGUMENTS}\"") - endif() - - if(NOT CEIT_CONFIGURATION) - # Would be better to test GENERATOR_IS_MULTI_CONFIG global property, - # but the documented behavior specifically says we check - # CMAKE_CONFIGURATION_TYPES and fall back to CMAKE_BUILD_TYPE if no - # config types are defined. - if(CMAKE_CONFIGURATION_TYPES) - list(GET CMAKE_CONFIGURATION_TYPES 0 CEIT_CONFIGURATION) - else() - set(CEIT_CONFIGURATION ${CMAKE_BUILD_TYPE}) - endif() - endif() - - # handle imported library targets - - set(_CCSR_REQ_LIBS ${CEIT_LIBRARIES}) - - set(_CHECK_FOR_IMPORTED_TARGETS TRUE) - set(_CCSR_LOOP_COUNTER 0) - while(_CHECK_FOR_IMPORTED_TARGETS) - math(EXPR _CCSR_LOOP_COUNTER "${_CCSR_LOOP_COUNTER} + 1 ") - set(_CCSR_NEW_REQ_LIBS ) - set(_CHECK_FOR_IMPORTED_TARGETS FALSE) - foreach(_CURRENT_LIB ${_CCSR_REQ_LIBS}) - if(TARGET "${_CURRENT_LIB}") - get_target_property(_importedConfigs "${_CURRENT_LIB}" IMPORTED_CONFIGURATIONS) - else() - set(_importedConfigs "") - endif() - if (_importedConfigs) -# message(STATUS "Detected imported target ${_CURRENT_LIB}") - # Ok, so this is an imported target. - # First we get the imported configurations. - # Then we get the location of the actual library on disk of the first configuration. - # then we'll get its link interface libraries property, - # iterate through it and replace all imported targets we find there - # with there actual location. - - # guard against infinite loop: abort after 100 iterations ( 100 is arbitrary chosen) - if ("${_CCSR_LOOP_COUNTER}" LESS 100) - set(_CHECK_FOR_IMPORTED_TARGETS TRUE) -# else () -# message(STATUS "********* aborting loop, counter : ${_CCSR_LOOP_COUNTER}") - endif () - - # if one of the imported configurations equals ${CMAKE_TRY_COMPILE_CONFIGURATION}, - # use it, otherwise simply use the first one: - list(FIND _importedConfigs "${CEIT_CONFIGURATION}" _configIndexToUse) - if("${_configIndexToUse}" EQUAL -1) - set(_configIndexToUse 0) - endif() - list(GET _importedConfigs ${_configIndexToUse} _importedConfigToUse) - - get_target_property(_importedLocation "${_CURRENT_LIB}" IMPORTED_LOCATION_${_importedConfigToUse}) - get_target_property(_linkInterfaceLibs "${_CURRENT_LIB}" IMPORTED_LINK_INTERFACE_LIBRARIES_${_importedConfigToUse} ) - - list(APPEND _CCSR_NEW_REQ_LIBS "${_importedLocation}") -# message(STATUS "Appending lib ${_CURRENT_LIB} as ${_importedLocation}") - if(_linkInterfaceLibs) - foreach(_currentLinkInterfaceLib ${_linkInterfaceLibs}) -# message(STATUS "Appending link interface lib ${_currentLinkInterfaceLib}") - if(_currentLinkInterfaceLib) - list(APPEND _CCSR_NEW_REQ_LIBS "${_currentLinkInterfaceLib}" ) - endif() - endforeach() - endif() - else() - # "Normal" libraries are just used as they are. - list(APPEND _CCSR_NEW_REQ_LIBS "${_CURRENT_LIB}" ) -# message(STATUS "Appending lib directly: ${_CURRENT_LIB}") - endif() - endforeach() - - set(_CCSR_REQ_LIBS ${_CCSR_NEW_REQ_LIBS} ) - endwhile() - - # Finally we iterate once more over all libraries. This loop only removes - # all remaining imported target names (there shouldn't be any left anyway). - set(_CCSR_NEW_REQ_LIBS ) - foreach(_CURRENT_LIB ${_CCSR_REQ_LIBS}) - if(TARGET "${_CURRENT_LIB}") - get_target_property(_importedConfigs "${_CURRENT_LIB}" IMPORTED_CONFIGURATIONS) - else() - set(_importedConfigs "") - endif() - if (NOT _importedConfigs) - list(APPEND _CCSR_NEW_REQ_LIBS "${_CURRENT_LIB}" ) -# message(STATUS "final: appending ${_CURRENT_LIB}") - else () -# message(STATUS "final: skipping ${_CURRENT_LIB}") - endif () - endforeach() -# message(STATUS "setting -${_RESULT}- to -${_CCSR_NEW_REQ_LIBS}-") - set(${_RESULT} "${_CCSR_NEW_REQ_LIBS}" PARENT_SCOPE) - -endfunction() diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakePushCheckState.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakePushCheckState.cmake deleted file mode 100644 index f6bfc12..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakePushCheckState.cmake +++ /dev/null @@ -1,91 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - -#[=======================================================================[.rst: -CMakePushCheckState -------------------- - - - -This module defines three macros: ``CMAKE_PUSH_CHECK_STATE()`` -``CMAKE_POP_CHECK_STATE()`` and ``CMAKE_RESET_CHECK_STATE()`` These macros can -be used to save, restore and reset (i.e., clear contents) the state of -the variables ``CMAKE_REQUIRED_FLAGS``, ``CMAKE_REQUIRED_DEFINITIONS``, -``CMAKE_REQUIRED_LINK_OPTIONS``, ``CMAKE_REQUIRED_LIBRARIES``, -``CMAKE_REQUIRED_INCLUDES`` and ``CMAKE_EXTRA_INCLUDE_FILES`` used by the -various Check-files coming with CMake, like e.g. ``check_function_exists()`` -etc. -The variable contents are pushed on a stack, pushing multiple times is -supported. This is useful e.g. when executing such tests in a Find-module, -where they have to be set, but after the Find-module has been executed they -should have the same value as they had before. - -``CMAKE_PUSH_CHECK_STATE()`` macro receives optional argument ``RESET``. -Whether it's specified, ``CMAKE_PUSH_CHECK_STATE()`` will set all -``CMAKE_REQUIRED_*`` variables to empty values, same as -``CMAKE_RESET_CHECK_STATE()`` call will do. - -Usage: - -.. code-block:: cmake - - cmake_push_check_state(RESET) - set(CMAKE_REQUIRED_DEFINITIONS -DSOME_MORE_DEF) - check_function_exists(...) - cmake_reset_check_state() - set(CMAKE_REQUIRED_DEFINITIONS -DANOTHER_DEF) - check_function_exists(...) - cmake_pop_check_state() -#]=======================================================================] - -macro(CMAKE_RESET_CHECK_STATE) - - set(CMAKE_EXTRA_INCLUDE_FILES) - set(CMAKE_REQUIRED_INCLUDES) - set(CMAKE_REQUIRED_DEFINITIONS) - set(CMAKE_REQUIRED_LINK_OPTIONS) - set(CMAKE_REQUIRED_LIBRARIES) - set(CMAKE_REQUIRED_FLAGS) - set(CMAKE_REQUIRED_QUIET) - -endmacro() - -macro(CMAKE_PUSH_CHECK_STATE) - - if(NOT DEFINED _CMAKE_PUSH_CHECK_STATE_COUNTER) - set(_CMAKE_PUSH_CHECK_STATE_COUNTER 0) - endif() - - math(EXPR _CMAKE_PUSH_CHECK_STATE_COUNTER "${_CMAKE_PUSH_CHECK_STATE_COUNTER}+1") - - set(_CMAKE_EXTRA_INCLUDE_FILES_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER} ${CMAKE_EXTRA_INCLUDE_FILES}) - set(_CMAKE_REQUIRED_INCLUDES_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER} ${CMAKE_REQUIRED_INCLUDES}) - set(_CMAKE_REQUIRED_DEFINITIONS_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER} ${CMAKE_REQUIRED_DEFINITIONS}) - set(_CMAKE_REQUIRED_LINK_OPTIONS_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER} ${CMAKE_REQUIRED_LINK_OPTIONS}) - set(_CMAKE_REQUIRED_LIBRARIES_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER} ${CMAKE_REQUIRED_LIBRARIES}) - set(_CMAKE_REQUIRED_FLAGS_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER} ${CMAKE_REQUIRED_FLAGS}) - set(_CMAKE_REQUIRED_QUIET_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER} ${CMAKE_REQUIRED_QUIET}) - - if (${ARGC} GREATER 0 AND "${ARGV0}" STREQUAL "RESET") - cmake_reset_check_state() - endif() - -endmacro() - -macro(CMAKE_POP_CHECK_STATE) - -# don't pop more than we pushed - if("${_CMAKE_PUSH_CHECK_STATE_COUNTER}" GREATER "0") - - set(CMAKE_EXTRA_INCLUDE_FILES ${_CMAKE_EXTRA_INCLUDE_FILES_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER}}) - set(CMAKE_REQUIRED_INCLUDES ${_CMAKE_REQUIRED_INCLUDES_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER}}) - set(CMAKE_REQUIRED_DEFINITIONS ${_CMAKE_REQUIRED_DEFINITIONS_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER}}) - set(CMAKE_REQUIRED_LINK_OPTIONS ${_CMAKE_REQUIRED_LINK_OPTIONS_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER}}) - set(CMAKE_REQUIRED_LIBRARIES ${_CMAKE_REQUIRED_LIBRARIES_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER}}) - set(CMAKE_REQUIRED_FLAGS ${_CMAKE_REQUIRED_FLAGS_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER}}) - set(CMAKE_REQUIRED_QUIET ${_CMAKE_REQUIRED_QUIET_SAVE_${_CMAKE_PUSH_CHECK_STATE_COUNTER}}) - - math(EXPR _CMAKE_PUSH_CHECK_STATE_COUNTER "${_CMAKE_PUSH_CHECK_STATE_COUNTER}-1") - endif() - -endmacro() diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakeSwiftCompiler.cmake.in b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakeSwiftCompiler.cmake.in deleted file mode 100644 index 45f0a31..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakeSwiftCompiler.cmake.in +++ /dev/null @@ -1,5 +0,0 @@ -set(CMAKE_Swift_COMPILER "@CMAKE_Swift_COMPILER@") -set(CMAKE_Swift_COMPILER_ID "@CMAKE_Swift_COMPILER_ID@") - -set(CMAKE_Swift_COMPILER_ID_RUN 1) -set(CMAKE_Swift_SOURCE_FILE_EXTENSIONS swift) diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakeSwiftInformation.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakeSwiftInformation.cmake deleted file mode 100644 index 07ba6d0..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/CMakeSwiftInformation.cmake +++ /dev/null @@ -1,32 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - - -set(CMAKE_Swift_OUTPUT_EXTENSION .o) -set(CMAKE_INCLUDE_FLAG_Swift "-I") - -# Load compiler-specific information. -if(CMAKE_Swift_COMPILER_ID) - include(Compiler/${CMAKE_Swift_COMPILER_ID}-Swift OPTIONAL) -endif() - -# load the system- and compiler specific files -if(CMAKE_Swift_COMPILER_ID) - # load a hardware specific file, mostly useful for embedded compilers - if(CMAKE_SYSTEM_PROCESSOR) - include(Platform/${CMAKE_EFFECTIVE_SYSTEM_NAME}-${CMAKE_Swift_COMPILER_ID}-Swift-${CMAKE_SYSTEM_PROCESSOR} OPTIONAL) - endif() - include(Platform/${CMAKE_EFFECTIVE_SYSTEM_NAME}-${CMAKE_Swift_COMPILER_ID}-Swift OPTIONAL) -endif() - -# for most systems a module is the same as a shared library -# so unless the variable CMAKE_MODULE_EXISTS is set just -# copy the values from the LIBRARY variables -if(NOT CMAKE_MODULE_EXISTS) - set(CMAKE_SHARED_MODULE_Swift_FLAGS ${CMAKE_SHARED_LIBRARY_Swift_FLAGS}) - set(CMAKE_SHARED_MODULE_CREATE_Swift_FLAGS ${CMAKE_SHARED_LIBRARY_CREATE_Swift_FLAGS}) -endif() - -include(CMakeCommonLanguageInclude) - -set(CMAKE_Swift_INFORMATION_LOADED 1) diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/CrayPrgEnv.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/CrayPrgEnv.cmake deleted file mode 100644 index 6c1c770..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/CrayPrgEnv.cmake +++ /dev/null @@ -1,37 +0,0 @@ -# Guard against multiple inclusions -if(__craylinux_crayprgenv) - return() -endif() -set(__craylinux_crayprgenv 1) - -macro(__CrayPrgEnv_setup lang) - if(DEFINED ENV{CRAYPE_VERSION}) - message(STATUS "Cray Programming Environment $ENV{CRAYPE_VERSION} ${lang}") - elseif(DEFINED ENV{ASYNCPE_VERSION}) - message(STATUS "Cray XT Programming Environment $ENV{ASYNCPE_VERSION} ${lang}") - else() - message(STATUS "Cray Programming Environment (unknown version) ${lang}") - endif() - - # Flags for the Cray wrappers - set(CMAKE_STATIC_LIBRARY_LINK_${lang}_FLAGS "-static") - set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-shared") - 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 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 - if(NOT (((CMAKE_${lang}_FLAGS MATCHES "(^| )-dynamic($| )") OR - (CMAKE_EXE_LINKER_FLAGS MATCHES "(^| )-dynamic($| )")) - OR - (("$ENV{CRAYPE_LINK_TYPE}" STREQUAL "dynamic") AND - NOT ((CMAKE_${lang}_FLAGS MATCHES "(^| )-static($| )") OR - (CMAKE_EXE_LINKER_FLAGS MATCHES "(^| )-static($| )"))))) - set_property(GLOBAL PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE) - set(BUILD_SHARED_LIBS FALSE CACHE BOOL "") - set(CMAKE_FIND_LIBRARY_SUFFIXES ".a") - set(CMAKE_LINK_SEARCH_START_STATIC TRUE) - endif() -endmacro() diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IAR-ASM.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IAR-ASM.cmake deleted file mode 100644 index e12bfd1..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IAR-ASM.cmake +++ /dev/null @@ -1,23 +0,0 @@ -# This file is processed when the IAR compiler is used for an assembler file - -include(Compiler/IAR) - -if("${CMAKE_ASM${ASM_DIALECT}_COMPILER_ARCHITECTURE_ID}" STREQUAL "ARM") -set(CMAKE_ASM_COMPILE_OBJECT " -S -o ") - __compiler_iar_ARM(ASM) - set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;asm;msa) - - string(APPEND CMAKE_ASM_FLAGS_INIT " ") - string(APPEND CMAKE_ASM_FLAGS_DEBUG_INIT " -r") - string(APPEND CMAKE_ASM_FLAGS_MINSIZEREL_INIT " -DNDEBUG") - string(APPEND CMAKE_ASM_FLAGS_RELEASE_INIT " -DNDEBUG") - string(APPEND CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT " -r -DNDEBUG") - -elseif("${CMAKE_ASM${ASM_DIALECT}_COMPILER_ARCHITECTURE_ID}" STREQUAL "AVR") - set(CMAKE_ASM_COMPILE_OBJECT " -S -o ") - __compiler_iar_AVR(ASM) - set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s90;asm;msa) - -else() - message(FATAL_ERROR "CMAKE_ASM${ASM_DIALECT}_COMPILER_ARCHITECTURE_ID not detected as \"AVR\" or \"ARM\". This should be automatic.") -endif() diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IAR-C.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IAR-C.cmake deleted file mode 100644 index b5e61f0..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IAR-C.cmake +++ /dev/null @@ -1,62 +0,0 @@ -# This file is processed when the IAR compiler is used for a C file - -include(Compiler/IAR) -include(Compiler/CMakeCommonCompilerMacros) - -# The toolchains for ARM and AVR are quite different: -if("${CMAKE_C_COMPILER_ARCHITECTURE_ID}" STREQUAL "ARM") - if(NOT CMAKE_C_COMPILER_VERSION) - message(FATAL_ERROR "CMAKE_C_COMPILER_VERSION not detected. This should be automatic.") - endif() - - set(CMAKE_C_EXTENSION_COMPILE_OPTION -e) - - set(CMAKE_C90_STANDARD_COMPILE_OPTION "") - set(CMAKE_C90_EXTENSION_COMPILE_OPTION -e) - - if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 6.10) - set(CMAKE_C90_STANDARD_COMPILE_OPTION --c89) - set(CMAKE_C90_EXTENSION_COMPILE_OPTION --c89 -e) - set(CMAKE_C99_STANDARD_COMPILE_OPTION "") - set(CMAKE_C99_EXTENSION_COMPILE_OPTION -e) - endif() - if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 8.10) - set(CMAKE_C11_STANDARD_COMPILE_OPTION "") - set(CMAKE_C11_EXTENSION_COMPILE_OPTION -e) - endif() - - __compiler_iar_ARM(C) - __compiler_check_default_language_standard(C 1.10 90 6.10 99 8.10 11) - -elseif("${CMAKE_C_COMPILER_ARCHITECTURE_ID}" STREQUAL "AVR") - if(NOT CMAKE_C_COMPILER_VERSION) - message(FATAL_ERROR "CMAKE_C_COMPILER_VERSION not detected. This should be automatic.") - endif() - - set(CMAKE_C_EXTENSION_COMPILE_OPTION -e) - - set(CMAKE_C90_STANDARD_COMPILE_OPTION --c89) - set(CMAKE_C90_EXTENSION_COMPILE_OPTION -e) - set(CMAKE_C99_STANDARD_COMPILE_OPTION "") - set(CMAKE_C99_EXTENSION_COMPILE_OPTION -e) - - __compiler_iar_AVR(C) - __compiler_check_default_language_standard(C 7.10 99) - set(CMAKE_C_OUTPUT_EXTENSION ".r90") - - if(NOT CMAKE_C_LINK_FLAGS) - set(CMAKE_C_LINK_FLAGS "-Fmotorola") - endif() - - set(CMAKE_C_LINK_EXECUTABLE " -o ") - set(CMAKE_C_CREATE_STATIC_LIBRARY " -o ") - - # add the target specific include directory: - get_filename_component(_compilerDir "${CMAKE_C_COMPILER}" PATH) - get_filename_component(_compilerDir "${_compilerDir}" PATH) - include_directories("${_compilerDir}/inc" ) - include_directories("${_compilerDir}/inc/Atmel" ) - -else() - message(FATAL_ERROR "CMAKE_C_COMPILER_ARCHITECTURE_ID not detected as \"AVR\" or \"ARM\". This should be automatic.") -endif() diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IAR-CXX.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IAR-CXX.cmake deleted file mode 100644 index b7076f5..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IAR-CXX.cmake +++ /dev/null @@ -1,78 +0,0 @@ -# This file is processed when the IAR compiler is used for a C++ file - -include(Compiler/IAR) -include(Compiler/CMakeCommonCompilerMacros) - -if("${CMAKE_CXX_COMPILER_ARCHITECTURE_ID}" STREQUAL "ARM") - # "(extended) embedded C++" Mode - # old version: --ec++ or --eec++ - # since 8.10: --c++ --no_exceptions --no_rtti - # - # --c++ is full C++ and supported since 6.10 - if(NOT CMAKE_IAR_CXX_FLAG) - if(NOT CMAKE_CXX_COMPILER_VERSION) - message(FATAL_ERROR "CMAKE_CXX_COMPILER_VERSION not detected. This should be automatic.") - endif() - if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 6.10) - set(CMAKE_IAR_CXX_FLAG --c++) - else() - set(CMAKE_IAR_CXX_FLAG --eec++) - endif() - endif() - - set(CMAKE_CXX_EXTENSION_COMPILE_OPTION -e) - - set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "") - set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION -e) - - if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8.10) - set(CMAKE_CXX03_STANDARD_COMPILE_OPTION "") - set(CMAKE_CXX03_EXTENSION_COMPILE_OPTION -e) - set(CMAKE_CXX11_STANDARD_COMPILE_OPTION "") - set(CMAKE_CXX11_EXTENSION_COMPILE_OPTION -e) - set(CMAKE_CXX14_STANDARD_COMPILE_OPTION "") - set(CMAKE_CXX14_EXTENSION_COMPILE_OPTION -e) - endif() - - __compiler_iar_ARM(CXX) - __compiler_check_default_language_standard(CXX 6.10 98 8.10 14) - -elseif("${CMAKE_CXX_COMPILER_ARCHITECTURE_ID}" STREQUAL "AVR") - # "embedded C++" --EC++ is probably closest to CXX98 but with no support for: - # Templates, multiple inheritance, virtual inheritance, exceptions, RTTI, C++ style casts, - # Namespaces, the mutable attribute, no STL, any library features related to the above features. - # - # "(extended) embedded C++" --EEC++ Mode but DOES NOT support any normal C++ standard - # probably closest to CXX98 but with no RTTI and no exceptions, and the library - # provided is not in the standard namespace - if(NOT CMAKE_IAR_CXX_FLAG) - if(NOT CMAKE_CXX_COMPILER_VERSION) - message(FATAL_ERROR "CMAKE_CXX_COMPILER_VERSION not detected. This should be automatic.") - endif() - set(CMAKE_IAR_CXX_FLAG --eec++) - endif() - - set(CMAKE_CXX_EXTENSION_COMPILE_OPTION -e) - set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "") - set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION -e) - - __compiler_iar_AVR(CXX) - __compiler_check_default_language_standard(CXX 7.10 98) - - set(CMAKE_CXX_OUTPUT_EXTENSION ".r90") - if(NOT CMAKE_CXX_LINK_FLAGS) - set(CMAKE_CXX_LINK_FLAGS "-Fmotorola") - endif() - - set(CMAKE_CXX_LINK_EXECUTABLE " -o ") - set(CMAKE_CXX_CREATE_STATIC_LIBRARY " -o ") - - # add the target specific include directory: - get_filename_component(_compilerDir "${CMAKE_C_COMPILER}" PATH) - get_filename_component(_compilerDir "${_compilerDir}" PATH) - include_directories("${_compilerDir}/inc") - include_directories("${_compilerDir}/inc/Atmel") - -else() - message(FATAL_ERROR "CMAKE_CXX_COMPILER_ARCHITECTURE_ID not detected as \"AVR\" or \"ARM\". This should be automatic." ) -endif() diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IAR-FindBinUtils.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IAR-FindBinUtils.cmake deleted file mode 100644 index 5fecb26..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IAR-FindBinUtils.cmake +++ /dev/null @@ -1,54 +0,0 @@ -if(NOT DEFINED _CMAKE_PROCESSING_LANGUAGE OR _CMAKE_PROCESSING_LANGUAGE STREQUAL "") - message(FATAL_ERROR "Internal error: _CMAKE_PROCESSING_LANGUAGE is not set") -endif() - -# Try to find tools in the same directory as Clang itself -get_filename_component(__iar_hint_1 "${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER}" REALPATH) -get_filename_component(__iar_hint_1 "${__iar_hint_1}" DIRECTORY) - -get_filename_component(__iar_hint_2 "${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER}" DIRECTORY) - -set(__iar_hints "${__iar_hint_1}" "${__iar_hint_2}") - -if("${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_ARCHITECTURE_ID}" STREQUAL "ARM") - # could allow using normal binutils ar, since objects are normal ELF files? - find_program(CMAKE_IAR_LINKARM ilinkarm.exe HINTS ${__iar_hints} - DOC "The IAR ARM linker") - find_program(CMAKE_IAR_ARCHIVE iarchive.exe HINTS ${__iar_hints} - DOC "The IAR archiver") - - # find auxiliary tools - find_program(CMAKE_IAR_ELFTOOL ielftool.exe HINTS ${__iar_hints} - DOC "The IAR ELF Tool") - find_program(CMAKE_IAR_ELFDUMP ielfdumparm.exe HINTS ${__iar_hints} - DOC "The IAR ELF Dumper") - find_program(CMAKE_IAR_OBJMANIP iobjmanip.exe HINTS ${__iar_hints} - DOC "The IAR ELF Object Tool") - find_program(CMAKE_IAR_SYMEXPORT isymexport.exe HINTS ${__iar_hints} - DOC "The IAR Absolute Symbol Exporter") - mark_as_advanced(CMAKE_IAR_LINKARM CMAKE_IAR_ARCHIVE CMAKE_IAR_ELFTOOL CMAKE_IAR_ELFDUMP CMAKE_IAR_OBJMANIP CMAKE_IAR_SYMEXPORT) - - set(CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_CUSTOM_CODE -"set(CMAKE_IAR_LINKARM \"${CMAKE_IAR_LINKARM}\") -set(CMAKE_IAR_ARCHIVE \"${CMAKE_IAR_ARCHIVE}\") -set(CMAKE_IAR_ELFTOOL \"${CMAKE_IAR_ELFTOOL}\") -set(CMAKE_IAR_ELFDUMP \"${CMAKE_IAR_ELFDUMP}\") -set(CMAKE_IAR_OBJMANIP \"${CMAKE_IAR_OBJMANIP}\") -set(CMAKE_IAR_LINKARM \"${CMAKE_IAR_LINKARM}\") -") - - -elseif("${CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_ARCHITECTURE_ID}" STREQUAL "AVR") - - # For AVR and AVR32, IAR uses the "xlink" linker and the "xar" archiver: - find_program(CMAKE_IAR_LINKER xlink.exe HINTS ${__iar_hints} - DOC "The IAR AVR linker") - find_program(CMAKE_IAR_AR xar.exe HINTS ${__iar_hints} - DOC "The IAR archiver") - mark_as_advanced(CMAKE_IAR_LINKER CMAKE_IAR_AR) - - set(CMAKE_${_CMAKE_PROCESSING_LANGUAGE}_COMPILER_CUSTOM_CODE -"set(CMAKE_IAR_LINKER \"${CMAKE_IAR_LINKER}\") -set(CMAKE_IAR_AR \"${CMAKE_IAR_AR}\") -") -endif() diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake deleted file mode 100644 index e5b9741..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake +++ /dev/null @@ -1,14 +0,0 @@ - -set(_compiler_id_version_compute " -# if defined(__ibmxl__) -# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__ibmxl_version__) -# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__ibmxl_release__) -# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__ibmxl_modification__) -# define @PREFIX@COMPILER_VERSION_TWEAK @MACRO_DEC@(__ibmxl_ptf_fix_level__) -# else - /* __IBMC__ = VRP */ -# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__IBMC__/100) -# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__IBMC__/10 % 10) -# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__IBMC__ % 10) -# endif -") diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake deleted file mode 100644 index 63c3e32..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake +++ /dev/null @@ -1,14 +0,0 @@ - -set(_compiler_id_version_compute " -# if defined(__ibmxl__) -# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__ibmxl_version__) -# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__ibmxl_release__) -# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__ibmxl_modification__) -# define @PREFIX@COMPILER_VERSION_TWEAK @MACRO_DEC@(__ibmxl_ptf_fix_level__) -# else - /* __IBMCPP__ = VRP */ -# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(__IBMCPP__/100) -# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(__IBMCPP__/10 % 10) -# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(__IBMCPP__ % 10) -# endif -") diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/MIPSpro-C.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/MIPSpro-C.cmake deleted file mode 100644 index 675560c..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/MIPSpro-C.cmake +++ /dev/null @@ -1 +0,0 @@ -set(CMAKE_C_VERBOSE_FLAG "-v") diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/MIPSpro-CXX.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/MIPSpro-CXX.cmake deleted file mode 100644 index 9fb191c..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/MIPSpro-CXX.cmake +++ /dev/null @@ -1 +0,0 @@ -set(CMAKE_CXX_VERBOSE_FLAG "-v") diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/MIPSpro-DetermineCompiler.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/MIPSpro-DetermineCompiler.cmake deleted file mode 100644 index 9e48553..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/MIPSpro-DetermineCompiler.cmake +++ /dev/null @@ -1,15 +0,0 @@ - -set(_compiler_id_pp_test "defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)") - -set(_compiler_id_version_compute " -# if defined(_SGI_COMPILER_VERSION) - /* _SGI_COMPILER_VERSION = VRP */ -# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(_SGI_COMPILER_VERSION/100) -# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(_SGI_COMPILER_VERSION/10 % 10) -# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(_SGI_COMPILER_VERSION % 10) -# else - /* _COMPILER_VERSION = VRP */ -# define @PREFIX@COMPILER_VERSION_MAJOR @MACRO_DEC@(_COMPILER_VERSION/100) -# define @PREFIX@COMPILER_VERSION_MINOR @MACRO_DEC@(_COMPILER_VERSION/10 % 10) -# define @PREFIX@COMPILER_VERSION_PATCH @MACRO_DEC@(_COMPILER_VERSION % 10) -# endif") diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/MIPSpro-Fortran.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/MIPSpro-Fortran.cmake deleted file mode 100644 index ffceea8..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/MIPSpro-Fortran.cmake +++ /dev/null @@ -1,3 +0,0 @@ -set(CMAKE_Fortran_VERBOSE_FLAG "-v") -set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixedform") -set(CMAKE_Fortran_FORMAT_FREE_FLAG "-freeform") diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/MSVC-C.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/MSVC-C.cmake deleted file mode 100644 index 22c34f8..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/MSVC-C.cmake +++ /dev/null @@ -1,25 +0,0 @@ -# MSVC has no specific options to set C language standards, but set them as -# empty strings anyways so the feature test infrastructure can at least check -# to see if they are defined. -set(CMAKE_C90_STANDARD_COMPILE_OPTION "") -set(CMAKE_C90_EXTENSION_COMPILE_OPTION "") -set(CMAKE_C99_STANDARD_COMPILE_OPTION "") -set(CMAKE_C99_EXTENSION_COMPILE_OPTION "") -set(CMAKE_C11_STANDARD_COMPILE_OPTION "") -set(CMAKE_C11_EXTENSION_COMPILE_OPTION "") - -# There is no meaningful default for this -set(CMAKE_C_STANDARD_DEFAULT "") - -# There are no C compiler modes so we only need to test features once. -# Override the default macro for this special case. Pretend that -# all language standards are available so that at least compilation -# can be attempted. -macro(cmake_record_c_compile_features) - list(APPEND CMAKE_C_COMPILE_FEATURES - c_std_90 - c_std_99 - c_std_11 - ) - _record_compiler_features(C "" CMAKE_C_COMPILE_FEATURES) -endmacro() diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/XL-C-DetermineCompiler.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/XL-C-DetermineCompiler.cmake deleted file mode 100644 index 484811e..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/XL-C-DetermineCompiler.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -set(_compiler_id_pp_test "defined(__ibmxl__) || (defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800)") - -include("${CMAKE_CURRENT_LIST_DIR}/IBMCPP-C-DetermineVersionInternal.cmake") diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/XL-C.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/XL-C.cmake deleted file mode 100644 index 5dc8bc1..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/XL-C.cmake +++ /dev/null @@ -1,41 +0,0 @@ -include(Compiler/XL) -__compiler_xl(C) -string(APPEND CMAKE_C_FLAGS_RELEASE_INIT " -DNDEBUG") -string(APPEND CMAKE_C_FLAGS_MINSIZEREL_INIT " -DNDEBUG") - -# -qthreaded = Ensures that all optimizations will be thread-safe -string(APPEND CMAKE_C_FLAGS_INIT " -qthreaded") - -# XL v13.1.1 for Linux ppc64 little-endian switched to using a clang based -# front end and accepts the -std= option while only reserving -qlanglevel= for -# compatibility. All other versions (previous versions on Linux ppc64 -# little-endian, all versions on Linux ppc64 big-endian, all versions on AIX -# and BGQ, etc) are derived from the UNIX compiler and only accept the -# -qlanglvl option. -if (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 10.1) - if (CMAKE_SYSTEM MATCHES "Linux.*ppc64le" AND - CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 13.1.1) - set(CMAKE_C90_STANDARD_COMPILE_OPTION "-std=c89") - set(CMAKE_C90_EXTENSION_COMPILE_OPTION "-std=gnu89") - set(CMAKE_C99_STANDARD_COMPILE_OPTION "-std=c99") - set(CMAKE_C99_EXTENSION_COMPILE_OPTION "-std=gnu99") - if (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 13.1.2) - set(CMAKE_C11_STANDARD_COMPILE_OPTION "-std=c11") - set(CMAKE_C11_EXTENSION_COMPILE_OPTION "-std=gnu11") - else () - set(CMAKE_C11_STANDARD_COMPILE_OPTION "-qlanglvl=extc1x") - set(CMAKE_C11_EXTENSION_COMPILE_OPTION "-qlanglvl=extc1x") - endif () - else () - set(CMAKE_C90_STANDARD_COMPILE_OPTION "-qlanglvl=stdc89") - set(CMAKE_C90_EXTENSION_COMPILE_OPTION "-qlanglvl=extc89") - set(CMAKE_C99_STANDARD_COMPILE_OPTION "-qlanglvl=stdc99") - set(CMAKE_C99_EXTENSION_COMPILE_OPTION "-qlanglvl=extc99") - if (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 12.1) - set(CMAKE_C11_STANDARD_COMPILE_OPTION "-qlanglvl=extc1x") - set(CMAKE_C11_EXTENSION_COMPILE_OPTION "-qlanglvl=extc1x") - endif () - endif () -endif() - -__compiler_check_default_language_standard(C 10.1 90) diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/XL-CXX-DetermineCompiler.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/XL-CXX-DetermineCompiler.cmake deleted file mode 100644 index 2bf1ec6..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/XL-CXX-DetermineCompiler.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -set(_compiler_id_pp_test "defined(__ibmxl__) || (defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800)") - -include("${CMAKE_CURRENT_LIST_DIR}/IBMCPP-CXX-DetermineVersionInternal.cmake") diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/XL-CXX.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/XL-CXX.cmake deleted file mode 100644 index b87e923..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Compiler/XL-CXX.cmake +++ /dev/null @@ -1,49 +0,0 @@ -include(Compiler/XL) -__compiler_xl(CXX) -string(APPEND CMAKE_CXX_FLAGS_RELEASE_INIT " -DNDEBUG") -string(APPEND CMAKE_CXX_FLAGS_MINSIZEREL_INIT " -DNDEBUG") - -# -qthreaded = Ensures that all optimizations will be thread-safe -string(APPEND CMAKE_CXX_FLAGS_INIT " -qthreaded") - -# XL v13.1.1 for Linux ppc64 little-endian switched to using a clang based -# front end and accepts the -std= option while only reserving -qlanglevel= for -# compatibility. All other versions (previous versions on Linux ppc64 -# little-endian, all versions on Linux ppc64 big-endian, all versions on AIX -# and BGQ, etc) are derived from the UNIX compiler and only accept the -# -qlanglvl option. -if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 10.1) - if (CMAKE_SYSTEM MATCHES "Linux.*ppc64") - if (CMAKE_SYSTEM MATCHES "Linux.*ppc64le" AND - CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 13.1.1) - set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "-std=c++98") - set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION "-std=gnu++98") - if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 13.1.2) - set(CMAKE_CXX11_STANDARD_COMPILE_OPTION "-std=c++11") - set(CMAKE_CXX11_EXTENSION_COMPILE_OPTION "-std=gnu++11") - set(CMAKE_CXX14_STANDARD_COMPILE_OPTION "-std=c++1y") - set(CMAKE_CXX14_EXTENSION_COMPILE_OPTION "-qlanglvl=extended1y") - else () - set(CMAKE_CXX11_STANDARD_COMPILE_OPTION "-qlanglvl=extended0x") - set(CMAKE_CXX11_EXTENSION_COMPILE_OPTION "-qlanglvl=extended0x") - endif () - else () - # The non-clang based Linux ppc64 compiler, both big-endian and - # little-endian lacks, the non-extension language level flags - set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "-qlanglvl=extended") - set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION "-qlanglvl=extended") - set(CMAKE_CXX11_STANDARD_COMPILE_OPTION "-qlanglvl=extended0x") - set(CMAKE_CXX11_EXTENSION_COMPILE_OPTION "-qlanglvl=extended0x") - endif () - else () - set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "-qlanglvl=strict98") - set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION "-qlanglvl=extended") - set(CMAKE_CXX11_STANDARD_COMPILE_OPTION "-qlanglvl=extended0x") - set(CMAKE_CXX11_EXTENSION_COMPILE_OPTION "-qlanglvl=extended0x") - endif () -endif () - -__compiler_check_default_language_standard(CXX 10.1 98) - -set(CMAKE_CXX_COMPILE_OBJECT - " -+ -o -c ") diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindGLEW.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindGLEW.cmake deleted file mode 100644 index ad8a810..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindGLEW.cmake +++ /dev/null @@ -1,70 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - -#[=======================================================================[.rst: -FindGLEW --------- - -Find the OpenGL Extension Wrangler Library (GLEW) - -IMPORTED Targets -^^^^^^^^^^^^^^^^ - -This module defines the :prop_tgt:`IMPORTED` target ``GLEW::GLEW``, -if GLEW has been found. - -Result Variables -^^^^^^^^^^^^^^^^ - -This module defines the following variables: - -:: - - GLEW_INCLUDE_DIRS - include directories for GLEW - GLEW_LIBRARIES - libraries to link against GLEW - GLEW_FOUND - true if GLEW has been found and can be used -#]=======================================================================] - -find_path(GLEW_INCLUDE_DIR GL/glew.h) - -if(NOT GLEW_LIBRARY) - find_library(GLEW_LIBRARY_RELEASE NAMES GLEW glew32 glew glew32s PATH_SUFFIXES lib64 libx32) - find_library(GLEW_LIBRARY_DEBUG NAMES GLEWd glew32d glewd PATH_SUFFIXES lib64) - - include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) - select_library_configurations(GLEW) -endif () - -include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) -find_package_handle_standard_args(GLEW - REQUIRED_VARS GLEW_INCLUDE_DIR GLEW_LIBRARY) - -if(GLEW_FOUND) - set(GLEW_INCLUDE_DIRS ${GLEW_INCLUDE_DIR}) - - if(NOT GLEW_LIBRARIES) - set(GLEW_LIBRARIES ${GLEW_LIBRARY}) - endif() - - if (NOT TARGET GLEW::GLEW) - add_library(GLEW::GLEW UNKNOWN IMPORTED) - set_target_properties(GLEW::GLEW PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${GLEW_INCLUDE_DIRS}") - - if(GLEW_LIBRARY_RELEASE) - set_property(TARGET GLEW::GLEW APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) - set_target_properties(GLEW::GLEW PROPERTIES IMPORTED_LOCATION_RELEASE "${GLEW_LIBRARY_RELEASE}") - endif() - - if(GLEW_LIBRARY_DEBUG) - set_property(TARGET GLEW::GLEW APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG) - set_target_properties(GLEW::GLEW PROPERTIES IMPORTED_LOCATION_DEBUG "${GLEW_LIBRARY_DEBUG}") - endif() - - if(NOT GLEW_LIBRARY_RELEASE AND NOT GLEW_LIBRARY_DEBUG) - set_property(TARGET GLEW::GLEW APPEND PROPERTY IMPORTED_LOCATION "${GLEW_LIBRARY}") - endif() - endif() -endif() - -mark_as_advanced(GLEW_INCLUDE_DIR) diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindGettext.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindGettext.cmake deleted file mode 100644 index 9e29e8d..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindGettext.cmake +++ /dev/null @@ -1,232 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - -#[=======================================================================[.rst: -FindGettext ------------ - -Find GNU gettext tools - -This module looks for the GNU gettext tools. This module defines the -following values: - -:: - - GETTEXT_MSGMERGE_EXECUTABLE: the full path to the msgmerge tool. - GETTEXT_MSGFMT_EXECUTABLE: the full path to the msgfmt tool. - GETTEXT_FOUND: True if gettext has been found. - GETTEXT_VERSION_STRING: the version of gettext found (since CMake 2.8.8) - - - -Additionally it provides the following macros: - -GETTEXT_CREATE_TRANSLATIONS ( outputFile [ALL] file1 ... fileN ) - -:: - - This will create a target "translations" which will convert the - given input po files into the binary output mo file. If the - ALL option is used, the translations will also be created when - building the default target. - -GETTEXT_PROCESS_POT_FILE( [ALL] [INSTALL_DESTINATION ] -LANGUAGES ... ) - -:: - - Process the given pot file to mo files. - If INSTALL_DESTINATION is given then automatically install rules will - be created, the language subdirectory will be taken into account - (by default use share/locale/). - If ALL is specified, the pot file is processed when building the all traget. - It creates a custom target "potfile". - -GETTEXT_PROCESS_PO_FILES( [ALL] [INSTALL_DESTINATION ] -PO_FILES ... ) - -:: - - Process the given po files to mo files for the given language. - If INSTALL_DESTINATION is given then automatically install rules will - be created, the language subdirectory will be taken into account - (by default use share/locale/). - If ALL is specified, the po files are processed when building the all traget. - It creates a custom target "pofiles". - -.. note:: - If you wish to use the Gettext library (libintl), use :module:`FindIntl`. -#]=======================================================================] - -find_program(GETTEXT_MSGMERGE_EXECUTABLE msgmerge) - -find_program(GETTEXT_MSGFMT_EXECUTABLE msgfmt) - -if(GETTEXT_MSGMERGE_EXECUTABLE) - execute_process(COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --version - OUTPUT_VARIABLE gettext_version - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE) - get_filename_component(msgmerge_name ${GETTEXT_MSGMERGE_EXECUTABLE} NAME) - get_filename_component(msgmerge_namewe ${GETTEXT_MSGMERGE_EXECUTABLE} NAME_WE) - if (gettext_version MATCHES "^(${msgmerge_name}|${msgmerge_namewe}) \\([^\\)]*\\) ([0-9\\.]+[^ \n]*)") - set(GETTEXT_VERSION_STRING "${CMAKE_MATCH_2}") - endif() - unset(gettext_version) - unset(msgmerge_name) - unset(msgmerge_namewe) -endif() - -include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(Gettext - REQUIRED_VARS GETTEXT_MSGMERGE_EXECUTABLE GETTEXT_MSGFMT_EXECUTABLE - VERSION_VAR GETTEXT_VERSION_STRING) - -function(_GETTEXT_GET_UNIQUE_TARGET_NAME _name _unique_name) - set(propertyName "_GETTEXT_UNIQUE_COUNTER_${_name}") - get_property(currentCounter GLOBAL PROPERTY "${propertyName}") - if(NOT currentCounter) - set(currentCounter 1) - endif() - set(${_unique_name} "${_name}_${currentCounter}" PARENT_SCOPE) - math(EXPR currentCounter "${currentCounter} + 1") - set_property(GLOBAL PROPERTY ${propertyName} ${currentCounter} ) -endfunction() - -macro(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFileArg) - # make it a real variable, so we can modify it here - set(_firstPoFile "${_firstPoFileArg}") - - set(_gmoFiles) - get_filename_component(_potName ${_potFile} NAME) - string(REGEX REPLACE "^(.+)(\\.[^.]+)$" "\\1" _potBasename ${_potName}) - get_filename_component(_absPotFile ${_potFile} ABSOLUTE) - - set(_addToAll) - if(${_firstPoFile} STREQUAL "ALL") - set(_addToAll "ALL") - set(_firstPoFile) - endif() - - foreach (_currentPoFile ${_firstPoFile} ${ARGN}) - get_filename_component(_absFile ${_currentPoFile} ABSOLUTE) - get_filename_component(_abs_PATH ${_absFile} PATH) - get_filename_component(_lang ${_absFile} NAME_WE) - set(_gmoFile ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo) - - add_custom_command( - OUTPUT ${_gmoFile} - COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --quiet --update --backup=none -s ${_absFile} ${_absPotFile} - COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${_gmoFile} ${_absFile} - DEPENDS ${_absPotFile} ${_absFile} - ) - - install(FILES ${_gmoFile} DESTINATION share/locale/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo) - set(_gmoFiles ${_gmoFiles} ${_gmoFile}) - - endforeach () - - if(NOT TARGET translations) - add_custom_target(translations) - endif() - - _GETTEXT_GET_UNIQUE_TARGET_NAME(translations uniqueTargetName) - - add_custom_target(${uniqueTargetName} ${_addToAll} DEPENDS ${_gmoFiles}) - - add_dependencies(translations ${uniqueTargetName}) - -endmacro() - - -function(GETTEXT_PROCESS_POT_FILE _potFile) - set(_gmoFiles) - set(_options ALL) - set(_oneValueArgs INSTALL_DESTINATION) - set(_multiValueArgs LANGUAGES) - - CMAKE_PARSE_ARGUMENTS(_parsedArguments "${_options}" "${_oneValueArgs}" "${_multiValueArgs}" ${ARGN}) - - get_filename_component(_potName ${_potFile} NAME) - string(REGEX REPLACE "^(.+)(\\.[^.]+)$" "\\1" _potBasename ${_potName}) - get_filename_component(_absPotFile ${_potFile} ABSOLUTE) - - foreach (_lang ${_parsedArguments_LANGUAGES}) - set(_poFile "${CMAKE_CURRENT_BINARY_DIR}/${_lang}.po") - set(_gmoFile "${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo") - - add_custom_command( - OUTPUT "${_poFile}" - COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --quiet --update --backup=none -s ${_poFile} ${_absPotFile} - DEPENDS ${_absPotFile} - ) - - add_custom_command( - OUTPUT "${_gmoFile}" - COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${_gmoFile} ${_poFile} - DEPENDS ${_absPotFile} ${_poFile} - ) - - if(_parsedArguments_INSTALL_DESTINATION) - install(FILES ${_gmoFile} DESTINATION ${_parsedArguments_INSTALL_DESTINATION}/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo) - endif() - list(APPEND _gmoFiles ${_gmoFile}) - endforeach () - - if(NOT TARGET potfiles) - add_custom_target(potfiles) - endif() - - _GETTEXT_GET_UNIQUE_TARGET_NAME( potfiles uniqueTargetName) - - if(_parsedArguments_ALL) - add_custom_target(${uniqueTargetName} ALL DEPENDS ${_gmoFiles}) - else() - add_custom_target(${uniqueTargetName} DEPENDS ${_gmoFiles}) - endif() - - add_dependencies(potfiles ${uniqueTargetName}) - -endfunction() - - -function(GETTEXT_PROCESS_PO_FILES _lang) - set(_options ALL) - set(_oneValueArgs INSTALL_DESTINATION) - set(_multiValueArgs PO_FILES) - set(_gmoFiles) - - CMAKE_PARSE_ARGUMENTS(_parsedArguments "${_options}" "${_oneValueArgs}" "${_multiValueArgs}" ${ARGN}) - - foreach(_current_PO_FILE ${_parsedArguments_PO_FILES}) - get_filename_component(_name ${_current_PO_FILE} NAME) - string(REGEX REPLACE "^(.+)(\\.[^.]+)$" "\\1" _basename ${_name}) - set(_gmoFile ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.gmo) - add_custom_command(OUTPUT ${_gmoFile} - COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${_gmoFile} ${_current_PO_FILE} - WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" - DEPENDS ${_current_PO_FILE} - ) - - if(_parsedArguments_INSTALL_DESTINATION) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.gmo DESTINATION ${_parsedArguments_INSTALL_DESTINATION}/${_lang}/LC_MESSAGES/ RENAME ${_basename}.mo) - endif() - list(APPEND _gmoFiles ${_gmoFile}) - endforeach() - - - if(NOT TARGET pofiles) - add_custom_target(pofiles) - endif() - - _GETTEXT_GET_UNIQUE_TARGET_NAME( pofiles uniqueTargetName) - - if(_parsedArguments_ALL) - add_custom_target(${uniqueTargetName} ALL DEPENDS ${_gmoFiles}) - else() - add_custom_target(${uniqueTargetName} DEPENDS ${_gmoFiles}) - endif() - - add_dependencies(pofiles ${uniqueTargetName}) - -endfunction() diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindGnuTLS.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindGnuTLS.cmake deleted file mode 100644 index 9c07444..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindGnuTLS.cmake +++ /dev/null @@ -1,62 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - -#[=======================================================================[.rst: -FindGnuTLS ----------- - -Try to find the GNU Transport Layer Security library (gnutls) - - - -Once done this will define - -:: - - GNUTLS_FOUND - System has gnutls - GNUTLS_INCLUDE_DIR - The gnutls include directory - GNUTLS_LIBRARIES - The libraries needed to use gnutls - GNUTLS_DEFINITIONS - Compiler switches required for using gnutls -#]=======================================================================] - -# Note that this doesn't try to find the gnutls-extra package. - - -if (GNUTLS_INCLUDE_DIR AND GNUTLS_LIBRARY) - # in cache already - set(gnutls_FIND_QUIETLY TRUE) -endif () - -if (NOT WIN32) - # try using pkg-config to get the directories and then use these values - # in the find_path() and find_library() calls - # also fills in GNUTLS_DEFINITIONS, although that isn't normally useful - find_package(PkgConfig QUIET) - PKG_CHECK_MODULES(PC_GNUTLS QUIET gnutls) - set(GNUTLS_DEFINITIONS ${PC_GNUTLS_CFLAGS_OTHER}) - set(GNUTLS_VERSION_STRING ${PC_GNUTLS_VERSION}) -endif () - -find_path(GNUTLS_INCLUDE_DIR gnutls/gnutls.h - HINTS - ${PC_GNUTLS_INCLUDEDIR} - ${PC_GNUTLS_INCLUDE_DIRS} - ) - -find_library(GNUTLS_LIBRARY NAMES gnutls libgnutls - HINTS - ${PC_GNUTLS_LIBDIR} - ${PC_GNUTLS_LIBRARY_DIRS} - ) - -mark_as_advanced(GNUTLS_INCLUDE_DIR GNUTLS_LIBRARY) - -include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(GnuTLS - REQUIRED_VARS GNUTLS_LIBRARY GNUTLS_INCLUDE_DIR - VERSION_VAR GNUTLS_VERSION_STRING) - -if(GNUTLS_FOUND) - set(GNUTLS_LIBRARIES ${GNUTLS_LIBRARY}) - set(GNUTLS_INCLUDE_DIRS ${GNUTLS_INCLUDE_DIR}) -endif() diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindLua.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindLua.cmake deleted file mode 100644 index eb3b5fb..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindLua.cmake +++ /dev/null @@ -1,236 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - -#[=======================================================================[.rst: -FindLua -------- - - - -Locate Lua library This module defines - -:: - - LUA_FOUND - if false, do not try to link to Lua - LUA_LIBRARIES - both lua and lualib - LUA_INCLUDE_DIR - where to find lua.h - LUA_VERSION_STRING - the version of Lua found - LUA_VERSION_MAJOR - the major version of Lua - LUA_VERSION_MINOR - the minor version of Lua - LUA_VERSION_PATCH - the patch version of Lua - - - -Note that the expected include convention is - -:: - - #include "lua.h" - -and not - -:: - - #include - -This is because, the lua location is not standardized and may exist in -locations other than lua/ -#]=======================================================================] - -cmake_policy(PUSH) # Policies apply to functions at definition-time -cmake_policy(SET CMP0012 NEW) # For while(TRUE) - -unset(_lua_include_subdirs) -unset(_lua_library_names) -unset(_lua_append_versions) - -# this is a function only to have all the variables inside go away automatically -function(_lua_get_versions) - set(LUA_VERSIONS5 5.3 5.2 5.1 5.0) - - if (Lua_FIND_VERSION_EXACT) - if (Lua_FIND_VERSION_COUNT GREATER 1) - set(_lua_append_versions ${Lua_FIND_VERSION_MAJOR}.${Lua_FIND_VERSION_MINOR}) - endif () - elseif (Lua_FIND_VERSION) - # once there is a different major version supported this should become a loop - if (NOT Lua_FIND_VERSION_MAJOR GREATER 5) - if (Lua_FIND_VERSION_COUNT EQUAL 1) - set(_lua_append_versions ${LUA_VERSIONS5}) - else () - foreach (subver IN LISTS LUA_VERSIONS5) - if (NOT subver VERSION_LESS ${Lua_FIND_VERSION}) - list(APPEND _lua_append_versions ${subver}) - endif () - endforeach () - # New version -> Search for it (heuristic only! Defines in include might have changed) - if (NOT _lua_append_versions) - set(_lua_append_versions ${Lua_FIND_VERSION_MAJOR}.${Lua_FIND_VERSION_MINOR}) - endif() - endif () - endif () - else () - # once there is a different major version supported this should become a loop - set(_lua_append_versions ${LUA_VERSIONS5}) - endif () - - if (LUA_Debug) - message(STATUS "Considering following Lua versions: ${_lua_append_versions}") - endif() - - set(_lua_append_versions "${_lua_append_versions}" PARENT_SCOPE) -endfunction() - -function(_lua_set_version_vars) - set(_lua_include_subdirs_raw "lua") - - foreach (ver IN LISTS _lua_append_versions) - string(REGEX MATCH "^([0-9]+)\\.([0-9]+)$" _ver "${ver}") - list(APPEND _lua_include_subdirs_raw - lua${CMAKE_MATCH_1}${CMAKE_MATCH_2} - lua${CMAKE_MATCH_1}.${CMAKE_MATCH_2} - lua-${CMAKE_MATCH_1}.${CMAKE_MATCH_2} - ) - endforeach () - - # Prepend "include/" to each path directly after the path - set(_lua_include_subdirs "include") - foreach (dir IN LISTS _lua_include_subdirs_raw) - list(APPEND _lua_include_subdirs "${dir}" "include/${dir}") - endforeach () - - set(_lua_include_subdirs "${_lua_include_subdirs}" PARENT_SCOPE) -endfunction(_lua_set_version_vars) - -function(_lua_get_header_version) - unset(LUA_VERSION_STRING PARENT_SCOPE) - set(_hdr_file "${LUA_INCLUDE_DIR}/lua.h") - - if (NOT EXISTS "${_hdr_file}") - return() - endif () - - # At least 5.[012] have different ways to express the version - # so all of them need to be tested. Lua 5.2 defines LUA_VERSION - # and LUA_RELEASE as joined by the C preprocessor, so avoid those. - file(STRINGS "${_hdr_file}" lua_version_strings - REGEX "^#define[ \t]+LUA_(RELEASE[ \t]+\"Lua [0-9]|VERSION([ \t]+\"Lua [0-9]|_[MR])).*") - - string(REGEX REPLACE ".*;#define[ \t]+LUA_VERSION_MAJOR[ \t]+\"([0-9])\"[ \t]*;.*" "\\1" LUA_VERSION_MAJOR ";${lua_version_strings};") - if (LUA_VERSION_MAJOR MATCHES "^[0-9]+$") - string(REGEX REPLACE ".*;#define[ \t]+LUA_VERSION_MINOR[ \t]+\"([0-9])\"[ \t]*;.*" "\\1" LUA_VERSION_MINOR ";${lua_version_strings};") - string(REGEX REPLACE ".*;#define[ \t]+LUA_VERSION_RELEASE[ \t]+\"([0-9])\"[ \t]*;.*" "\\1" LUA_VERSION_PATCH ";${lua_version_strings};") - set(LUA_VERSION_STRING "${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}.${LUA_VERSION_PATCH}") - else () - string(REGEX REPLACE ".*;#define[ \t]+LUA_RELEASE[ \t]+\"Lua ([0-9.]+)\"[ \t]*;.*" "\\1" LUA_VERSION_STRING ";${lua_version_strings};") - if (NOT LUA_VERSION_STRING MATCHES "^[0-9.]+$") - string(REGEX REPLACE ".*;#define[ \t]+LUA_VERSION[ \t]+\"Lua ([0-9.]+)\"[ \t]*;.*" "\\1" LUA_VERSION_STRING ";${lua_version_strings};") - endif () - string(REGEX REPLACE "^([0-9]+)\\.[0-9.]*$" "\\1" LUA_VERSION_MAJOR "${LUA_VERSION_STRING}") - string(REGEX REPLACE "^[0-9]+\\.([0-9]+)[0-9.]*$" "\\1" LUA_VERSION_MINOR "${LUA_VERSION_STRING}") - string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]).*" "\\1" LUA_VERSION_PATCH "${LUA_VERSION_STRING}") - endif () - foreach (ver IN LISTS _lua_append_versions) - if (ver STREQUAL "${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}") - set(LUA_VERSION_MAJOR ${LUA_VERSION_MAJOR} PARENT_SCOPE) - set(LUA_VERSION_MINOR ${LUA_VERSION_MINOR} PARENT_SCOPE) - set(LUA_VERSION_PATCH ${LUA_VERSION_PATCH} PARENT_SCOPE) - set(LUA_VERSION_STRING ${LUA_VERSION_STRING} PARENT_SCOPE) - return() - endif () - endforeach () -endfunction(_lua_get_header_version) - -function(_lua_find_header) - _lua_set_version_vars() - - # Initialize as local variable - set(CMAKE_IGNORE_PATH ${CMAKE_IGNORE_PATH}) - while (TRUE) - # Find the next header to test. Check each possible subdir in order - # This prefers e.g. higher versions as they are earlier in the list - # It is also consistent with previous versions of FindLua - foreach (subdir IN LISTS _lua_include_subdirs) - find_path(LUA_INCLUDE_DIR lua.h - HINTS - ENV LUA_DIR - PATH_SUFFIXES ${subdir} - ) - if (LUA_INCLUDE_DIR) - break() - endif() - endforeach() - # Did not found header -> Fail - if (NOT LUA_INCLUDE_DIR) - return() - endif() - _lua_get_header_version() - # Found accepted version -> Ok - if (LUA_VERSION_STRING) - if (LUA_Debug) - message(STATUS "Found suitable version ${LUA_VERSION_STRING} in ${LUA_INCLUDE_DIR}/lua.h") - endif() - return() - endif() - # Found wrong version -> Ignore this path and retry - if (LUA_Debug) - message(STATUS "Ignoring unsuitable version in ${LUA_INCLUDE_DIR}") - endif() - list(APPEND CMAKE_IGNORE_PATH "${LUA_INCLUDE_DIR}") - unset(LUA_INCLUDE_DIR CACHE) - unset(LUA_INCLUDE_DIR) - unset(LUA_INCLUDE_DIR PARENT_SCOPE) - endwhile () -endfunction() - -_lua_get_versions() -_lua_find_header() -_lua_get_header_version() -unset(_lua_append_versions) - -if (LUA_VERSION_STRING) - set(_lua_library_names - lua${LUA_VERSION_MAJOR}${LUA_VERSION_MINOR} - lua${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR} - lua-${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR} - lua.${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR} - ) -endif () - -find_library(LUA_LIBRARY - NAMES ${_lua_library_names} lua - NAMES_PER_DIR - HINTS - ENV LUA_DIR - PATH_SUFFIXES lib -) -unset(_lua_library_names) - -if (LUA_LIBRARY) - # include the math library for Unix - if (UNIX AND NOT APPLE AND NOT BEOS) - find_library(LUA_MATH_LIBRARY m) - set(LUA_LIBRARIES "${LUA_LIBRARY};${LUA_MATH_LIBRARY}") - - # include dl library for statically-linked Lua library - get_filename_component(LUA_LIB_EXT ${LUA_LIBRARY} EXT) - if(LUA_LIB_EXT STREQUAL CMAKE_STATIC_LIBRARY_SUFFIX) - list(APPEND LUA_LIBRARIES ${CMAKE_DL_LIBS}) - endif() - - # For Windows and Mac, don't need to explicitly include the math library - else () - set(LUA_LIBRARIES "${LUA_LIBRARY}") - endif () -endif () - -include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) -# handle the QUIETLY and REQUIRED arguments and set LUA_FOUND to TRUE if -# all listed variables are TRUE -FIND_PACKAGE_HANDLE_STANDARD_ARGS(Lua - REQUIRED_VARS LUA_LIBRARIES LUA_INCLUDE_DIR - VERSION_VAR LUA_VERSION_STRING) - -mark_as_advanced(LUA_INCLUDE_DIR LUA_LIBRARY LUA_MATH_LIBRARY) - -cmake_policy(POP) diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindPython/Support.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindPython/Support.cmake deleted file mode 100644 index 544e62b..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindPython/Support.cmake +++ /dev/null @@ -1,1324 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - -# -# This file is a "template" file used by various FindPython modules. -# - -cmake_policy (VERSION 3.7) - -# -# Initial configuration -# -if (NOT DEFINED _PYTHON_PREFIX) - message (FATAL_ERROR "FindPython: INTERNAL ERROR") -endif() -if (NOT DEFINED _${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR) - message (FATAL_ERROR "FindPython: INTERNAL ERROR") -endif() -if (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL 3) - set(_${_PYTHON_PREFIX}_VERSIONS 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0) -elseif (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL 2) - set(_${_PYTHON_PREFIX}_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0) -else() - message (FATAL_ERROR "FindPython: INTERNAL ERROR") -endif() - -get_property(_${_PYTHON_PREFIX}_CMAKE_ROLE GLOBAL PROPERTY CMAKE_ROLE) - - -# -# helper commands -# -macro (_PYTHON_DISPLAY_FAILURE _PYTHON_MSG) - if (${_PYTHON_PREFIX}_FIND_REQUIRED) - message (FATAL_ERROR "${_PYTHON_MSG}") - else() - if (NOT ${_PYTHON_PREFIX}_FIND_QUIETLY) - message(STATUS "${_PYTHON_MSG}") - endif () - endif() - - set (${_PYTHON_PREFIX}_FOUND FALSE) - string (TOUPPER "${_PYTHON_PREFIX}" _${_PYTHON_PREFIX}_UPPER_PREFIX) - set (${_PYTHON_UPPER_PREFIX}_FOUND FALSE) - return() -endmacro() - - -macro (_PYTHON_FIND_FRAMEWORKS) - set (${_PYTHON_PREFIX}_FRAMEWORKS) - if (APPLE) - set (_pff_frameworks ${CMAKE_FRAMEWORK_PATH} - $ENV{CMAKE_FRAMEWORK_PATH} - ~/Library/Frameworks - /usr/local/Frameworks - ${CMAKE_SYSTEM_FRAMEWORK_PATH}) - list (REMOVE_DUPLICATES _pff_frameworks) - foreach (_pff_framework IN LISTS _pff_frameworks) - if (EXISTS ${_pff_framework}/Python.framework) - list (APPEND ${_PYTHON_PREFIX}_FRAMEWORKS ${_pff_framework}/Python.framework) - endif() - endforeach() - unset (_pff_frameworks) - unset (_pff_framework) - endif() -endmacro() - -function (_PYTHON_GET_FRAMEWORKS _PYTHON_PGF_FRAMEWORK_PATHS _PYTHON_VERSION) - set (_PYTHON_FRAMEWORK_PATHS) - foreach (_PYTHON_FRAMEWORK IN LISTS ${_PYTHON_PREFIX}_FRAMEWORKS) - list (APPEND _PYTHON_FRAMEWORK_PATHS - "${_PYTHON_FRAMEWORK}/Versions/${_PYTHON_VERSION}") - endforeach() - set (${_PYTHON_PGF_FRAMEWORK_PATHS} ${_PYTHON_FRAMEWORK_PATHS} PARENT_SCOPE) -endfunction() - - -function (_PYTHON_VALIDATE_INTERPRETER) - if (NOT ${_PYTHON_PREFIX}_EXECUTABLE) - return() - endif() - - if (ARGC EQUAL 1) - set (expected_version ${ARGV0}) - else() - unset (expected_version) - endif() - - get_filename_component (python_name "${${_PYTHON_PREFIX}_EXECUTABLE}" NAME) - - if (expected_version AND NOT python_name STREQUAL "python${expected_version}${CMAKE_EXECUTABLE_SUFFIX}") - # executable found must have a specific version - execute_process (COMMAND "${${_PYTHON_PREFIX}_EXECUTABLE}" -c - "import sys; sys.stdout.write('.'.join([str(x) for x in sys.version_info[:2]]))" - RESULT_VARIABLE result - OUTPUT_VARIABLE version - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE) - if (result OR NOT version EQUAL expected_version) - # interpreter not usable or has wrong major version - set (${_PYTHON_PREFIX}_EXECUTABLE ${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND CACHE INTERNAL "" FORCE) - return() - endif() - else() - if (NOT python_name STREQUAL "python${_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR}${CMAKE_EXECUTABLE_SUFFIX}") - # executable found do not have version in name - # ensure major version is OK - execute_process (COMMAND "${${_PYTHON_PREFIX}_EXECUTABLE}" -c - "import sys; sys.stdout.write(str(sys.version_info[0]))" - RESULT_VARIABLE result - OUTPUT_VARIABLE version - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE) - if (result OR NOT version EQUAL _${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR) - # interpreter not usable or has wrong major version - set (${_PYTHON_PREFIX}_EXECUTABLE ${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND CACHE INTERNAL "" FORCE) - return() - endif() - endif() - endif() - - if (CMAKE_SIZEOF_VOID_P AND "Development" IN_LIST ${_PYTHON_PREFIX}_FIND_COMPONENTS - AND NOT CMAKE_CROSSCOMPILING) - # In this case, interpreter must have same architecture as environment - execute_process (COMMAND "${${_PYTHON_PREFIX}_EXECUTABLE}" -c - "import sys, struct; sys.stdout.write(str(struct.calcsize(\"P\")))" - RESULT_VARIABLE result - OUTPUT_VARIABLE size - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE) - if (result OR NOT size EQUAL CMAKE_SIZEOF_VOID_P) - # interpreter not usable or has wrong architecture - set (${_PYTHON_PREFIX}_EXECUTABLE ${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND CACHE INTERNAL "" FORCE) - return() - endif() - endif() -endfunction() - - -function (_PYTHON_VALIDATE_COMPILER expected_version) - if (NOT ${_PYTHON_PREFIX}_COMPILER) - return() - endif() - - # retrieve python environment version from compiler - set (working_dir "${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/PythonCompilerVersion.dir") - file (WRITE "${working_dir}/version.py" "import sys; sys.stdout.write('.'.join([str(x) for x in sys.version_info[:2]]))\n") - execute_process (COMMAND "${${_PYTHON_PREFIX}_COMPILER}" /target:exe /embed "${working_dir}/version.py" - WORKING_DIRECTORY "${working_dir}" - OUTPUT_QUIET - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE) - execute_process (COMMAND "${working_dir}/version" - WORKING_DIRECTORY "${working_dir}" - RESULT_VARIABLE result - OUTPUT_VARIABLE version - ERROR_QUIET) - file (REMOVE_RECURSE "${_${_PYTHON_PREFIX}_VERSION_DIR}") - - if (result OR NOT version EQUAL expected_version) - # Compiler not usable or has wrong major version - set (${_PYTHON_PREFIX}_COMPILER ${_PYTHON_PREFIX}_COMPILER-NOTFOUND CACHE INTERNAL "" FORCE) - endif() -endfunction() - - -function (_PYTHON_FIND_RUNTIME_LIBRARY _PYTHON_LIB) - string (REPLACE "_RUNTIME" "" _PYTHON_LIB "${_PYTHON_LIB}") - # look at runtime part on systems supporting it - if (CMAKE_SYSTEM_NAME STREQUAL "Windows" OR - (CMAKE_SYSTEM_NAME MATCHES "MSYS|CYGWIN" - AND ${_PYTHON_LIB} MATCHES "${CMAKE_IMPORT_LIBRARY_SUFFIX}$")) - set (CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_SHARED_LIBRARY_SUFFIX}) - # MSYS has a special syntax for runtime libraries - if (CMAKE_SYSTEM_NAME MATCHES "MSYS") - list (APPEND CMAKE_FIND_LIBRARY_PREFIXES "msys-") - endif() - find_library (${ARGV}) - endif() -endfunction() - - -function (_PYTHON_SET_LIBRARY_DIRS _PYTHON_SLD_RESULT) - unset (_PYTHON_DIRS) - set (_PYTHON_LIBS ${ARGV}) - list (REMOVE_AT _PYTHON_LIBS 0) - foreach (_PYTHON_LIB IN LISTS _PYTHON_LIBS) - if (${_PYTHON_LIB}) - get_filename_component (_PYTHON_DIR "${${_PYTHON_LIB}}" DIRECTORY) - list (APPEND _PYTHON_DIRS "${_PYTHON_DIR}") - endif() - endforeach() - if (_PYTHON_DIRS) - list (REMOVE_DUPLICATES _PYTHON_DIRS) - endif() - set (${_PYTHON_SLD_RESULT} ${_PYTHON_DIRS} PARENT_SCOPE) -endfunction() - - -# If major version is specified, it must be the same as internal major version -if (DEFINED ${_PYTHON_PREFIX}_FIND_VERSION_MAJOR - AND NOT ${_PYTHON_PREFIX}_FIND_VERSION_MAJOR VERSION_EQUAL _${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR) - _python_display_failure ("Could NOT find ${_PYTHON_PREFIX}: Wrong major version specified is \"${${_PYTHON_PREFIX}_FIND_VERSION_MAJOR}\", but expected major version is \"${_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR}\"") -endif() - - -# handle components -if (NOT ${_PYTHON_PREFIX}_FIND_COMPONENTS) - set (${_PYTHON_PREFIX}_FIND_COMPONENTS Interpreter) - set (${_PYTHON_PREFIX}_FIND_REQUIRED_Interpreter TRUE) -endif() -if ("NumPy" IN_LIST ${_PYTHON_PREFIX}_FIND_COMPONENTS) - list (APPEND ${_PYTHON_PREFIX}_FIND_COMPONENTS "Interpreter" "Development") - list (REMOVE_DUPLICATES ${_PYTHON_PREFIX}_FIND_COMPONENTS) -endif() -foreach (_${_PYTHON_PREFIX}_COMPONENT IN LISTS ${_PYTHON_PREFIX}_FIND_COMPONENTS) - set (${_PYTHON_PREFIX}_${_${_PYTHON_PREFIX}_COMPONENT}_FOUND FALSE) -endforeach() -unset (_${_PYTHON_PREFIX}_FIND_VERSIONS) - -# Set versions to search -## default: search any version -set (_${_PYTHON_PREFIX}_FIND_VERSIONS ${_${_PYTHON_PREFIX}_VERSIONS}) - -if (${_PYTHON_PREFIX}_FIND_VERSION_COUNT GREATER 1) - if (${_PYTHON_PREFIX}_FIND_VERSION_EXACT) - set (_${_PYTHON_PREFIX}_FIND_VERSIONS ${${_PYTHON_PREFIX}_FIND_VERSION_MAJOR}.${${_PYTHON_PREFIX}_FIND_VERSION_MINOR}) - else() - unset (_${_PYTHON_PREFIX}_FIND_VERSIONS) - # add all compatible versions - foreach (_${_PYTHON_PREFIX}_VERSION IN LISTS _${_PYTHON_PREFIX}_VERSIONS) - if (_${_PYTHON_PREFIX}_VERSION VERSION_GREATER_EQUAL ${_PYTHON_PREFIX}_FIND_VERSION) - list (APPEND _${_PYTHON_PREFIX}_FIND_VERSIONS ${_${_PYTHON_PREFIX}_VERSION}) - endif() - endforeach() - endif() -endif() - -# Python and Anaconda distributions: define which architectures can be used -if (CMAKE_SIZEOF_VOID_P) - # In this case, search only for 64bit or 32bit - math (EXPR _${_PYTHON_PREFIX}_ARCH "${CMAKE_SIZEOF_VOID_P} * 8") - set (_${_PYTHON_PREFIX}_ARCH2 ${_${_PYTHON_PREFIX}_ARCH}) -else() - # architecture unknown, search for both 64bit and 32bit - set (_${_PYTHON_PREFIX}_ARCH 64) - set (_${_PYTHON_PREFIX}_ARCH2 32) -endif() - -# IronPython support -if (CMAKE_SIZEOF_VOID_P) - # In this case, search only for 64bit or 32bit - math (EXPR _${_PYTHON_PREFIX}_ARCH "${CMAKE_SIZEOF_VOID_P} * 8") - set (_${_PYTHON_PREFIX}_IRON_PYTHON_NAMES ipy${_${_PYTHON_PREFIX}_ARCH} ipy) -else() - # architecture unknown, search for natural interpreter - set (_${_PYTHON_PREFIX}_IRON_PYTHON_NAMES ipy) -endif() -set (_${_PYTHON_PREFIX}_IRON_PYTHON_PATH_SUFFIXES net45 net40) - -# Apple frameworks handling -_python_find_frameworks () - -# Save CMAKE_FIND_APPBUNDLE -if (DEFINED CMAKE_FIND_APPBUNDLE) - set (_${_PYTHON_PREFIX}_CMAKE_FIND_APPBUNDLE ${CMAKE_FIND_APPBUNDLE}) -else() - unset (_${_PYTHON_PREFIX}_CMAKE_FIND_APPBUNDLE) -endif() -# To avoid app bundle lookup -set (CMAKE_FIND_APPBUNDLE "NEVER") - -# Save CMAKE_FIND_FRAMEWORK -if (DEFINED CMAKE_FIND_FRAMEWORK) - set (_${_PYTHON_PREFIX}_CMAKE_FIND_FRAMEWORK ${CMAKE_FIND_FRAMEWORK}) - if (CMAKE_FIND_FRAMEWORK STREQUAL "ONLY") - message (AUTHOR_WARNING "Find${_PYTHON_PREFIX}: CMAKE_FIND_FRAMEWORK: 'ONLY' value is not supported. 'FIRST' will be used instead.") - set (_${_PYTHON_PREFIX}_FIND_FRAMEWORK "FIRST") - else() - set (_${_PYTHON_PREFIX}_FIND_FRAMEWORK ${CMAKE_FIND_FRAMEWORK}) - endif() -else() - unset (_${_PYTHON_PREFIX}_CMAKE_FIND_FRAMEWORK) - set (_${_PYTHON_PREFIX}_FIND_FRAMEWORK "FIRST") -endif() -# To avoid framework lookup -set (CMAKE_FIND_FRAMEWORK "NEVER") - -# Windows Registry handling -if (DEFINED ${_PYTHON_PREFIX}_FIND_REGISTRY) - if (NOT ${_PYTHON_PREFIX}_FIND_REGISTRY MATCHES "^(FIRST|LAST|NEVER)$") - message (AUTHOR_WARNING "Find${_PYTHON_PREFIX}: ${${_PYTHON_PREFIX}_FIND_REGISTRY}: invalid value for '${_PYTHON_PREFIX}_FIND_REGISTRY'. 'FIRST', 'LAST' or 'NEVER' expected.") - set (_${_PYTHON_PREFIX}_FIND_REGISTRY "FIRST") - else() - set (_${_PYTHON_PREFIX}_FIND_REGISTRY ${${_PYTHON_PREFIX}_FIND_REGISTRY}) - endif() -else() - set (_${_PYTHON_PREFIX}_FIND_REGISTRY "FIRST") -endif() - - -unset (_${_PYTHON_PREFIX}_REQUIRED_VARS) -unset (_${_PYTHON_PREFIX}_CACHED_VARS) - - -# first step, search for the interpreter -if ("Interpreter" IN_LIST ${_PYTHON_PREFIX}_FIND_COMPONENTS) - list (APPEND _${_PYTHON_PREFIX}_CACHED_VARS ${_PYTHON_PREFIX}_EXECUTABLE) - if (${_PYTHON_PREFIX}_FIND_REQUIRED_Interpreter) - list (APPEND _${_PYTHON_PREFIX}_REQUIRED_VARS ${_PYTHON_PREFIX}_EXECUTABLE) - endif() - - set (_${_PYTHON_PREFIX}_HINTS "${${_PYTHON_PREFIX}_ROOT_DIR}" ENV ${_PYTHON_PREFIX}_ROOT_DIR) - - # look-up for various versions and locations - foreach (_${_PYTHON_PREFIX}_VERSION IN LISTS _${_PYTHON_PREFIX}_FIND_VERSIONS) - string (REPLACE "." "" _${_PYTHON_PREFIX}_VERSION_NO_DOTS ${_${_PYTHON_PREFIX}_VERSION}) - - _python_get_frameworks (_${_PYTHON_PREFIX}_FRAMEWORK_PATHS ${_${_PYTHON_PREFIX}_VERSION}) - - # Apple frameworks handling - if (APPLE AND _${_PYTHON_PREFIX}_FIND_FRAMEWORK STREQUAL "FIRST") - find_program (${_PYTHON_PREFIX}_EXECUTABLE - NAMES python${_${_PYTHON_PREFIX}_VERSION} - python${_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR} - NAMES_PER_DIR - PATHS ${_${_PYTHON_PREFIX}_FRAMEWORK_PATHS} - PATH_SUFFIXES bin - NO_CMAKE_PATH - NO_CMAKE_ENVIRONMENT_PATH - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - endif() - - # Windows registry - if (WIN32 AND _${_PYTHON_PREFIX}_FIND_REGISTRY STREQUAL "FIRST") - find_program (${_PYTHON_PREFIX}_EXECUTABLE - NAMES python${_${_PYTHON_PREFIX}_VERSION} - python${_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR} - python - ${_${_PYTHON_PREFIX}_IRON_PYTHON_NAMES} - NAMES_PER_DIR - HINTS ${_${_PYTHON_PREFIX}_HINTS} - PATHS [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}-${_${_PYTHON_PREFIX}_ARCH}\\InstallPath] - [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}-${_${_PYTHON_PREFIX}_ARCH2}\\InstallPath] - [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}\\InstallPath] - [HKEY_CURRENT_USER\\SOFTWARE\\Python\\ContinuumAnalytics\\Anaconda${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}-${_${_PYTHON_PREFIX}_ARCH}\\InstallPath] - [HKEY_CURRENT_USER\\SOFTWARE\\Python\\ContinuumAnalytics\\Anaconda${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}-${_${_PYTHON_PREFIX}_ARCH2}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}-${_${_PYTHON_PREFIX}_ARCH}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}-${_${_PYTHON_PREFIX}_ARCH2}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\ContinuumAnalytics\\Anaconda${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}-${_${_PYTHON_PREFIX}_ARCH}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\ContinuumAnalytics\\Anaconda${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}-${_${_PYTHON_PREFIX}_ARCH2}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\IronPython\\${_${_PYTHON_PREFIX}_VERSION}\\InstallPath] - PATH_SUFFIXES bin ${_${_PYTHON_PREFIX}_IRON_PYTHON_PATH_SUFFIXES} - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - endif() - - # try using HINTS - find_program (${_PYTHON_PREFIX}_EXECUTABLE - NAMES python${_${_PYTHON_PREFIX}_VERSION} - python${_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR} - python - ${_${_PYTHON_PREFIX}_IRON_PYTHON_NAMES} - NAMES_PER_DIR - HINTS ${_${_PYTHON_PREFIX}_HINTS} - PATH_SUFFIXES bin ${_${_PYTHON_PREFIX}_IRON_PYTHON_PATH_SUFFIXES} - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - # try using standard paths. - if (WIN32) - find_program (${_PYTHON_PREFIX}_EXECUTABLE - NAMES python${_${_PYTHON_PREFIX}_VERSION} - python${_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR} - python - ${_${_PYTHON_PREFIX}_IRON_PYTHON_NAMES} - NAMES_PER_DIR) - else() - find_program (${_PYTHON_PREFIX}_EXECUTABLE - NAMES python${_${_PYTHON_PREFIX}_VERSION} - python${_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR} - NAMES_PER_DIR) - endif() - - # Apple frameworks handling - if (APPLE AND _${_PYTHON_PREFIX}_FIND_FRAMEWORK STREQUAL "LAST") - find_program (${_PYTHON_PREFIX}_EXECUTABLE - NAMES python${_${_PYTHON_PREFIX}_VERSION} - python${_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR} - NAMES_PER_DIR - PATHS ${_${_PYTHON_PREFIX}_FRAMEWORK_PATHS} - PATH_SUFFIXES bin - NO_DEFAULT_PATH) - endif() - - # Windows registry - if (WIN32 AND _${_PYTHON_PREFIX}_FIND_REGISTRY STREQUAL "LAST") - find_program (${_PYTHON_PREFIX}_EXECUTABLE - NAMES python${_${_PYTHON_PREFIX}_VERSION} - python${_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR} - python - ${_${_PYTHON_PREFIX}_IRON_PYTHON_NAMES} - NAMES_PER_DIR - PATHS [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}-${_${_PYTHON_PREFIX}_ARCH}\\InstallPath] - [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}-${_${_PYTHON_PREFIX}_ARCH2}\\InstallPath] - [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}\\InstallPath] - [HKEY_CURRENT_USER\\SOFTWARE\\Python\\ContinuumAnalytics\\Anaconda${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}-${_${_PYTHON_PREFIX}_ARCH}\\InstallPath] - [HKEY_CURRENT_USER\\SOFTWARE\\Python\\ContinuumAnalytics\\Anaconda${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}-${_${_PYTHON_PREFIX}_ARCH2}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}-${_${_PYTHON_PREFIX}_ARCH}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}-${_${_PYTHON_PREFIX}_ARCH2}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\ContinuumAnalytics\\Anaconda${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}-${_${_PYTHON_PREFIX}_ARCH}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\ContinuumAnalytics\\Anaconda${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}-${_${_PYTHON_PREFIX}_ARCH2}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\IronPython\\${_${_PYTHON_PREFIX}_VERSION}\\InstallPath] - PATH_SUFFIXES bin ${_${_PYTHON_PREFIX}_IRON_PYTHON_PATH_SUFFIXES} - NO_DEFAULT_PATH) - endif() - - _python_validate_interpreter (${_${_PYTHON_PREFIX}_VERSION}) - if (${_PYTHON_PREFIX}_EXECUTABLE) - break() - endif() - endforeach() - - if (NOT ${_PYTHON_PREFIX}_EXECUTABLE) - # No specific version found. Retry with generic names - # try using HINTS - find_program (${_PYTHON_PREFIX}_EXECUTABLE - NAMES python${_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR} - python - ${_${_PYTHON_PREFIX}_IRON_PYTHON_NAMES} - NAMES_PER_DIR - HINTS ${_${_PYTHON_PREFIX}_HINTS} - PATH_SUFFIXES bin ${_${_PYTHON_PREFIX}_IRON_PYTHON_PATH_SUFFIXES} - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - # try using standard paths. - # NAMES_PER_DIR is not defined on purpose to have a chance to find - # expected version. - # For example, typical systems have 'python' for version 2.* and 'python3' - # for version 3.*. So looking for names per dir will find, potentially, - # systematically 'python' (i.e. version 2) even if version 3 is searched. - find_program (${_PYTHON_PREFIX}_EXECUTABLE - NAMES python${_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR} - python - ${_${_PYTHON_PREFIX}_IRON_PYTHON_NAMES}) - - _python_validate_interpreter () - endif() - - # retrieve exact version of executable found - if (${_PYTHON_PREFIX}_EXECUTABLE) - execute_process (COMMAND "${${_PYTHON_PREFIX}_EXECUTABLE}" -c - "import sys; sys.stdout.write('.'.join([str(x) for x in sys.version_info[:3]]))" - RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT - OUTPUT_VARIABLE ${_PYTHON_PREFIX}_VERSION - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE) - if (NOT _${_PYTHON_PREFIX}_RESULT) - string (REGEX MATCHALL "[0-9]+" _${_PYTHON_PREFIX}_VERSIONS "${${_PYTHON_PREFIX}_VERSION}") - list (GET _${_PYTHON_PREFIX}_VERSIONS 0 ${_PYTHON_PREFIX}_VERSION_MAJOR) - list (GET _${_PYTHON_PREFIX}_VERSIONS 1 ${_PYTHON_PREFIX}_VERSION_MINOR) - list (GET _${_PYTHON_PREFIX}_VERSIONS 2 ${_PYTHON_PREFIX}_VERSION_PATCH) - else() - # Interpreter is not usable - set (${_PYTHON_PREFIX}_EXECUTABLE ${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND CACHE INTERNAL "" FORCE) - unset (${_PYTHON_PREFIX}_VERSION) - endif() - endif() - - if (${_PYTHON_PREFIX}_EXECUTABLE - AND ${_PYTHON_PREFIX}_VERSION_MAJOR VERSION_EQUAL _${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR) - set (${_PYTHON_PREFIX}_Interpreter_FOUND TRUE) - # Use interpreter version for future searches to ensure consistency - set (_${_PYTHON_PREFIX}_FIND_VERSIONS ${${_PYTHON_PREFIX}_VERSION_MAJOR}.${${_PYTHON_PREFIX}_VERSION_MINOR}) - endif() - - if (${_PYTHON_PREFIX}_Interpreter_FOUND) - if (NOT CMAKE_SIZEOF_VOID_P) - # determine interpreter architecture - execute_process (COMMAND "${${_PYTHON_PREFIX}_EXECUTABLE}" -c "import sys; print(sys.maxsize > 2**32)" - RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT - OUTPUT_VARIABLE ${_PYTHON_PREFIX}_IS64BIT - ERROR_VARIABLE ${_PYTHON_PREFIX}_IS64BIT) - if (NOT _${_PYTHON_PREFIX}_RESULT) - if (${_PYTHON_PREFIX}_IS64BIT) - set (_${_PYTHON_PREFIX}_ARCH 64) - set (_${_PYTHON_PREFIX}_ARCH2 64) - else() - set (_${_PYTHON_PREFIX}_ARCH 32) - set (_${_PYTHON_PREFIX}_ARCH2 32) - endif() - endif() - endif() - - # retrieve interpreter identity - execute_process (COMMAND "${${_PYTHON_PREFIX}_EXECUTABLE}" -V - RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT - OUTPUT_VARIABLE ${_PYTHON_PREFIX}_INTERPRETER_ID - ERROR_VARIABLE ${_PYTHON_PREFIX}_INTERPRETER_ID) - if (NOT _${_PYTHON_PREFIX}_RESULT) - if (${_PYTHON_PREFIX}_INTERPRETER_ID MATCHES "Anaconda") - set (${_PYTHON_PREFIX}_INTERPRETER_ID "Anaconda") - elseif (${_PYTHON_PREFIX}_INTERPRETER_ID MATCHES "Enthought") - set (${_PYTHON_PREFIX}_INTERPRETER_ID "Canopy") - else() - string (REGEX REPLACE "^([^ ]+).*" "\\1" ${_PYTHON_PREFIX}_INTERPRETER_ID "${${_PYTHON_PREFIX}_INTERPRETER_ID}") - if (${_PYTHON_PREFIX}_INTERPRETER_ID STREQUAL "Python") - # try to get a more precise ID - execute_process (COMMAND "${${_PYTHON_PREFIX}_EXECUTABLE}" -c "import sys; print(sys.copyright)" - RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT - OUTPUT_VARIABLE ${_PYTHON_PREFIX}_COPYRIGHT - ERROR_QUIET) - if (${_PYTHON_PREFIX}_COPYRIGHT MATCHES "ActiveState") - set (${_PYTHON_PREFIX}_INTERPRETER_ID "ActivePython") - endif() - endif() - endif() - else() - set (${_PYTHON_PREFIX}_INTERPRETER_ID Python) - endif() - else() - unset (${_PYTHON_PREFIX}_INTERPRETER_ID) - endif() - - # retrieve various package installation directories - execute_process (COMMAND "${${_PYTHON_PREFIX}_EXECUTABLE}" -c "import sys; from distutils import sysconfig;sys.stdout.write(';'.join([sysconfig.get_python_lib(plat_specific=False,standard_lib=True),sysconfig.get_python_lib(plat_specific=True,standard_lib=True),sysconfig.get_python_lib(plat_specific=False,standard_lib=False),sysconfig.get_python_lib(plat_specific=True,standard_lib=False)]))" - - RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT - OUTPUT_VARIABLE _${_PYTHON_PREFIX}_LIBPATHS - ERROR_QUIET) - if (NOT _${_PYTHON_PREFIX}_RESULT) - list (GET _${_PYTHON_PREFIX}_LIBPATHS 0 ${_PYTHON_PREFIX}_STDLIB) - list (GET _${_PYTHON_PREFIX}_LIBPATHS 1 ${_PYTHON_PREFIX}_STDARCH) - list (GET _${_PYTHON_PREFIX}_LIBPATHS 2 ${_PYTHON_PREFIX}_SITELIB) - list (GET _${_PYTHON_PREFIX}_LIBPATHS 3 ${_PYTHON_PREFIX}_SITEARCH) - else() - unset (${_PYTHON_PREFIX}_STDLIB) - unset (${_PYTHON_PREFIX}_STDARCH) - unset (${_PYTHON_PREFIX}_SITELIB) - unset (${_PYTHON_PREFIX}_SITEARCH) - endif() - - mark_as_advanced (${_PYTHON_PREFIX}_EXECUTABLE) -endif() - - -# second step, search for compiler (IronPython) -if ("Compiler" IN_LIST ${_PYTHON_PREFIX}_FIND_COMPONENTS) - list (APPEND _${_PYTHON_PREFIX}_CACHED_VARS ${_PYTHON_PREFIX}_COMPILER) - if (${_PYTHON_PREFIX}_FIND_REQUIRED_Compiler) - list (APPEND _${_PYTHON_PREFIX}_REQUIRED_VARS ${_PYTHON_PREFIX}_COMPILER) - endif() - - # IronPython specific artifacts - # If IronPython interpreter is found, use its path - unset (_${_PYTHON_PREFIX}_IRON_ROOT) - if (${_PYTHON_PREFIX}_Interpreter_FOUND AND ${_PYTHON_PREFIX}_INTERPRETER_ID STREQUAL "IronPython") - get_filename_component (_${_PYTHON_PREFIX}_IRON_ROOT "${${_PYTHON_PREFIX}_EXECUTABLE}" DIRECTORY) - endif() - - # try using root dir and registry - foreach (_${_PYTHON_PREFIX}_VERSION IN LISTS _${_PYTHON_PREFIX}_FIND_VERSIONS) - if (_${_PYTHON_PREFIX}_FIND_REGISTRY STREQUAL "FIRST") - find_program (${_PYTHON_PREFIX}_COMPILER - NAMES ipyc - HINTS ${_${_PYTHON_PREFIX}_IRON_ROOT} ${_${_PYTHON_PREFIX}_HINTS} - PATHS [HKEY_LOCAL_MACHINE\\SOFTWARE\\IronPython\\${_${_PYTHON_PREFIX}_VERSION}\\InstallPath] - PATH_SUFFIXES ${_${_PYTHON_PREFIX}_IRON_PYTHON_PATH_SUFFIXES} - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - endif() - - find_program (${_PYTHON_PREFIX}_COMPILER - NAMES ipyc - HINTS ${_${_PYTHON_PREFIX}_IRON_ROOT} ${_${_PYTHON_PREFIX}_HINTS} - PATH_SUFFIXES ${_${_PYTHON_PREFIX}_IRON_PYTHON_PATH_SUFFIXES} - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - - if (_${_PYTHON_PREFIX}_FIND_REGISTRY STREQUAL "LAST") - find_program (${_PYTHON_PREFIX}_COMPILER - NAMES ipyc - PATHS [HKEY_LOCAL_MACHINE\\SOFTWARE\\IronPython\\${_${_PYTHON_PREFIX}_VERSION}\\InstallPath] - PATH_SUFFIXES ${_${_PYTHON_PREFIX}_IRON_PYTHON_PATH_SUFFIXES} - NO_DEFAULT_PATH) - endif() - - _python_validate_compiler (${_${_PYTHON_PREFIX}_VERSION}) - if (${_PYTHON_PREFIX}_COMPILER) - break() - endif() - endforeach() - - # no specific version found, re-try in standard paths - find_program (${_PYTHON_PREFIX}_COMPILER - NAMES ipyc - HINTS ${_${_PYTHON_PREFIX}_IRON_ROOT} ${_${_PYTHON_PREFIX}_HINTS} - PATH_SUFFIXES ${_${_PYTHON_PREFIX}_IRON_PYTHON_PATH_SUFFIXES}) - - if (${_PYTHON_PREFIX}_COMPILER) - # retrieve python environment version from compiler - set (_${_PYTHON_PREFIX}_VERSION_DIR "${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/PythonCompilerVersion.dir") - file (WRITE "${_${_PYTHON_PREFIX}_VERSION_DIR}/version.py" "import sys; sys.stdout.write('.'.join([str(x) for x in sys.version_info[:3]]))\n") - execute_process (COMMAND "${${_PYTHON_PREFIX}_COMPILER}" /target:exe /embed "${_${_PYTHON_PREFIX}_VERSION_DIR}/version.py" - WORKING_DIRECTORY "${_${_PYTHON_PREFIX}_VERSION_DIR}" - OUTPUT_QUIET - ERROR_QUIET) - execute_process (COMMAND "${_${_PYTHON_PREFIX}_VERSION_DIR}/version" - WORKING_DIRECTORY "${_${_PYTHON_PREFIX}_VERSION_DIR}" - RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT - OUTPUT_VARIABLE _${_PYTHON_PREFIX}_VERSION - ERROR_QUIET) - if (NOT _${_PYTHON_PREFIX}_RESULT) - string (REGEX MATCHALL "[0-9]+" _${_PYTHON_PREFIX}_VERSIONS "${_${_PYTHON_PREFIX}_VERSION}") - list (GET _${_PYTHON_PREFIX}_VERSIONS 0 _${_PYTHON_PREFIX}_VERSION_MAJOR) - list (GET _${_PYTHON_PREFIX}_VERSIONS 1 _${_PYTHON_PREFIX}_VERSION_MINOR) - list (GET _${_PYTHON_PREFIX}_VERSIONS 2 _${_PYTHON_PREFIX}_VERSION_PATCH) - - if (NOT ${_PYTHON_PREFIX}_Interpreter_FOUND) - # set public version information - set (${_PYTHON_PREFIX}_VERSION ${_${_PYTHON_PREFIX}_VERSION}) - set (${_PYTHON_PREFIX}_VERSION_MAJOR ${_${_PYTHON_PREFIX}_VERSION_MAJOR}) - set (${_PYTHON_PREFIX}_VERSION_MINOR ${_${_PYTHON_PREFIX}_VERSION_MINOR}) - set (${_PYTHON_PREFIX}_VERSION_PATCH ${_${_PYTHON_PREFIX}_VERSION_PATCH}) - endif() - else() - # compiler not usable - set (${_PYTHON_PREFIX}_COMPILER ${_PYTHON_PREFIX}_COMPILER-NOTFOUND CACHE INTERNAL "" FORCE) - endif() - file (REMOVE_RECURSE "${_${_PYTHON_PREFIX}_VERSION_DIR}") - endif() - - if (${_PYTHON_PREFIX}_COMPILER) - if (${_PYTHON_PREFIX}_Interpreter_FOUND) - # Compiler must be compatible with interpreter - if (${_${_PYTHON_PREFIX}_VERSION_MAJOR}.${_${_PYTHON_PREFIX}_VERSION_MINOR} VERSION_EQUAL ${${_PYTHON_PREFIX}_VERSION_MAJOR}.${${_PYTHON_PREFIX}_VERSION_MINOR}) - set (${_PYTHON_PREFIX}_Compiler_FOUND TRUE) - endif() - elseif (${_PYTHON_PREFIX}_VERSION_MAJOR VERSION_EQUAL _${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR) - set (${_PYTHON_PREFIX}_Compiler_FOUND TRUE) - # Use compiler version for future searches to ensure consistency - set (_${_PYTHON_PREFIX}_FIND_VERSIONS ${${_PYTHON_PREFIX}_VERSION_MAJOR}.${${_PYTHON_PREFIX}_VERSION_MINOR}) - endif() - endif() - - if (${_PYTHON_PREFIX}_Compiler_FOUND) - set (${_PYTHON_PREFIX}_COMPILER_ID IronPython) - else() - unset (${_PYTHON_PREFIX}_COMPILER_ID) - endif() - - mark_as_advanced (${_PYTHON_PREFIX}_COMPILER) -endif() - - -# third step, search for the development artifacts -## Development environment is not compatible with IronPython interpreter -if ("Development" IN_LIST ${_PYTHON_PREFIX}_FIND_COMPONENTS - AND NOT ${_PYTHON_PREFIX}_INTERPRETER_ID STREQUAL "IronPython") - list (APPEND _${_PYTHON_PREFIX}_CACHED_VARS ${_PYTHON_PREFIX}_LIBRARY - ${_PYTHON_PREFIX}_LIBRARY_RELEASE - ${_PYTHON_PREFIX}_RUNTIME_LIBRARY_RELEASE - ${_PYTHON_PREFIX}_LIBRARY_DEBUG - ${_PYTHON_PREFIX}_RUNTIME_LIBRARY_DEBUG - ${_PYTHON_PREFIX}_INCLUDE_DIR) - if (${_PYTHON_PREFIX}_FIND_REQUIRED_Development) - list (APPEND _${_PYTHON_PREFIX}_REQUIRED_VARS ${_PYTHON_PREFIX}_LIBRARY - ${_PYTHON_PREFIX}_INCLUDE_DIR) - endif() - - # Support preference of static libs by adjusting CMAKE_FIND_LIBRARY_SUFFIXES - unset (_${_PYTHON_PREFIX}_CMAKE_FIND_LIBRARY_SUFFIXES) - if (DEFINED ${_PYTHON_PREFIX}_USE_STATIC_LIBS AND NOT WIN32) - set(_${_PYTHON_PREFIX}_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES}) - if(${_PYTHON_PREFIX}_USE_STATIC_LIBS) - set (CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_STATIC_LIBRARY_SUFFIX}) - else() - list (REMOVE_ITEM CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_STATIC_LIBRARY_SUFFIX}) - endif() - else() - endif() - - # if python interpreter is found, use its location and version to ensure consistency - # between interpreter and development environment - unset (_${_PYTHON_PREFIX}_PREFIX) - if (${_PYTHON_PREFIX}_Interpreter_FOUND) - execute_process (COMMAND "${${_PYTHON_PREFIX}_EXECUTABLE}" -c - "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.PREFIX)" - RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT - OUTPUT_VARIABLE _${_PYTHON_PREFIX}_PREFIX - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE) - if (_${_PYTHON_PREFIX}_RESULT) - unset (_${_PYTHON_PREFIX}_PREFIX) - endif() - endif() - set (_${_PYTHON_PREFIX}_HINTS "${_${_PYTHON_PREFIX}_PREFIX}" "${${_PYTHON_PREFIX}_ROOT_DIR}" ENV ${_PYTHON_PREFIX}_ROOT_DIR) - - foreach (_${_PYTHON_PREFIX}_VERSION IN LISTS _${_PYTHON_PREFIX}_FIND_VERSIONS) - string (REPLACE "." "" _${_PYTHON_PREFIX}_VERSION_NO_DOTS ${_${_PYTHON_PREFIX}_VERSION}) - - # try to use pythonX.Y-config tool - set (_${_PYTHON_PREFIX}_CONFIG_NAMES) - if (DEFINED CMAKE_LIBRARY_ARCHITECTURE) - set (_${_PYTHON_PREFIX}_CONFIG_NAMES "${CMAKE_LIBRARY_ARCHITECTURE}-python${_${_PYTHON_PREFIX}_VERSION}-config") - endif() - list (APPEND _${_PYTHON_PREFIX}_CONFIG_NAMES "python${_${_PYTHON_PREFIX}_VERSION}-config") - find_program (_${_PYTHON_PREFIX}_CONFIG - NAMES ${_${_PYTHON_PREFIX}_CONFIG_NAMES} - NAMES_PER_DIR - HINTS ${_${_PYTHON_PREFIX}_HINTS} - PATH_SUFFIXES bin) - unset (_${_PYTHON_PREFIX}_CONFIG_NAMES) - - if (NOT _${_PYTHON_PREFIX}_CONFIG) - continue() - endif() - if (DEFINED CMAKE_LIBRARY_ARCHITECTURE) - # check that config tool match library architecture - execute_process (COMMAND "${_${_PYTHON_PREFIX}_CONFIG}" --configdir - RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT - OUTPUT_VARIABLE _${_PYTHON_PREFIX}_CONFIGDIR - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE) - if (_${_PYTHON_PREFIX}_RESULT) - unset (_${_PYTHON_PREFIX}_CONFIG CACHE) - continue() - endif() - string(FIND "${_${_PYTHON_PREFIX}_CONFIGDIR}" "${CMAKE_LIBRARY_ARCHITECTURE}" _${_PYTHON_PREFIX}_RESULT) - if (_${_PYTHON_PREFIX}_RESULT EQUAL -1) - unset (_${_PYTHON_PREFIX}_CONFIG CACHE) - continue() - endif() - endif() - - # retrieve root install directory - execute_process (COMMAND "${_${_PYTHON_PREFIX}_CONFIG}" --prefix - RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT - OUTPUT_VARIABLE _${_PYTHON_PREFIX}_PREFIX - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE) - if (_${_PYTHON_PREFIX}_RESULT) - # python-config is not usable - unset (_${_PYTHON_PREFIX}_CONFIG CACHE) - continue() - endif() - set (_${_PYTHON_PREFIX}_HINTS "${_${_PYTHON_PREFIX}_PREFIX}" "${${_PYTHON_PREFIX}_ROOT_DIR}" ENV ${_PYTHON_PREFIX}_ROOT_DIR) - - # retrieve library - execute_process (COMMAND "${_${_PYTHON_PREFIX}_CONFIG}" --ldflags - RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT - OUTPUT_VARIABLE _${_PYTHON_PREFIX}_FLAGS - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE) - if (NOT _${_PYTHON_PREFIX}_RESULT) - # retrieve library directory - string (REGEX MATCHALL "-L[^ ]+" _${_PYTHON_PREFIX}_LIB_DIRS "${_${_PYTHON_PREFIX}_FLAGS}") - string (REPLACE "-L" "" _${_PYTHON_PREFIX}_LIB_DIRS "${_${_PYTHON_PREFIX}_LIB_DIRS}") - list (REMOVE_DUPLICATES _${_PYTHON_PREFIX}_LIB_DIRS) - # retrieve library name - string (REGEX MATCHALL "-lpython[^ ]+" _${_PYTHON_PREFIX}_LIB_NAMES "${_${_PYTHON_PREFIX}_FLAGS}") - string (REPLACE "-l" "" _${_PYTHON_PREFIX}_LIB_NAMES "${_${_PYTHON_PREFIX}_LIB_NAMES}") - list (REMOVE_DUPLICATES _${_PYTHON_PREFIX}_LIB_NAMES) - - find_library (${_PYTHON_PREFIX}_LIBRARY_RELEASE - NAMES ${_${_PYTHON_PREFIX}_LIB_NAMES} - NAMES_PER_DIR - HINTS ${_${_PYTHON_PREFIX}_HINTS} ${_${_PYTHON_PREFIX}_LIB_DIRS} - PATH_SUFFIXES lib - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - # retrieve runtime library - if (${_PYTHON_PREFIX}_LIBRARY_RELEASE) - get_filename_component (_${_PYTHON_PREFIX}_PATH "${${_PYTHON_PREFIX}_LIBRARY_RELEASE}" DIRECTORY) - get_filename_component (_${_PYTHON_PREFIX}_PATH2 "${_${_PYTHON_PREFIX}_PATH}" DIRECTORY) - _python_find_runtime_library (${_PYTHON_PREFIX}_RUNTIME_LIBRARY_RELEASE - NAMES ${_${_PYTHON_PREFIX}_LIB_NAMES} - NAMES_PER_DIR - HINTS "${_${_PYTHON_PREFIX}_PATH}" "${_${_PYTHON_PREFIX}_PATH2}" ${_${_PYTHON_PREFIX}_HINTS} - PATH_SUFFIXES bin - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - endif() - endif() - - # retrieve include directory - execute_process (COMMAND "${_${_PYTHON_PREFIX}_CONFIG}" --includes - RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT - OUTPUT_VARIABLE _${_PYTHON_PREFIX}_FLAGS - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE) - if (NOT _${_PYTHON_PREFIX}_RESULT) - # retrieve include directory - string (REGEX MATCHALL "-I[^ ]+" _${_PYTHON_PREFIX}_INCLUDE_DIRS "${_${_PYTHON_PREFIX}_FLAGS}") - string (REPLACE "-I" "" _${_PYTHON_PREFIX}_INCLUDE_DIRS "${_${_PYTHON_PREFIX}_INCLUDE_DIRS}") - list (REMOVE_DUPLICATES _${_PYTHON_PREFIX}_INCLUDE_DIRS) - - find_path (${_PYTHON_PREFIX}_INCLUDE_DIR - NAMES Python.h - HINTS ${_${_PYTHON_PREFIX}_INCLUDE_DIRS} - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - endif() - - if (${_PYTHON_PREFIX}_LIBRARY_RELEASE AND ${_PYTHON_PREFIX}_INCLUDE_DIR) - break() - endif() - endforeach() - - # Rely on HINTS and standard paths if config tool failed to locate artifacts - if (NOT (${_PYTHON_PREFIX}_LIBRARY_RELEASE OR ${_PYTHON_PREFIX}_LIBRARY_DEBUG) OR NOT ${_PYTHON_PREFIX}_INCLUDE_DIR) - foreach (_${_PYTHON_PREFIX}_VERSION IN LISTS _${_PYTHON_PREFIX}_FIND_VERSIONS) - string (REPLACE "." "" _${_PYTHON_PREFIX}_VERSION_NO_DOTS ${_${_PYTHON_PREFIX}_VERSION}) - - _python_get_frameworks (_${_PYTHON_PREFIX}_FRAMEWORK_PATHS ${_${_PYTHON_PREFIX}_VERSION}) - - set (_${_PYTHON_PREFIX}_REGISTRY_PATHS - [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}-${_${_PYTHON_PREFIX}_ARCH}\\InstallPath] - [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}-${_${_PYTHON_PREFIX}_ARCH2}\\InstallPath] - [HKEY_CURRENT_USER\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}\\InstallPath] - [HKEY_CURRENT_USER\\SOFTWARE\\Python\\ContinuumAnalytics\\Anaconda${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}-${_${_PYTHON_PREFIX}_ARCH}\\InstallPath] - [HKEY_CURRENT_USER\\SOFTWARE\\Python\\ContinuumAnalytics\\Anaconda${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}-${_${_PYTHON_PREFIX}_ARCH2}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}-${_${_PYTHON_PREFIX}_ARCH}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}-${_${_PYTHON_PREFIX}_ARCH2}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\${_${_PYTHON_PREFIX}_VERSION}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\ContinuumAnalytics\\Anaconda${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}-${_${_PYTHON_PREFIX}_ARCH}\\InstallPath] - [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\ContinuumAnalytics\\Anaconda${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}-${_${_PYTHON_PREFIX}_ARCH2}\\InstallPath]) - - if (APPLE AND _${_PYTHON_PREFIX}_FIND_FRAMEWORK STREQUAL "FIRST") - find_library (${_PYTHON_PREFIX}_LIBRARY_RELEASE - NAMES python${_${_PYTHON_PREFIX}_VERSION_NO_DOTS} - python${_${_PYTHON_PREFIX}_VERSION}mu - python${_${_PYTHON_PREFIX}_VERSION}m - python${_${_PYTHON_PREFIX}_VERSION}u - python${_${_PYTHON_PREFIX}_VERSION} - NAMES_PER_DIR - PATHS ${_${_PYTHON_PREFIX}_FRAMEWORK_PATHS} - PATH_SUFFIXES lib/${CMAKE_LIBRARY_ARCHITECTURE} lib libs - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION}mu - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION}m - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION}u - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION} - lib/python${_${_PYTHON_PREFIX}_VERSION}/config - NO_CMAKE_PATH - NO_CMAKE_ENVIRONMENT_PATH - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - endif() - - if (WIN32 AND _${_PYTHON_PREFIX}_FIND_REGISTRY STREQUAL "FIRST") - find_library (${_PYTHON_PREFIX}_LIBRARY_RELEASE - NAMES python${_${_PYTHON_PREFIX}_VERSION_NO_DOTS} - python${_${_PYTHON_PREFIX}_VERSION}mu - python${_${_PYTHON_PREFIX}_VERSION}m - python${_${_PYTHON_PREFIX}_VERSION}u - python${_${_PYTHON_PREFIX}_VERSION} - NAMES_PER_DIR - HINTS ${_${_PYTHON_PREFIX}_HINTS} - PATHS ${_${_PYTHON_PREFIX}_REGISTRY_PATHS} - PATH_SUFFIXES lib/${CMAKE_LIBRARY_ARCHITECTURE} lib libs - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION}mu - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION}m - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION}u - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION} - lib/python${_${_PYTHON_PREFIX}_VERSION}/config - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - endif() - - # search in HINTS locations - find_library (${_PYTHON_PREFIX}_LIBRARY_RELEASE - NAMES python${_${_PYTHON_PREFIX}_VERSION_NO_DOTS} - python${_${_PYTHON_PREFIX}_VERSION}mu - python${_${_PYTHON_PREFIX}_VERSION}m - python${_${_PYTHON_PREFIX}_VERSION}u - python${_${_PYTHON_PREFIX}_VERSION} - NAMES_PER_DIR - HINTS ${_${_PYTHON_PREFIX}_HINTS} - PATH_SUFFIXES lib/${CMAKE_LIBRARY_ARCHITECTURE} lib libs - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION}mu - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION}m - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION}u - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION} - lib/python${_${_PYTHON_PREFIX}_VERSION}/config - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - - if (APPLE AND _${_PYTHON_PREFIX}_FIND_FRAMEWORK STREQUAL "LAST") - set (__${_PYTHON_PREFIX}_FRAMEWORK_PATHS ${_${_PYTHON_PREFIX}_FRAMEWORK_PATHS}) - else() - unset (__${_PYTHON_PREFIX}_FRAMEWORK_PATHS) - endif() - - if (WIN32 AND _${_PYTHON_PREFIX}_FIND_REGISTRY STREQUAL "LAST") - set (__${_PYTHON_PREFIX}_REGISTRY_PATHS ${_${_PYTHON_PREFIX}_REGISTRY_PATHS}) - else() - unset (__${_PYTHON_PREFIX}_REGISTRY_PATHS) - endif() - - # search in all default paths - find_library (${_PYTHON_PREFIX}_LIBRARY_RELEASE - NAMES python${_${_PYTHON_PREFIX}_VERSION_NO_DOTS} - python${_${_PYTHON_PREFIX}_VERSION}mu - python${_${_PYTHON_PREFIX}_VERSION}m - python${_${_PYTHON_PREFIX}_VERSION}u - python${_${_PYTHON_PREFIX}_VERSION} - NAMES_PER_DIR - PATHS ${__${_PYTHON_PREFIX}_FRAMEWORK_PATHS} - ${__${_PYTHON_PREFIX}_REGISTRY_PATHS} - PATH_SUFFIXES lib/${CMAKE_LIBRARY_ARCHITECTURE} lib libs - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION}mu - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION}m - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION}u - lib/python${_${_PYTHON_PREFIX}_VERSION}/config-${_${_PYTHON_PREFIX}_VERSION} - lib/python${_${_PYTHON_PREFIX}_VERSION}/config) - # retrieve runtime library - if (${_PYTHON_PREFIX}_LIBRARY_RELEASE) - get_filename_component (_${_PYTHON_PREFIX}_PATH "${${_PYTHON_PREFIX}_LIBRARY_RELEASE}" DIRECTORY) - get_filename_component (_${_PYTHON_PREFIX}_PATH2 "${_${_PYTHON_PREFIX}_PATH}" DIRECTORY) - _python_find_runtime_library (${_PYTHON_PREFIX}_RUNTIME_LIBRARY_RELEASE - NAMES python${_${_PYTHON_PREFIX}_VERSION_NO_DOTS} - python${_${_PYTHON_PREFIX}_VERSION}mu - python${_${_PYTHON_PREFIX}_VERSION}m - python${_${_PYTHON_PREFIX}_VERSION}u - python${_${_PYTHON_PREFIX}_VERSION} - NAMES_PER_DIR - HINTS "${_${_PYTHON_PREFIX}_PATH}" "${_${_PYTHON_PREFIX}_PATH2}" ${_${_PYTHON_PREFIX}_HINTS} - PATH_SUFFIXES bin) - endif() - - if (WIN32) - # search for debug library - if (${_PYTHON_PREFIX}_LIBRARY_RELEASE) - # use library location as a hint - get_filename_component (_${_PYTHON_PREFIX}_PATH "${${_PYTHON_PREFIX}_LIBRARY_RELEASE}" DIRECTORY) - find_library (${_PYTHON_PREFIX}_LIBRARY_DEBUG - NAMES python${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}_d - NAMES_PER_DIR - HINTS "${_${_PYTHON_PREFIX}_PATH}" ${_${_PYTHON_PREFIX}_HINTS} - NO_DEFAULT_PATH) - else() - # search first in known locations - if (_${_PYTHON_PREFIX}_FIND_REGISTRY STREQUAL "FIRST") - find_library (${_PYTHON_PREFIX}_LIBRARY_DEBUG - NAMES python${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}_d - NAMES_PER_DIR - HINTS ${_${_PYTHON_PREFIX}_HINTS} - PATHS ${_${_PYTHON_PREFIX}_REGISTRY_PATHS} - PATH_SUFFIXES lib libs - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - endif() - # search in all default paths - find_library (${_PYTHON_PREFIX}_LIBRARY_DEBUG - NAMES python${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}_d - NAMES_PER_DIR - HINTS ${_${_PYTHON_PREFIX}_HINTS} - PATHS ${__${_PYTHON_PREFIX}_REGISTRY_PATHS} - PATH_SUFFIXES lib libs) - endif() - if (${_PYTHON_PREFIX}_LIBRARY_DEBUG) - get_filename_component (_${_PYTHON_PREFIX}_PATH "${${_PYTHON_PREFIX}_LIBRARY_DEBUG}" DIRECTORY) - get_filename_component (_${_PYTHON_PREFIX}_PATH2 "${_${_PYTHON_PREFIX}_PATH}" DIRECTORY) - _python_find_runtime_library (${_PYTHON_PREFIX}_RUNTIME_LIBRARY_DEBUG - NAMES python${_${_PYTHON_PREFIX}_VERSION_NO_DOTS}_d - NAMES_PER_DIR - HINTS "${_${_PYTHON_PREFIX}_PATH}" "${_${_PYTHON_PREFIX}_PATH2}" ${_${_PYTHON_PREFIX}_HINTS} - PATH_SUFFIXES bin) - endif() - endif() - - # Don't search for include dir until library location is known - if (${_PYTHON_PREFIX}_LIBRARY_RELEASE OR ${_PYTHON_PREFIX}_LIBRARY_DEBUG) - unset (_${_PYTHON_PREFIX}_INCLUDE_HINTS) - - if (${_PYTHON_PREFIX}_EXECUTABLE) - # pick up include directory from configuration - execute_process (COMMAND "${${_PYTHON_PREFIX}_EXECUTABLE}" -c - "import sys; import sysconfig; sys.stdout.write(sysconfig.get_path('include'))" - RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT - OUTPUT_VARIABLE _${_PYTHON_PREFIX}_PATH - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE) - if (NOT _${_PYTHON_PREFIX}_RESULT) - file (TO_CMAKE_PATH "${_${_PYTHON_PREFIX}_PATH}" _${_PYTHON_PREFIX}_PATH) - list (APPEND _${_PYTHON_PREFIX}_INCLUDE_HINTS "${_${_PYTHON_PREFIX}_PATH}") - endif() - endif() - - foreach (_${_PYTHON_PREFIX}_LIB IN ITEMS ${_PYTHON_PREFIX}_LIBRARY_RELEASE ${_PYTHON_PREFIX}_LIBRARY_DEBUG) - if (${_${_PYTHON_PREFIX}_LIB}) - # Use the library's install prefix as a hint - if (${_${_PYTHON_PREFIX}_LIB} MATCHES "^(.+/Frameworks/Python.framework/Versions/[0-9.]+)") - list (APPEND _${_PYTHON_PREFIX}_INCLUDE_HINTS "${CMAKE_MATCH_1}") - elseif (${_${_PYTHON_PREFIX}_LIB} MATCHES "^(.+)/lib(64|32)?/python[0-9.]+/config") - list (APPEND _${_PYTHON_PREFIX}_INCLUDE_HINTS "${CMAKE_MATCH_1}") - elseif (DEFINED CMAKE_LIBRARY_ARCHITECTURE AND ${_${_PYTHON_PREFIX}_LIB} MATCHES "^(.+)/lib/${CMAKE_LIBRARY_ARCHITECTURE}") - list (APPEND _${_PYTHON_PREFIX}_INCLUDE_HINTS "${CMAKE_MATCH_1}") - else() - # assume library is in a directory under root - get_filename_component (_${_PYTHON_PREFIX}_PREFIX "${${_${_PYTHON_PREFIX}_LIB}}" DIRECTORY) - get_filename_component (_${_PYTHON_PREFIX}_PREFIX "${_${_PYTHON_PREFIX}_PREFIX}" DIRECTORY) - list (APPEND _${_PYTHON_PREFIX}_INCLUDE_HINTS "${_${_PYTHON_PREFIX}_PREFIX}") - endif() - endif() - endforeach() - list (REMOVE_DUPLICATES _${_PYTHON_PREFIX}_INCLUDE_HINTS) - - if (APPLE AND _${_PYTHON_PREFIX}_FIND_FRAMEWORK STREQUAL "FIRST") - find_path (${_PYTHON_PREFIX}_INCLUDE_DIR - NAMES Python.h - HINTS ${_${_PYTHON_PREFIX}_HINTS} - PATHS ${_${_PYTHON_PREFIX}_FRAMEWORK_PATHS} - PATH_SUFFIXES include/python${_${_PYTHON_PREFIX}_VERSION}mu - include/python${_${_PYTHON_PREFIX}_VERSION}m - include/python${_${_PYTHON_PREFIX}_VERSION}u - include/python${_${_PYTHON_PREFIX}_VERSION} - include - NO_CMAKE_PATH - NO_CMAKE_ENVIRONMENT_PATH - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - endif() - - if (WIN32 AND _${_PYTHON_PREFIX}_FIND_REGISTRY STREQUAL "FIRST") - find_path (${_PYTHON_PREFIX}_INCLUDE_DIR - NAMES Python.h - HINTS ${_${_PYTHON_PREFIX}_INCLUDE_HINTS} ${_${_PYTHON_PREFIX}_HINTS} - PATHS ${_${_PYTHON_PREFIX}_REGISTRY_PATHS} - PATH_SUFFIXES include/python${_${_PYTHON_PREFIX}_VERSION}mu - include/python${_${_PYTHON_PREFIX}_VERSION}m - include/python${_${_PYTHON_PREFIX}_VERSION}u - include/python${_${_PYTHON_PREFIX}_VERSION} - include - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - endif() - - find_path (${_PYTHON_PREFIX}_INCLUDE_DIR - NAMES Python.h - HINTS ${_${_PYTHON_PREFIX}_INCLUDE_HINTS} ${_${_PYTHON_PREFIX}_HINTS} - PATHS ${__${_PYTHON_PREFIX}_FRAMEWORK_PATHS} - ${__${_PYTHON_PREFIX}_REGISTRY_PATHS} - PATH_SUFFIXES include/python${_${_PYTHON_PREFIX}_VERSION}mu - include/python${_${_PYTHON_PREFIX}_VERSION}m - include/python${_${_PYTHON_PREFIX}_VERSION}u - include/python${_${_PYTHON_PREFIX}_VERSION} - include - NO_SYSTEM_ENVIRONMENT_PATH - NO_CMAKE_SYSTEM_PATH) - endif() - - if ((${_PYTHON_PREFIX}_LIBRARY_RELEASE OR ${_PYTHON_PREFIX}_LIBRARY_DEBUG) AND ${_PYTHON_PREFIX}_INCLUDE_DIR) - break() - endif() - endforeach() - - # search header file in standard locations - find_path (${_PYTHON_PREFIX}_INCLUDE_DIR - NAMES Python.h) - endif() - - if (${_PYTHON_PREFIX}_INCLUDE_DIR) - # retrieve version from header file - file (STRINGS "${${_PYTHON_PREFIX}_INCLUDE_DIR}/patchlevel.h" _${_PYTHON_PREFIX}_VERSION - REGEX "^#define[ \t]+PY_VERSION[ \t]+\"[^\"]+\"") - string (REGEX REPLACE "^#define[ \t]+PY_VERSION[ \t]+\"([^\"]+)\".*" "\\1" - _${_PYTHON_PREFIX}_VERSION "${_${_PYTHON_PREFIX}_VERSION}") - string (REGEX MATCHALL "[0-9]+" _${_PYTHON_PREFIX}_VERSIONS "${_${_PYTHON_PREFIX}_VERSION}") - list (GET _${_PYTHON_PREFIX}_VERSIONS 0 _${_PYTHON_PREFIX}_VERSION_MAJOR) - list (GET _${_PYTHON_PREFIX}_VERSIONS 1 _${_PYTHON_PREFIX}_VERSION_MINOR) - list (GET _${_PYTHON_PREFIX}_VERSIONS 2 _${_PYTHON_PREFIX}_VERSION_PATCH) - - if (NOT ${_PYTHON_PREFIX}_Interpreter_FOUND AND NOT ${_PYTHON_PREFIX}_Compiler_FOUND) - # set public version information - set (${_PYTHON_PREFIX}_VERSION ${_${_PYTHON_PREFIX}_VERSION}) - set (${_PYTHON_PREFIX}_VERSION_MAJOR ${_${_PYTHON_PREFIX}_VERSION_MAJOR}) - set (${_PYTHON_PREFIX}_VERSION_MINOR ${_${_PYTHON_PREFIX}_VERSION_MINOR}) - set (${_PYTHON_PREFIX}_VERSION_PATCH ${_${_PYTHON_PREFIX}_VERSION_PATCH}) - endif() - endif() - - # define public variables - include (${CMAKE_CURRENT_LIST_DIR}/../SelectLibraryConfigurations.cmake) - select_library_configurations (${_PYTHON_PREFIX}) - if (${_PYTHON_PREFIX}_RUNTIME_LIBRARY_RELEASE) - set (${_PYTHON_PREFIX}_RUNTIME_LIBRARY "${${_PYTHON_PREFIX}_RUNTIME_LIBRARY_RELEASE}") - elseif (${_PYTHON_PREFIX}_RUNTIME_LIBRARY_DEBUG) - set (${_PYTHON_PREFIX}_RUNTIME_LIBRARY "${${_PYTHON_PREFIX}_RUNTIME_LIBRARY_DEBUG}") - else() - set (${_PYTHON_PREFIX}_RUNTIME_LIBRARY "$${_PYTHON_PREFIX}_RUNTIME_LIBRARY-NOTFOUND") - endif() - - _python_set_library_dirs (${_PYTHON_PREFIX}_LIBRARY_DIRS - ${_PYTHON_PREFIX}_LIBRARY_RELEASE ${_PYTHON_PREFIX}_LIBRARY_DEBUG) - if (UNIX) - if (${_PYTHON_PREFIX}_LIBRARY_RELEASE MATCHES "${CMAKE_SHARED_LIBRARY_SUFFIX}$" - OR ${_PYTHON_PREFIX}_LIBRARY_RELEASE MATCHES "${CMAKE_SHARED_LIBRARY_SUFFIX}$") - set (${_PYTHON_PREFIX}_RUNTIME_LIBRARY_DIRS ${${_PYTHON_PREFIX}_LIBRARY_DIRS}) - endif() - else() - _python_set_library_dirs (${_PYTHON_PREFIX}_RUNTIME_LIBRARY_DIRS - ${_PYTHON_PREFIX}_RUNTIME_LIBRARY_RELEASE ${_PYTHON_PREFIX}_RUNTIME_LIBRARY_DEBUG) - endif() - - set (${_PYTHON_PREFIX}_INCLUDE_DIRS "${${_PYTHON_PREFIX}_INCLUDE_DIR}") - - mark_as_advanced (${_PYTHON_PREFIX}_RUNTIME_LIBRARY_RELEASE - ${_PYTHON_PREFIX}_RUNTIME_LIBRARY_DEBUG - ${_PYTHON_PREFIX}_INCLUDE_DIR) - - if ((${_PYTHON_PREFIX}_LIBRARY_RELEASE OR ${_PYTHON_PREFIX}_LIBRARY_DEBUG) - AND ${_PYTHON_PREFIX}_INCLUDE_DIR) - if (${_PYTHON_PREFIX}_Interpreter_FOUND OR ${_PYTHON_PREFIX}_Compiler_FOUND) - # development environment must be compatible with interpreter/compiler - if (${_${_PYTHON_PREFIX}_VERSION_MAJOR}.${_${_PYTHON_PREFIX}_VERSION_MINOR} VERSION_EQUAL ${${_PYTHON_PREFIX}_VERSION_MAJOR}.${${_PYTHON_PREFIX}_VERSION_MINOR}) - set (${_PYTHON_PREFIX}_Development_FOUND TRUE) - endif() - elseif (${_PYTHON_PREFIX}_VERSION_MAJOR VERSION_EQUAL _${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR) - set (${_PYTHON_PREFIX}_Development_FOUND TRUE) - endif() - endif() - - # Restore the original find library ordering - if (DEFINED _${_PYTHON_PREFIX}_CMAKE_FIND_LIBRARY_SUFFIXES) - set (CMAKE_FIND_LIBRARY_SUFFIXES ${_${_PYTHON_PREFIX}_CMAKE_FIND_LIBRARY_SUFFIXES}) - endif() -endif() - -if ("NumPy" IN_LIST ${_PYTHON_PREFIX}_FIND_COMPONENTS AND ${_PYTHON_PREFIX}_Interpreter_FOUND) - list (APPEND _${_PYTHON_PREFIX}_CACHED_VARS ${_PYTHON_PREFIX}_NumPy_INCLUDE_DIR) - if (${_PYTHON_PREFIX}_FIND_REQUIRED_NumPy) - list (APPEND _${_PYTHON_PREFIX}_REQUIRED_VARS ${_PYTHON_PREFIX}_NumPy_INCLUDE_DIR) - endif() - execute_process( - COMMAND "${${_PYTHON_PREFIX}_EXECUTABLE}" -c - "from __future__ import print_function\ntry: import numpy; print(numpy.get_include(), end='')\nexcept:pass\n" - RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT - OUTPUT_VARIABLE _${_PYTHON_PREFIX}_NumPy_PATH - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE) - if (NOT _${_PYTHON_PREFIX}_RESULT) - find_path(${_PYTHON_PREFIX}_NumPy_INCLUDE_DIR - NAMES "numpy/arrayobject.h" "numpy/numpyconfig.h" - HINTS "${_${_PYTHON_PREFIX}_NumPy_PATH}" - NO_DEFAULT_PATH) - endif() - if(${_PYTHON_PREFIX}_NumPy_INCLUDE_DIR) - set(${_PYTHON_PREFIX}_NumPy_INCLUDE_DIRS "${${_PYTHON_PREFIX}_NumPy_INCLUDE_DIR}") - set(${_PYTHON_PREFIX}_NumPy_FOUND TRUE) - endif() - if(${_PYTHON_PREFIX}_NumPy_FOUND) - execute_process( - COMMAND "${${_PYTHON_PREFIX}_EXECUTABLE}" -c - "from __future__ import print_function\ntry: import numpy; print(numpy.__version__, end='')\nexcept:pass\n" - RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT - OUTPUT_VARIABLE _${_PYTHON_PREFIX}_NumPy_VERSION) - if (NOT _${_PYTHON_PREFIX}_RESULT) - set(${_PYTHON_PREFIX}_NumPy_VERSION "${_${_PYTHON_PREFIX}_NumPy_VERSION}") - endif() - endif() - # final step: set NumPy founded only if Development component is founded as well - if (NOT ${_PYTHON_PREFIX}_Development_FOUND) - set(${_PYTHON_PREFIX}_NumPy_FOUND FALSE) - endif() -endif() - -# final validation -if (${_PYTHON_PREFIX}_VERSION_MAJOR AND - NOT ${_PYTHON_PREFIX}_VERSION_MAJOR VERSION_EQUAL _${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR) - _python_display_failure ("Could NOT find ${_PYTHON_PREFIX}: Found unsuitable major version \"${${_PYTHON_PREFIX}_VERSION_MAJOR}\", but required major version is exact version \"${_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR}\"") -endif() - -include (${CMAKE_CURRENT_LIST_DIR}/../FindPackageHandleStandardArgs.cmake) -find_package_handle_standard_args (${_PYTHON_PREFIX} - REQUIRED_VARS ${_${_PYTHON_PREFIX}_REQUIRED_VARS} - VERSION_VAR ${_PYTHON_PREFIX}_VERSION - HANDLE_COMPONENTS) - -# Create imported targets and helper functions -if(_${_PYTHON_PREFIX}_CMAKE_ROLE STREQUAL "PROJECT") - if ("Interpreter" IN_LIST ${_PYTHON_PREFIX}_FIND_COMPONENTS - AND ${_PYTHON_PREFIX}_Interpreter_FOUND - AND NOT TARGET ${_PYTHON_PREFIX}::Interpreter) - add_executable (${_PYTHON_PREFIX}::Interpreter IMPORTED) - set_property (TARGET ${_PYTHON_PREFIX}::Interpreter - PROPERTY IMPORTED_LOCATION "${${_PYTHON_PREFIX}_EXECUTABLE}") - endif() - - if ("Compiler" IN_LIST ${_PYTHON_PREFIX}_FIND_COMPONENTS - AND ${_PYTHON_PREFIX}_Compiler_FOUND - AND NOT TARGET ${_PYTHON_PREFIX}::Compiler) - add_executable (${_PYTHON_PREFIX}::Compiler IMPORTED) - set_property (TARGET ${_PYTHON_PREFIX}::Compiler - PROPERTY IMPORTED_LOCATION "${${_PYTHON_PREFIX}_COMPILER}") - endif() - - if ("Development" IN_LIST ${_PYTHON_PREFIX}_FIND_COMPONENTS - AND ${_PYTHON_PREFIX}_Development_FOUND AND NOT TARGET ${_PYTHON_PREFIX}::Python) - - if (${_PYTHON_PREFIX}_LIBRARY_RELEASE MATCHES "${CMAKE_SHARED_LIBRARY_SUFFIX}$" - OR ${_PYTHON_PREFIX}_LIBRARY_DEBUG MATCHES "${CMAKE_SHARED_LIBRARY_SUFFIX}$" - OR ${_PYTHON_PREFIX}_RUNTIME_LIBRARY_RELEASE OR ${_PYTHON_PREFIX}_RUNTIME_LIBRARY_DEBUG) - set (_${_PYTHON_PREFIX}_LIBRARY_TYPE SHARED) - else() - set (_${_PYTHON_PREFIX}_LIBRARY_TYPE STATIC) - endif() - - add_library (${_PYTHON_PREFIX}::Python ${_${_PYTHON_PREFIX}_LIBRARY_TYPE} IMPORTED) - - set_property (TARGET ${_PYTHON_PREFIX}::Python - PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${${_PYTHON_PREFIX}_INCLUDE_DIR}") - - if ((${_PYTHON_PREFIX}_LIBRARY_RELEASE AND ${_PYTHON_PREFIX}_RUNTIME_LIBRARY_RELEASE) - OR (${_PYTHON_PREFIX}_LIBRARY_DEBUG AND ${_PYTHON_PREFIX}_RUNTIME_LIBRARY_DEBUG)) - # System manage shared libraries in two parts: import and runtime - if (${_PYTHON_PREFIX}_LIBRARY_RELEASE AND ${_PYTHON_PREFIX}_LIBRARY_DEBUG) - set_property (TARGET ${_PYTHON_PREFIX}::Python PROPERTY IMPORTED_CONFIGURATIONS RELEASE DEBUG) - set_target_properties (${_PYTHON_PREFIX}::Python - PROPERTIES IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "C" - IMPORTED_IMPLIB_RELEASE "${${_PYTHON_PREFIX}_LIBRARY_RELEASE}" - IMPORTED_LOCATION_RELEASE "${${_PYTHON_PREFIX}_RUNTIME_LIBRARY_RELEASE}") - set_target_properties (${_PYTHON_PREFIX}::Python - PROPERTIES IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "C" - IMPORTED_IMPLIB_DEBUG "${${_PYTHON_PREFIX}_LIBRARY_DEBUG}" - IMPORTED_LOCATION_DEBUG "${${_PYTHON_PREFIX}_RUNTIME_LIBRARY_DEBUG}") - else() - set_target_properties (${_PYTHON_PREFIX}::Python - PROPERTIES IMPORTED_LINK_INTERFACE_LANGUAGES "C" - IMPORTED_IMPLIB "${${_PYTHON_PREFIX}_LIBRARY}" - IMPORTED_LOCATION "${${_PYTHON_PREFIX}_RUNTIME_LIBRARY}") - endif() - else() - if (${_PYTHON_PREFIX}_LIBRARY_RELEASE AND ${_PYTHON_PREFIX}_LIBRARY_DEBUG) - set_property (TARGET ${_PYTHON_PREFIX}::Python PROPERTY IMPORTED_CONFIGURATIONS RELEASE DEBUG) - set_target_properties (${_PYTHON_PREFIX}::Python - PROPERTIES IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "C" - IMPORTED_LOCATION_RELEASE "${${_PYTHON_PREFIX}_LIBRARY_RELEASE}") - set_target_properties (${_PYTHON_PREFIX}::Python - PROPERTIES IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "C" - IMPORTED_LOCATION_DEBUG "${${_PYTHON_PREFIX}_LIBRARY_DEBUG}") - else() - set_target_properties (${_PYTHON_PREFIX}::Python - PROPERTIES IMPORTED_LINK_INTERFACE_LANGUAGES "C" - IMPORTED_LOCATION "${${_PYTHON_PREFIX}_LIBRARY}") - endif() - endif() - - if (_${_PYTHON_PREFIX}_CONFIG AND _${_PYTHON_PREFIX}_LIBRARY_TYPE STREQUAL "STATIC") - # extend link information with dependent libraries - execute_process (COMMAND "${_${_PYTHON_PREFIX}_CONFIG}" --ldflags - RESULT_VARIABLE _${_PYTHON_PREFIX}_RESULT - OUTPUT_VARIABLE _${_PYTHON_PREFIX}_FLAGS - ERROR_QUIET - OUTPUT_STRIP_TRAILING_WHITESPACE) - if (NOT _${_PYTHON_PREFIX}_RESULT) - string (REGEX MATCHALL "-[Ll][^ ]+" _${_PYTHON_PREFIX}_LINK_LIBRARIES "${_${_PYTHON_PREFIX}_FLAGS}") - # remove elements relative to python library itself - list (FILTER _${_PYTHON_PREFIX}_LINK_LIBRARIES EXCLUDE REGEX "-lpython") - foreach (_${_PYTHON_PREFIX}_DIR IN LISTS ${_PYTHON_PREFIX}_LIBRARY_DIRS) - list (FILTER _${_PYTHON_PREFIX}_LINK_LIBRARIES EXCLUDE REGEX "-L${${_PYTHON_PREFIX}_DIR}") - endforeach() - set_property (TARGET ${_PYTHON_PREFIX}::Python - PROPERTY INTERFACE_LINK_LIBRARIES ${_${_PYTHON_PREFIX}_LINK_LIBRARIES}) - endif() - endif() - - # - # PYTHON_ADD_LIBRARY ( [STATIC|SHARED|MODULE] src1 src2 ... srcN) - # It is used to build modules for python. - # - function (__${_PYTHON_PREFIX}_ADD_LIBRARY prefix name) - cmake_parse_arguments (PARSE_ARGV 2 PYTHON_ADD_LIBRARY - "STATIC;SHARED;MODULE" "" "") - - unset (type) - if (NOT (PYTHON_ADD_LIBRARY_STATIC - OR PYTHON_ADD_LIBRARY_SHARED - OR PYTHON_ADD_LIBRARY_MODULE)) - set (type MODULE) - endif() - add_library (${name} ${type} ${ARGN}) - target_link_libraries (${name} PRIVATE ${prefix}::Python) - - # customize library name to follow module name rules - get_property (type TARGET ${name} PROPERTY TYPE) - if (type STREQUAL "MODULE_LIBRARY") - set_property (TARGET ${name} PROPERTY PREFIX "") - if(CMAKE_SYSTEM_NAME STREQUAL "Windows") - set_property (TARGET ${name} PROPERTY SUFFIX ".pyd") - endif() - endif() - endfunction() - endif() - - if ("NumPy" IN_LIST ${_PYTHON_PREFIX}_FIND_COMPONENTS AND ${_PYTHON_PREFIX}_NumPy_FOUND - AND NOT TARGET ${_PYTHON_PREFIX}::NumPy AND TARGET ${_PYTHON_PREFIX}::Python) - add_library (${_PYTHON_PREFIX}::NumPy INTERFACE IMPORTED) - set_property (TARGET ${_PYTHON_PREFIX}::NumPy - PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${${_PYTHON_PREFIX}_NumPy_INCLUDE_DIR}") - target_link_libraries (${_PYTHON_PREFIX}::NumPy INTERFACE ${_PYTHON_PREFIX}::Python) - endif() -endif() - -# final clean-up - -# Restore CMAKE_FIND_APPBUNDLE -if (DEFINED _${_PYTHON_PREFIX}_CMAKE_FIND_APPBUNDLE) - set (CMAKE_FIND_APPBUNDLE ${_${_PYTHON_PREFIX}_CMAKE_FIND_APPBUNDLE}) - unset (_${_PYTHON_PREFIX}_CMAKE_FIND_APPBUNDLE) -else() - unset (CMAKE_FIND_APPBUNDLE) -endif() -# Restore CMAKE_FIND_FRAMEWORK -if (DEFINED _${_PYTHON_PREFIX}_CMAKE_FIND_FRAMEWORK) - set (CMAKE_FIND_FRAMEWORK ${_${_PYTHON_PREFIX}_CMAKE_FIND_FRAMEWORK}) - unset (_${_PYTHON_PREFIX}_CMAKE_FIND_FRAMEWORK) -else() - unset (CMAKE_FIND_FRAMEWORK) -endif() - -unset (_${_PYTHON_PREFIX}_CONFIG CACHE) diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindRuby.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindRuby.cmake deleted file mode 100644 index 58debdd..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/FindRuby.cmake +++ /dev/null @@ -1,294 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - -#[=======================================================================[.rst: -FindRuby --------- - -Find Ruby - -This module finds if Ruby is installed and determines where the -include files and libraries are. Ruby 1.8, 1.9, 2.0 and 2.1 are -supported. - -The minimum required version of Ruby can be specified using the -standard syntax, e.g. find_package(Ruby 1.8) - -It also determines what the name of the library is. This code sets -the following variables: - -``RUBY_EXECUTABLE`` - full path to the ruby binary -``RUBY_INCLUDE_DIRS`` - include dirs to be used when using the ruby library -``RUBY_LIBRARY`` - full path to the ruby library -``RUBY_VERSION`` - the version of ruby which was found, e.g. "1.8.7" -``RUBY_FOUND`` - set to true if ruby ws found successfully - -Also: - -``RUBY_INCLUDE_PATH`` - same as RUBY_INCLUDE_DIRS, only provided for compatibility reasons, don't use it -#]=======================================================================] - -# RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'` -# RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'` -# RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'` -# RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"libdir"@:>@)'` -# RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'` - -# uncomment the following line to get debug output for this file -# set(_RUBY_DEBUG_OUTPUT TRUE) - -# Determine the list of possible names of the ruby executable depending -# on which version of ruby is required -set(_RUBY_POSSIBLE_EXECUTABLE_NAMES ruby) - -# if 1.9 is required, don't look for ruby18 and ruby1.8, default to version 1.8 -if(DEFINED Ruby_FIND_VERSION_MAJOR AND DEFINED Ruby_FIND_VERSION_MINOR) - set(Ruby_FIND_VERSION_SHORT_NODOT "${Ruby_FIND_VERSION_MAJOR}${RUBY_FIND_VERSION_MINOR}") - # we can't construct that if only major version is given - set(_RUBY_POSSIBLE_EXECUTABLE_NAMES - ruby${Ruby_FIND_VERSION_MAJOR}.${Ruby_FIND_VERSION_MINOR} - ruby${Ruby_FIND_VERSION_MAJOR}${Ruby_FIND_VERSION_MINOR} - ${_RUBY_POSSIBLE_EXECUTABLE_NAMES}) -else() - set(Ruby_FIND_VERSION_SHORT_NODOT "18") -endif() - -if(NOT Ruby_FIND_VERSION_EXACT) - list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby2.4 ruby24) - list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby2.3 ruby23) - list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby2.2 ruby22) - list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby2.1 ruby21) - list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby2.0 ruby20) - list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby1.9 ruby19) - - # if we want a version below 1.9, also look for ruby 1.8 - if("${Ruby_FIND_VERSION_SHORT_NODOT}" VERSION_LESS "19") - list(APPEND _RUBY_POSSIBLE_EXECUTABLE_NAMES ruby1.8 ruby18) - endif() - - list(REMOVE_DUPLICATES _RUBY_POSSIBLE_EXECUTABLE_NAMES) -endif() - -find_program(RUBY_EXECUTABLE NAMES ${_RUBY_POSSIBLE_EXECUTABLE_NAMES}) - -if(RUBY_EXECUTABLE AND NOT RUBY_VERSION_MAJOR) - function(_RUBY_CONFIG_VAR RBVAR OUTVAR) - execute_process(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['${RBVAR}']" - RESULT_VARIABLE _RUBY_SUCCESS - OUTPUT_VARIABLE _RUBY_OUTPUT - ERROR_QUIET) - if(_RUBY_SUCCESS OR _RUBY_OUTPUT STREQUAL "") - execute_process(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print Config::CONFIG['${RBVAR}']" - RESULT_VARIABLE _RUBY_SUCCESS - OUTPUT_VARIABLE _RUBY_OUTPUT - ERROR_QUIET) - endif() - set(${OUTVAR} "${_RUBY_OUTPUT}" PARENT_SCOPE) - endfunction() - - - # query the ruby version - _RUBY_CONFIG_VAR("MAJOR" RUBY_VERSION_MAJOR) - _RUBY_CONFIG_VAR("MINOR" RUBY_VERSION_MINOR) - _RUBY_CONFIG_VAR("TEENY" RUBY_VERSION_PATCH) - - # query the different directories - _RUBY_CONFIG_VAR("archdir" RUBY_ARCH_DIR) - _RUBY_CONFIG_VAR("arch" RUBY_ARCH) - _RUBY_CONFIG_VAR("rubyhdrdir" RUBY_HDR_DIR) - _RUBY_CONFIG_VAR("rubyarchhdrdir" RUBY_ARCHHDR_DIR) - _RUBY_CONFIG_VAR("libdir" RUBY_POSSIBLE_LIB_DIR) - _RUBY_CONFIG_VAR("rubylibdir" RUBY_RUBY_LIB_DIR) - - # site_ruby - _RUBY_CONFIG_VAR("sitearchdir" RUBY_SITEARCH_DIR) - _RUBY_CONFIG_VAR("sitelibdir" RUBY_SITELIB_DIR) - - # vendor_ruby available ? - execute_process(COMMAND ${RUBY_EXECUTABLE} -r vendor-specific -e "print 'true'" - OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY ERROR_QUIET) - - if(RUBY_HAS_VENDOR_RUBY) - _RUBY_CONFIG_VAR("vendorlibdir" RUBY_VENDORLIB_DIR) - _RUBY_CONFIG_VAR("vendorarchdir" RUBY_VENDORARCH_DIR) - endif() - - # save the results in the cache so we don't have to run ruby the next time again - set(RUBY_VERSION_MAJOR ${RUBY_VERSION_MAJOR} CACHE PATH "The Ruby major version" FORCE) - set(RUBY_VERSION_MINOR ${RUBY_VERSION_MINOR} CACHE PATH "The Ruby minor version" FORCE) - set(RUBY_VERSION_PATCH ${RUBY_VERSION_PATCH} CACHE PATH "The Ruby patch version" FORCE) - set(RUBY_ARCH_DIR ${RUBY_ARCH_DIR} CACHE PATH "The Ruby arch dir" FORCE) - set(RUBY_HDR_DIR ${RUBY_HDR_DIR} CACHE PATH "The Ruby header dir (1.9+)" FORCE) - set(RUBY_ARCHHDR_DIR ${RUBY_ARCHHDR_DIR} CACHE PATH "The Ruby arch header dir (2.0+)" FORCE) - set(RUBY_POSSIBLE_LIB_DIR ${RUBY_POSSIBLE_LIB_DIR} CACHE PATH "The Ruby lib dir" FORCE) - set(RUBY_RUBY_LIB_DIR ${RUBY_RUBY_LIB_DIR} CACHE PATH "The Ruby ruby-lib dir" FORCE) - set(RUBY_SITEARCH_DIR ${RUBY_SITEARCH_DIR} CACHE PATH "The Ruby site arch dir" FORCE) - set(RUBY_SITELIB_DIR ${RUBY_SITELIB_DIR} CACHE PATH "The Ruby site lib dir" FORCE) - set(RUBY_HAS_VENDOR_RUBY ${RUBY_HAS_VENDOR_RUBY} CACHE BOOL "Vendor Ruby is available" FORCE) - set(RUBY_VENDORARCH_DIR ${RUBY_VENDORARCH_DIR} CACHE PATH "The Ruby vendor arch dir" FORCE) - set(RUBY_VENDORLIB_DIR ${RUBY_VENDORLIB_DIR} CACHE PATH "The Ruby vendor lib dir" FORCE) - - mark_as_advanced( - RUBY_ARCH_DIR - RUBY_ARCH - RUBY_HDR_DIR - RUBY_ARCHHDR_DIR - RUBY_POSSIBLE_LIB_DIR - RUBY_RUBY_LIB_DIR - RUBY_SITEARCH_DIR - RUBY_SITELIB_DIR - RUBY_HAS_VENDOR_RUBY - RUBY_VENDORARCH_DIR - RUBY_VENDORLIB_DIR - RUBY_VERSION_MAJOR - RUBY_VERSION_MINOR - RUBY_VERSION_PATCH - ) -endif() - -# In case RUBY_EXECUTABLE could not be executed (e.g. cross compiling) -# try to detect which version we found. This is not too good. -if(RUBY_EXECUTABLE AND NOT RUBY_VERSION_MAJOR) - # by default assume 1.8.0 - set(RUBY_VERSION_MAJOR 1) - set(RUBY_VERSION_MINOR 8) - set(RUBY_VERSION_PATCH 0) - # check whether we found 1.9.x - if(${RUBY_EXECUTABLE} MATCHES "ruby1\\.?9") - set(RUBY_VERSION_MAJOR 1) - set(RUBY_VERSION_MINOR 9) - endif() - # check whether we found 2.0.x - if(${RUBY_EXECUTABLE} MATCHES "ruby2\\.?0") - set(RUBY_VERSION_MAJOR 2) - set(RUBY_VERSION_MINOR 0) - endif() - # check whether we found 2.1.x - if(${RUBY_EXECUTABLE} MATCHES "ruby2\\.?1") - set(RUBY_VERSION_MAJOR 2) - set(RUBY_VERSION_MINOR 1) - endif() - # check whether we found 2.2.x - if(${RUBY_EXECUTABLE} MATCHES "ruby2\\.?2") - set(RUBY_VERSION_MAJOR 2) - set(RUBY_VERSION_MINOR 2) - endif() - # check whether we found 2.3.x - if(${RUBY_EXECUTABLE} MATCHES "ruby2\\.?3") - set(RUBY_VERSION_MAJOR 2) - set(RUBY_VERSION_MINOR 3) - endif() - # check whether we found 2.4.x - if(${RUBY_EXECUTABLE} MATCHES "ruby2\\.?4") - set(RUBY_VERSION_MAJOR 2) - set(RUBY_VERSION_MINOR 4) - endif() -endif() - -if(RUBY_VERSION_MAJOR) - set(RUBY_VERSION "${RUBY_VERSION_MAJOR}.${RUBY_VERSION_MINOR}.${RUBY_VERSION_PATCH}") - set(_RUBY_VERSION_SHORT "${RUBY_VERSION_MAJOR}.${RUBY_VERSION_MINOR}") - set(_RUBY_VERSION_SHORT_NODOT "${RUBY_VERSION_MAJOR}${RUBY_VERSION_MINOR}") - set(_RUBY_NODOT_VERSION "${RUBY_VERSION_MAJOR}${RUBY_VERSION_MINOR}${RUBY_VERSION_PATCH}") -endif() - -find_path(RUBY_INCLUDE_DIR - NAMES ruby.h - HINTS - ${RUBY_HDR_DIR} - ${RUBY_ARCH_DIR} - /usr/lib/ruby/${_RUBY_VERSION_SHORT}/i586-linux-gnu/ ) - -set(RUBY_INCLUDE_DIRS ${RUBY_INCLUDE_DIR} ) - -# if ruby > 1.8 is required or if ruby > 1.8 was found, search for the config.h dir -if( "${Ruby_FIND_VERSION_SHORT_NODOT}" GREATER 18 OR "${_RUBY_VERSION_SHORT_NODOT}" GREATER 18 OR RUBY_HDR_DIR) - find_path(RUBY_CONFIG_INCLUDE_DIR - NAMES ruby/config.h config.h - HINTS - ${RUBY_HDR_DIR}/${RUBY_ARCH} - ${RUBY_ARCH_DIR} - ${RUBY_ARCHHDR_DIR} - ) - - set(RUBY_INCLUDE_DIRS ${RUBY_INCLUDE_DIRS} ${RUBY_CONFIG_INCLUDE_DIR} ) -endif() - - -# Determine the list of possible names for the ruby library -set(_RUBY_POSSIBLE_LIB_NAMES ruby ruby-static ruby${_RUBY_VERSION_SHORT} ruby${_RUBY_VERSION_SHORT_NODOT} ruby-${_RUBY_VERSION_SHORT} ruby-${RUBY_VERSION}) - -if(WIN32) - set( _RUBY_MSVC_RUNTIME "" ) - if( MSVC_VERSION EQUAL 1200 ) - set( _RUBY_MSVC_RUNTIME "60" ) - endif() - if( MSVC_VERSION EQUAL 1300 ) - set( _RUBY_MSVC_RUNTIME "70" ) - endif() - if( MSVC_VERSION EQUAL 1310 ) - set( _RUBY_MSVC_RUNTIME "71" ) - endif() - if( MSVC_VERSION EQUAL 1400 ) - set( _RUBY_MSVC_RUNTIME "80" ) - endif() - if( MSVC_VERSION EQUAL 1500 ) - set( _RUBY_MSVC_RUNTIME "90" ) - endif() - - set(_RUBY_ARCH_PREFIX "") - if(CMAKE_SIZEOF_VOID_P EQUAL 8) - set(_RUBY_ARCH_PREFIX "x64-") - endif() - - list(APPEND _RUBY_POSSIBLE_LIB_NAMES - "${_RUBY_ARCH_PREFIX}msvcr${_RUBY_MSVC_RUNTIME}-ruby${_RUBY_NODOT_VERSION}" - "${_RUBY_ARCH_PREFIX}msvcr${_RUBY_MSVC_RUNTIME}-ruby${_RUBY_NODOT_VERSION}-static" - "${_RUBY_ARCH_PREFIX}msvcrt-ruby${_RUBY_NODOT_VERSION}" - "${_RUBY_ARCH_PREFIX}msvcrt-ruby${_RUBY_NODOT_VERSION}-static" ) -endif() - -find_library(RUBY_LIBRARY NAMES ${_RUBY_POSSIBLE_LIB_NAMES} HINTS ${RUBY_POSSIBLE_LIB_DIR} ) - -include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) -set(_RUBY_REQUIRED_VARS RUBY_EXECUTABLE RUBY_INCLUDE_DIR RUBY_LIBRARY) -if(_RUBY_VERSION_SHORT_NODOT GREATER 18) - list(APPEND _RUBY_REQUIRED_VARS RUBY_CONFIG_INCLUDE_DIR) -endif() - -if(_RUBY_DEBUG_OUTPUT) - message(STATUS "--------FindRuby.cmake debug------------") - message(STATUS "_RUBY_POSSIBLE_EXECUTABLE_NAMES: ${_RUBY_POSSIBLE_EXECUTABLE_NAMES}") - message(STATUS "_RUBY_POSSIBLE_LIB_NAMES: ${_RUBY_POSSIBLE_LIB_NAMES}") - message(STATUS "RUBY_ARCH_DIR: ${RUBY_ARCH_DIR}") - message(STATUS "RUBY_HDR_DIR: ${RUBY_HDR_DIR}") - message(STATUS "RUBY_POSSIBLE_LIB_DIR: ${RUBY_POSSIBLE_LIB_DIR}") - message(STATUS "Found RUBY_VERSION: \"${RUBY_VERSION}\" , short: \"${_RUBY_VERSION_SHORT}\", nodot: \"${_RUBY_VERSION_SHORT_NODOT}\"") - message(STATUS "_RUBY_REQUIRED_VARS: ${_RUBY_REQUIRED_VARS}") - message(STATUS "RUBY_EXECUTABLE: ${RUBY_EXECUTABLE}") - message(STATUS "RUBY_LIBRARY: ${RUBY_LIBRARY}") - message(STATUS "RUBY_INCLUDE_DIR: ${RUBY_INCLUDE_DIR}") - message(STATUS "RUBY_CONFIG_INCLUDE_DIR: ${RUBY_CONFIG_INCLUDE_DIR}") - message(STATUS "--------------------") -endif() - -FIND_PACKAGE_HANDLE_STANDARD_ARGS(Ruby REQUIRED_VARS ${_RUBY_REQUIRED_VARS} - VERSION_VAR RUBY_VERSION ) - -mark_as_advanced( - RUBY_EXECUTABLE - RUBY_LIBRARY - RUBY_INCLUDE_DIR - RUBY_CONFIG_INCLUDE_DIR - ) - -# Set some variables for compatibility with previous version of this file -set(RUBY_POSSIBLE_LIB_PATH ${RUBY_POSSIBLE_LIB_DIR}) -set(RUBY_RUBY_LIB_PATH ${RUBY_RUBY_LIB_DIR}) -set(RUBY_INCLUDE_PATH ${RUBY_INCLUDE_DIRS}) diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Findosg_functions.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Findosg_functions.cmake deleted file mode 100644 index 40df4d5..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Findosg_functions.cmake +++ /dev/null @@ -1,86 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - -#[=======================================================================[.rst: -Findosg_functions ------------------ - - - - - -This CMake file contains two macros to assist with searching for OSG -libraries and nodekits. Please see FindOpenSceneGraph.cmake for full -documentation. -#]=======================================================================] - -include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) - -# -# OSG_FIND_PATH -# -function(OSG_FIND_PATH module header) - string(TOUPPER ${module} module_uc) - - # Try the user's environment request before anything else. - find_path(${module_uc}_INCLUDE_DIR ${header} - HINTS - ENV ${module_uc}_DIR - ENV OSG_DIR - ENV OSGDIR - ENV OSG_ROOT - ${${module_uc}_DIR} - ${OSG_DIR} - PATH_SUFFIXES include - ) -endfunction() - - -# -# OSG_FIND_LIBRARY -# -function(OSG_FIND_LIBRARY module library) - string(TOUPPER ${module} module_uc) - - find_library(${module_uc}_LIBRARY_RELEASE - NAMES ${library} - HINTS - ENV ${module_uc}_DIR - ENV OSG_DIR - ENV OSGDIR - ENV OSG_ROOT - ${${module_uc}_DIR} - ${OSG_DIR} - PATH_SUFFIXES lib - ) - - find_library(${module_uc}_LIBRARY_DEBUG - NAMES ${library}d - HINTS - ENV ${module_uc}_DIR - ENV OSG_DIR - ENV OSGDIR - ENV OSG_ROOT - ${${module_uc}_DIR} - ${OSG_DIR} - PATH_SUFFIXES lib - ) - - select_library_configurations(${module_uc}) - - # the variables set by select_library_configurations go out of scope - # here, so we need to set them again - set(${module_uc}_LIBRARY ${${module_uc}_LIBRARY} PARENT_SCOPE) - set(${module_uc}_LIBRARIES ${${module_uc}_LIBRARIES} PARENT_SCOPE) -endfunction() - -# -# OSG_MARK_AS_ADVANCED -# Just a convenience function for calling MARK_AS_ADVANCED -# -function(OSG_MARK_AS_ADVANCED _module) - string(TOUPPER ${_module} _module_UC) - mark_as_advanced(${_module_UC}_INCLUDE_DIR) - mark_as_advanced(${_module_UC}_LIBRARY) - mark_as_advanced(${_module_UC}_LIBRARY_DEBUG) -endfunction() diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/KDE3Macros.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/KDE3Macros.cmake deleted file mode 100644 index b3f31ed..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/KDE3Macros.cmake +++ /dev/null @@ -1,399 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - -# - -# See FindKDE3.cmake for documentation. -# -# this file contains the following macros: -# KDE3_ADD_DCOP_SKELS -# KDE3_ADD_DCOP_STUBS -# KDE3_ADD_MOC_FILES -# KDE3_ADD_UI_FILES -# KDE3_ADD_KCFG_FILES -# KDE3_AUTOMOC -# KDE3_INSTALL_LIBTOOL_FILE -# KDE3_CREATE_FINAL_FILE -# KDE3_ADD_KPART -# KDE3_ADD_KDEINIT_EXECUTABLE -# KDE3_ADD_EXECUTABLE - - -#neundorf@kde.org - -include(AddFileDependencies) - -#create the kidl and skeletion file for dcop stuff -#usage: KDE_ADD_COP_SKELS(foo_SRCS ${dcop_headers}) -macro(KDE3_ADD_DCOP_SKELS _sources) - foreach (_current_FILE ${ARGN}) - - get_filename_component(_tmp_FILE ${_current_FILE} ABSOLUTE) - get_filename_component(_basename ${_tmp_FILE} NAME_WE) - - set(_skel ${CMAKE_CURRENT_BINARY_DIR}/${_basename}_skel.cpp) - set(_kidl ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.kidl) - - if (NOT HAVE_${_basename}_KIDL_RULE) - set(HAVE_${_basename}_KIDL_RULE ON) - - add_custom_command(OUTPUT ${_kidl} - COMMAND ${KDE3_DCOPIDL_EXECUTABLE} - ARGS ${_tmp_FILE} > ${_kidl} - DEPENDS ${_tmp_FILE} - ) - - endif () - - if (NOT HAVE_${_basename}_SKEL_RULE) - set(HAVE_${_basename}_SKEL_RULE ON) - - add_custom_command(OUTPUT ${_skel} - COMMAND ${KDE3_DCOPIDL2CPP_EXECUTABLE} - ARGS --c++-suffix cpp --no-signals --no-stub ${_kidl} - DEPENDS ${_kidl} - ) - - endif () - - set(${_sources} ${${_sources}} ${_skel}) - - endforeach () - -endmacro() - - -macro(KDE3_ADD_DCOP_STUBS _sources) - foreach (_current_FILE ${ARGN}) - - get_filename_component(_tmp_FILE ${_current_FILE} ABSOLUTE) - - get_filename_component(_basename ${_tmp_FILE} NAME_WE) - - set(_stub_CPP ${CMAKE_CURRENT_BINARY_DIR}/${_basename}_stub.cpp) - set(_kidl ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.kidl) - - if (NOT HAVE_${_basename}_KIDL_RULE) - set(HAVE_${_basename}_KIDL_RULE ON) - - - add_custom_command(OUTPUT ${_kidl} - COMMAND ${KDE3_DCOPIDL_EXECUTABLE} - ARGS ${_tmp_FILE} > ${_kidl} - DEPENDS ${_tmp_FILE} - ) - - endif () - - - if (NOT HAVE_${_basename}_STUB_RULE) - set(HAVE_${_basename}_STUB_RULE ON) - - add_custom_command(OUTPUT ${_stub_CPP} - COMMAND ${KDE3_DCOPIDL2CPP_EXECUTABLE} - ARGS --c++-suffix cpp --no-signals --no-skel ${_kidl} - DEPENDS ${_kidl} - ) - - endif () - - set(${_sources} ${${_sources}} ${_stub_CPP}) - - endforeach () - -endmacro() - - -macro(KDE3_ADD_KCFG_FILES _sources) - foreach (_current_FILE ${ARGN}) - - get_filename_component(_tmp_FILE ${_current_FILE} ABSOLUTE) - - get_filename_component(_basename ${_tmp_FILE} NAME_WE) - - file(READ ${_tmp_FILE} _contents) - string(REGEX REPLACE "^(.*\n)?File=([^\n]+)\n.*$" "\\2" _kcfg_FILE "${_contents}") - - set(_src_FILE ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp) - set(_header_FILE ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h) - - add_custom_command(OUTPUT ${_src_FILE} - COMMAND ${KDE3_KCFGC_EXECUTABLE} - ARGS ${CMAKE_CURRENT_SOURCE_DIR}/${_kcfg_FILE} ${_tmp_FILE} - DEPENDS ${_tmp_FILE} ${CMAKE_CURRENT_SOURCE_DIR}/${_kcfg_FILE} ) - - set(${_sources} ${${_sources}} ${_src_FILE}) - - endforeach () - -endmacro() - - -#create the moc files and add them to the list of sources -#usage: KDE_ADD_MOC_FILES(foo_SRCS ${moc_headers}) -macro(KDE3_ADD_MOC_FILES _sources) - foreach (_current_FILE ${ARGN}) - - get_filename_component(_tmp_FILE ${_current_FILE} ABSOLUTE) - - get_filename_component(_basename ${_tmp_FILE} NAME_WE) - set(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.moc.cpp) - - add_custom_command(OUTPUT ${_moc} - COMMAND ${QT_MOC_EXECUTABLE} - ARGS ${_tmp_FILE} -o ${_moc} - DEPENDS ${_tmp_FILE} - ) - - set(${_sources} ${${_sources}} ${_moc}) - - endforeach () -endmacro() - - -get_filename_component( KDE3_MODULE_DIR ${CMAKE_CURRENT_LIST_FILE} PATH) - -#create the implementation files from the ui files and add them to the list of sources -#usage: KDE_ADD_UI_FILES(foo_SRCS ${ui_files}) -macro(KDE3_ADD_UI_FILES _sources ) - foreach (_current_FILE ${ARGN}) - - get_filename_component(_tmp_FILE ${_current_FILE} ABSOLUTE) - - get_filename_component(_basename ${_tmp_FILE} NAME_WE) - set(_header ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h) - set(_src ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp) - set(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.moc.cpp) - - add_custom_command(OUTPUT ${_header} - COMMAND ${QT_UIC_EXECUTABLE} - ARGS -L ${KDE3_LIB_DIR}/kde3/plugins/designer -nounload -o ${_header} ${CMAKE_CURRENT_SOURCE_DIR}/${_current_FILE} - DEPENDS ${_tmp_FILE} - ) - - add_custom_command(OUTPUT ${_src} - COMMAND ${CMAKE_COMMAND} - ARGS - -DKDE_UIC_PLUGIN_DIR:FILEPATH=${KDE3_LIB_DIR}/kde3/plugins/designer - -DKDE_UIC_EXECUTABLE:FILEPATH=${QT_UIC_EXECUTABLE} - -DKDE_UIC_FILE:FILEPATH=${_tmp_FILE} - -DKDE_UIC_CPP_FILE:FILEPATH=${_src} - -DKDE_UIC_H_FILE:FILEPATH=${_header} - -P ${KDE3_MODULE_DIR}/kde3uic.cmake - DEPENDS ${_header} - ) - - add_custom_command(OUTPUT ${_moc} - COMMAND ${QT_MOC_EXECUTABLE} - ARGS ${_header} -o ${_moc} - DEPENDS ${_header} - ) - - set(${_sources} ${${_sources}} ${_src} ${_moc} ) - - endforeach () -endmacro() - - -macro(KDE3_AUTOMOC) - set(_matching_FILES ) - foreach (_current_FILE ${ARGN}) - - get_filename_component(_abs_FILE ${_current_FILE} ABSOLUTE) - - # if "SKIP_AUTOMOC" is set to true, we will not handle this file here. - # here. this is required to make bouic work correctly: - # we need to add generated .cpp files to the sources (to compile them), - # but we cannot let automoc handle them, as the .cpp files don't exist yet when - # cmake is run for the very first time on them -> however the .cpp files might - # exist at a later run. at that time we need to skip them, so that we don't add two - # different rules for the same moc file - get_source_file_property(_skip ${_abs_FILE} SKIP_AUTOMOC) - - if (EXISTS ${_abs_FILE} AND NOT _skip) - - file(STRINGS ${_abs_FILE} _match REGEX "#include +[^ ]+\\.moc[\">]") - - get_filename_component(_abs_PATH ${_abs_FILE} PATH) - - foreach (_current_MOC_INC IN LISTS _match) - string(REGEX MATCH "[^ <\"]+\\.moc" _current_MOC "${_current_MOC_INC}") - - get_filename_component(_basename ${_current_MOC} NAME_WE) -# set(_header ${CMAKE_CURRENT_SOURCE_DIR}/${_basename}.h) - set(_header ${_abs_PATH}/${_basename}.h) - set(_moc ${CMAKE_CURRENT_BINARY_DIR}/${_current_MOC}) - - add_custom_command(OUTPUT ${_moc} - COMMAND ${QT_MOC_EXECUTABLE} - ARGS ${_header} -o ${_moc} - DEPENDS ${_header} - ) - - ADD_FILE_DEPENDENCIES(${_abs_FILE} ${_moc}) - - endforeach () - unset(_match) - unset(_header) - unset(_moc) - endif () - endforeach () -endmacro() - -# only used internally by KDE3_INSTALL_ICONS -macro (_KDE3_ADD_ICON_INSTALL_RULE _install_SCRIPT _install_PATH _group _orig_NAME _install_NAME) - - # if the string doesn't match the pattern, the result is the full string, so all three have the same content - if (NOT ${_group} STREQUAL ${_install_NAME} ) - set(_icon_GROUP "actions") - - if (${_group} STREQUAL "mime") - set(_icon_GROUP "mimetypes") - endif () - - if (${_group} STREQUAL "filesys") - set(_icon_GROUP "filesystems") - endif () - - if (${_group} STREQUAL "device") - set(_icon_GROUP "devices") - endif () - - if (${_group} STREQUAL "app") - set(_icon_GROUP "apps") - endif () - - if (${_group} STREQUAL "action") - set(_icon_GROUP "actions") - endif () - -# message(STATUS "icon: ${_current_ICON} size: ${_size} group: ${_group} name: ${_name}" ) - install(FILES ${_orig_NAME} DESTINATION ${_install_PATH}/${_icon_GROUP}/ RENAME ${_install_NAME} ) - endif () - -endmacro () - - -macro (KDE3_INSTALL_ICONS _theme ) - set(_defaultpath "${CMAKE_INSTALL_PREFIX}/share/icons") - # first the png icons - file(GLOB _icons *.png) - foreach (_current_ICON ${_icons} ) - string(REGEX REPLACE "^.*/[a-zA-Z]+([0-9]+)\\-([a-z]+)\\-(.+\\.png)$" "\\1" _size "${_current_ICON}") - string(REGEX REPLACE "^.*/[a-zA-Z]+([0-9]+)\\-([a-z]+)\\-(.+\\.png)$" "\\2" _group "${_current_ICON}") - string(REGEX REPLACE "^.*/[a-zA-Z]+([0-9]+)\\-([a-z]+)\\-(.+\\.png)$" "\\3" _name "${_current_ICON}") - _KDE3_ADD_ICON_INSTALL_RULE(${CMAKE_CURRENT_BINARY_DIR}/install_icons.cmake - ${_defaultpath}/${_theme}/${_size}x${_size} - ${_group} ${_current_ICON} ${_name}) - endforeach () - - # and now the svg icons - file(GLOB _icons *.svgz) - foreach (_current_ICON ${_icons} ) - string(REGEX REPLACE "^.*/crsc\\-([a-z]+)\\-(.+\\.svgz)$" "\\1" _group "${_current_ICON}") - string(REGEX REPLACE "^.*/crsc\\-([a-z]+)\\-(.+\\.svgz)$" "\\2" _name "${_current_ICON}") - _KDE3_ADD_ICON_INSTALL_RULE(${CMAKE_CURRENT_BINARY_DIR}/install_icons.cmake - ${_defaultpath}/${_theme}/scalable - ${_group} ${_current_ICON} ${_name}) - endforeach () - -endmacro () - -macro(KDE3_INSTALL_LIBTOOL_FILE _target) - get_target_property(_target_location ${_target} LOCATION) - - get_filename_component(_laname ${_target_location} NAME_WE) - get_filename_component(_soname ${_target_location} NAME) - set(_laname ${CMAKE_CURRENT_BINARY_DIR}/${_laname}.la) - - file(WRITE ${_laname} "# ${_laname} - a libtool library file, generated by cmake \n") - file(APPEND ${_laname} "# The name that we can dlopen(3).\n") - file(APPEND ${_laname} "dlname='${_soname}'\n") - file(APPEND ${_laname} "# Names of this library\n") - if(CYGWIN) - file(APPEND ${_laname} "library_names='${_soname}'\n") - else() - file(APPEND ${_laname} "library_names='${_soname} ${_soname} ${_soname}'\n") - endif() - file(APPEND ${_laname} "# The name of the static archive\n") - file(APPEND ${_laname} "old_library=''\n") - file(APPEND ${_laname} "# Libraries that this one depends upon.\n") - file(APPEND ${_laname} "dependency_libs=''\n") -# file(APPEND ${_laname} "dependency_libs='${${_target}_LIB_DEPENDS}'\n") - file(APPEND ${_laname} "# Version information.\ncurrent=0\nage=0\nrevision=0\n") - file(APPEND ${_laname} "# Is this an already installed library?\ninstalled=yes\n") - file(APPEND ${_laname} "# Should we warn about portability when linking against -modules?\nshouldnotlink=yes\n") - file(APPEND ${_laname} "# Files to dlopen/dlpreopen\ndlopen=''\ndlpreopen=''\n") - file(APPEND ${_laname} "# Directory that this library needs to be installed in:\n") - file(APPEND ${_laname} "libdir='${CMAKE_INSTALL_PREFIX}/lib/kde3'\n") - - install_files(${KDE3_LIBTOOL_DIR} FILES ${_laname}) -endmacro() - - -macro(KDE3_CREATE_FINAL_FILE _filename) - file(WRITE ${_filename} "//autogenerated file\n") - foreach (_current_FILE ${ARGN}) - file(APPEND ${_filename} "#include \"${_current_FILE}\"\n") - endforeach () - -endmacro() - - -# option(KDE3_ENABLE_FINAL "Enable final all-in-one compilation") -option(KDE3_BUILD_TESTS "Build the tests") - - -macro(KDE3_ADD_KPART _target_NAME _with_PREFIX) -#is the first argument is "WITH_PREFIX" then keep the standard "lib" prefix, otherwise SET the prefix empty - if (${_with_PREFIX} STREQUAL "WITH_PREFIX") - set(_first_SRC) - else () - set(_first_SRC ${_with_PREFIX}) - endif () - -# if (KDE3_ENABLE_FINAL) -# KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${_first_SRC} ${ARGN}) -# add_library(${_target_NAME} MODULE ${_target_NAME}_final.cpp) -# else () - add_library(${_target_NAME} MODULE ${_first_SRC} ${ARGN}) -# endif () - - if(_first_SRC) - set_target_properties(${_target_NAME} PROPERTIES PREFIX "") - endif() - - KDE3_INSTALL_LIBTOOL_FILE(${_target_NAME}) - -endmacro() - - -macro(KDE3_ADD_KDEINIT_EXECUTABLE _target_NAME ) - -# if (KDE3_ENABLE_FINAL) -# KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${ARGN}) -# add_library(kdeinit_${_target_NAME} SHARED ${_target_NAME}_final.cpp) -# else () - add_library(kdeinit_${_target_NAME} SHARED ${ARGN} ) -# endif () - - configure_file(${KDE3_MODULE_DIR}/kde3init_dummy.cpp.in ${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}_dummy.cpp) - - add_executable( ${_target_NAME} ${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}_dummy.cpp ) - target_link_libraries( ${_target_NAME} kdeinit_${_target_NAME} ) - -endmacro() - - -macro(KDE3_ADD_EXECUTABLE _target_NAME ) - -# if (KDE3_ENABLE_FINAL) -# KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${ARGN}) -# add_executable(${_target_NAME} ${_target_NAME}_final.cpp) -# else () - add_executable(${_target_NAME} ${ARGN} ) -# endif () - -endmacro() - - diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/AIX-GNU.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/AIX-GNU.cmake deleted file mode 100644 index 0abbb61..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/AIX-GNU.cmake +++ /dev/null @@ -1,30 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - - -# This module is shared by multiple languages; use include blocker. -if(__AIX_COMPILER_GNU) - return() -endif() -set(__AIX_COMPILER_GNU 1) - -# -# By default, runtime linking is enabled. All shared objects specified on the command line -# will be listed, even if there are no symbols referenced, in the output file. -string(APPEND CMAKE_SHARED_LINKER_FLAGS_INIT " -Wl,-brtl") -string(APPEND CMAKE_MODULE_LINKER_FLAGS_INIT " -Wl,-brtl") -string(APPEND CMAKE_EXE_LINKER_FLAGS_INIT " -Wl,-brtl") - - -macro(__aix_compiler_gnu lang) - set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG "-Wl,-blibpath:") - set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG_SEP ":") - string(APPEND CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS " -Wl,-G,-bnoipath") - set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-Wl,-bexpall") - set(CMAKE_${lang}_USE_IMPLICIT_LINK_DIRECTORIES_IN_RUNTIME_PATH 1) - - set(CMAKE_${lang}_LINK_FLAGS "-Wl,-bnoipath") - if(CMAKE_${lang}_COMPILER_VERSION VERSION_LESS 7 OR CMAKE_SYSTEM_VERSION VERSION_LESS 7.1) - unset(CMAKE_${lang}_COMPILE_OPTIONS_VISIBILITY) - endif() -endmacro() diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/AIX-XL.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/AIX-XL.cmake deleted file mode 100644 index b3078ff..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/AIX-XL.cmake +++ /dev/null @@ -1,28 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - - -# This module is shared by multiple languages; use include blocker. -if(__AIX_COMPILER_XL) - return() -endif() -set(__AIX_COMPILER_XL 1) - -# -# By default, runtime linking is enabled. All shared objects specified on the command line -# will be listed, even if there are no symbols referenced, in the output file. -string(APPEND CMAKE_SHARED_LINKER_FLAGS_INIT " -Wl,-brtl") -string(APPEND CMAKE_MODULE_LINKER_FLAGS_INIT " -Wl,-brtl") -string(APPEND CMAKE_EXE_LINKER_FLAGS_INIT " -Wl,-brtl") - - -macro(__aix_compiler_xl lang) - set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG "-Wl,-blibpath:") - set(CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG_SEP ":") - set(CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS "-G -Wl,-bnoipath") # -shared - set(CMAKE_SHARED_LIBRARY_LINK_${lang}_FLAGS "-Wl,-bexpall") - set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS " ") - set(CMAKE_SHARED_MODULE_${lang}_FLAGS " ") - - set(CMAKE_${lang}_LINK_FLAGS "-Wl,-bnoipath") -endmacro() diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/Android/abi-common.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/Android/abi-common.cmake deleted file mode 100644 index a0b47f4..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/Android/abi-common.cmake +++ /dev/null @@ -1,19 +0,0 @@ -string(APPEND _ANDROID_ABI_INIT_CFLAGS - " -funwind-tables" - " -no-canonical-prefixes" - ) - -if(CMAKE_ANDROID_NDK AND NOT CMAKE_ANDROID_NDK_DEPRECATED_HEADERS) - string(APPEND _ANDROID_ABI_INIT_CFLAGS " -D__ANDROID_API__=${CMAKE_SYSTEM_VERSION}") -endif() - -if(NOT DEFINED CMAKE_POSITION_INDEPENDENT_CODE - AND NOT CMAKE_SYSTEM_VERSION VERSION_LESS 16) - set(CMAKE_POSITION_INDEPENDENT_CODE ON) -endif() - -string(APPEND _ANDROID_ABI_INIT_EXE_LDFLAGS " -Wl,--gc-sections") - -if(NOT _ANDROID_ABI_INIT_EXE_LDFLAGS_NO_nocopyreloc) - string(APPEND _ANDROID_ABI_INIT_EXE_LDFLAGS " -Wl,-z,nocopyreloc") -endif() diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/Windows-Clang.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/Windows-Clang.cmake deleted file mode 100644 index 007ae53..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/Windows-Clang.cmake +++ /dev/null @@ -1,23 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - - -# This module is shared by multiple languages; use include blocker. -if(__WINDOWS_CLANG) - return() -endif() -set(__WINDOWS_CLANG 1) - -if("x${CMAKE_C_SIMULATE_ID}" STREQUAL "xMSVC" - OR "x${CMAKE_CXX_SIMULATE_ID}" STREQUAL "xMSVC") - include(Platform/Windows-MSVC) - macro(__windows_compiler_clang lang) - set(_COMPILE_${lang} "${_COMPILE_${lang}_MSVC}") - __windows_compiler_msvc(${lang}) - endmacro() -else() - include(Platform/Windows-GNU) - macro(__windows_compiler_clang lang) - __windows_compiler_gnu(${lang}) - endmacro() -endif() diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/Windows-Flang-Fortran.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/Windows-Flang-Fortran.cmake deleted file mode 100644 index a4b1cf1..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/Windows-Flang-Fortran.cmake +++ /dev/null @@ -1,3 +0,0 @@ -include(Platform/Windows-MSVC) -__windows_compiler_msvc(Fortran) -set(CMAKE_Fortran_COMPILE_OBJECT " ${_COMPILE_Fortran} -o -c ") diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/Windows-Intel-Fortran.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/Windows-Intel-Fortran.cmake deleted file mode 100644 index 3981a09..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/Platform/Windows-Intel-Fortran.cmake +++ /dev/null @@ -1,11 +0,0 @@ -include(Platform/Windows-Intel) -set(CMAKE_BUILD_TYPE_INIT Debug) -set(_COMPILE_Fortran " /fpp") -set(CMAKE_Fortran_MODDIR_FLAG "-module:") -set(CMAKE_Fortran_STANDARD_LIBRARIES_INIT "user32.lib") -__windows_compiler_intel(Fortran) -string(APPEND CMAKE_Fortran_FLAGS_INIT " /W1 /nologo /fpp /libs:dll /threads") -string(APPEND CMAKE_Fortran_FLAGS_DEBUG_INIT " /Od /debug:full /dbglibs") -string(APPEND CMAKE_Fortran_FLAGS_MINSIZEREL_INIT " /O1 /DNDEBUG") -string(APPEND CMAKE_Fortran_FLAGS_RELEASE_INIT " /O2 /DNDEBUG") -string(APPEND CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT " /O2 /debug:full /DNDEBUG") diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/UseEcos.cmake b/6.5.1/_tools/cmake/share/cmake-3.14/Modules/UseEcos.cmake deleted file mode 100644 index 9f84847..0000000 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Modules/UseEcos.cmake +++ /dev/null @@ -1,236 +0,0 @@ -# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -# file Copyright.txt or https://cmake.org/licensing for details. - -#[=======================================================================[.rst: -UseEcos -------- - -This module defines variables and macros required to build eCos application. - -This file contains the following macros: -ECOS_ADD_INCLUDE_DIRECTORIES() - add the eCos include dirs -ECOS_ADD_EXECUTABLE(name source1 ... sourceN ) - create an eCos -executable ECOS_ADJUST_DIRECTORY(VAR source1 ... sourceN ) - adjusts -the path of the source files and puts the result into VAR - -Macros for selecting the toolchain: ECOS_USE_ARM_ELF_TOOLS() - enable -the ARM ELF toolchain for the directory where it is called -ECOS_USE_I386_ELF_TOOLS() - enable the i386 ELF toolchain for the -directory where it is called ECOS_USE_PPC_EABI_TOOLS() - enable the -PowerPC toolchain for the directory where it is called - -It contains the following variables: ECOS_DEFINITIONS -ECOSCONFIG_EXECUTABLE ECOS_CONFIG_FILE - defaults to ecos.ecc, if your -eCos configuration file has a different name, adjust this variable for -internal use only: - -:: - - ECOS_ADD_TARGET_LIB -#]=======================================================================] - -# first check that ecosconfig is available -find_program(ECOSCONFIG_EXECUTABLE NAMES ecosconfig) -if(NOT ECOSCONFIG_EXECUTABLE) - message(SEND_ERROR "ecosconfig was not found. Either include it in the system path or set it manually using ccmake.") -else() - message(STATUS "Found ecosconfig: ${ECOSCONFIG_EXECUTABLE}") -endif() - -# check that ECOS_REPOSITORY is set correctly -if (NOT EXISTS $ENV{ECOS_REPOSITORY}/ecos.db) - message(SEND_ERROR "The environment variable ECOS_REPOSITORY is not set correctly. Set it to the directory which contains the file ecos.db") -else () - message(STATUS "ECOS_REPOSITORY is set to $ENV{ECOS_REPOSITORY}") -endif () - -# check that tclsh (coming with TCL) is available, otherwise ecosconfig doesn't work -find_package(Tclsh) -if (NOT TCL_TCLSH) - message(SEND_ERROR "The TCL tclsh was not found. Please install TCL, it is required for building eCos applications.") -else () - message(STATUS "tlcsh found: ${TCL_TCLSH}") -endif () - -#add the globale include-diretories -#usage: ECOS_ADD_INCLUDE_DIRECTORIES() -macro(ECOS_ADD_INCLUDE_DIRECTORIES) -#check for ProjectSources.txt one level higher - if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../ProjectSources.txt) - include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../) - else () - include_directories(${CMAKE_CURRENT_SOURCE_DIR}/) - endif () - -#the ecos include directory - include_directories(${CMAKE_CURRENT_BINARY_DIR}/ecos/install/include/) - -endmacro() - - -#we want to compile for the xscale processor, in this case the following macro has to be called -#usage: ECOS_USE_ARM_ELF_TOOLS() -macro (ECOS_USE_ARM_ELF_TOOLS) - set(CMAKE_CXX_COMPILER "arm-elf-c++") - set(CMAKE_COMPILER_IS_GNUCXX 1) - set(CMAKE_C_COMPILER "arm-elf-gcc") - set(CMAKE_AR "arm-elf-ar") - set(CMAKE_RANLIB "arm-elf-ranlib") -#for linking - set(ECOS_LD_MCPU "-mcpu=xscale") -#for compiling - add_definitions(-mcpu=xscale -mapcs-frame) -#for the obj-tools - set(ECOS_ARCH_PREFIX "arm-elf-") -endmacro () - -#usage: ECOS_USE_PPC_EABI_TOOLS() -macro (ECOS_USE_PPC_EABI_TOOLS) - set(CMAKE_CXX_COMPILER "powerpc-eabi-c++") - set(CMAKE_COMPILER_IS_GNUCXX 1) - set(CMAKE_C_COMPILER "powerpc-eabi-gcc") - set(CMAKE_AR "powerpc-eabi-ar") - set(CMAKE_RANLIB "powerpc-eabi-ranlib") -#for linking - set(ECOS_LD_MCPU "") -#for compiling - add_definitions() -#for the obj-tools - set(ECOS_ARCH_PREFIX "powerpc-eabi-") -endmacro () - -#usage: ECOS_USE_I386_ELF_TOOLS() -macro (ECOS_USE_I386_ELF_TOOLS) - set(CMAKE_CXX_COMPILER "i386-elf-c++") - set(CMAKE_COMPILER_IS_GNUCXX 1) - set(CMAKE_C_COMPILER "i386-elf-gcc") - set(CMAKE_AR "i386-elf-ar") - set(CMAKE_RANLIB "i386-elf-ranlib") -#for linking - set(ECOS_LD_MCPU "") -#for compiling - add_definitions() -#for the obj-tools - set(ECOS_ARCH_PREFIX "i386-elf-") -endmacro () - - -#since the actual sources are located one level upwards -#a "../" has to be prepended in front of every source file -#call the following macro to achieve this, the first parameter -#is the name of the new list of source files with adjusted paths, -#followed by all source files -#usage: ECOS_ADJUST_DIRECTORY(adjusted_SRCS ${my_srcs}) -macro(ECOS_ADJUST_DIRECTORY _target_FILES ) - foreach (_current_FILE ${ARGN}) - get_filename_component(_abs_FILE ${_current_FILE} ABSOLUTE) - if (NOT ${_abs_FILE} STREQUAL ${_current_FILE}) - get_filename_component(_abs_FILE ${CMAKE_CURRENT_SOURCE_DIR}/../${_current_FILE} ABSOLUTE) - endif () - list(APPEND ${_target_FILES} ${_abs_FILE}) - endforeach () -endmacro() - -# the default ecos config file name -# maybe in future also out-of-source builds may be possible -set(ECOS_CONFIG_FILE ecos.ecc) - -#creates the dependency from all source files on the ecos target.ld, -#adds the command for compiling ecos -macro(ECOS_ADD_TARGET_LIB) -# when building out-of-source, create the ecos/ subdir - if(NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/ecos) - file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ecos) - endif() - -#sources depend on target.ld - set_source_files_properties( - ${ARGN} - PROPERTIES - OBJECT_DEPENDS - ${CMAKE_CURRENT_BINARY_DIR}/ecos/install/lib/target.ld - ) - - add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ecos/install/lib/target.ld - COMMAND sh -c \"make -C ${CMAKE_CURRENT_BINARY_DIR}/ecos || exit -1\; if [ -e ${CMAKE_CURRENT_BINARY_DIR}/ecos/install/lib/target.ld ] \; then touch ${CMAKE_CURRENT_BINARY_DIR}/ecos/install/lib/target.ld\; fi\" - DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ecos/makefile - ) - - add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ecos/makefile - COMMAND sh -c \" cd ${CMAKE_CURRENT_BINARY_DIR}/ecos\; ${ECOSCONFIG_EXECUTABLE} --config=${CMAKE_CURRENT_SOURCE_DIR}/ecos/${ECOS_CONFIG_FILE} tree || exit -1\;\" - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ecos/${ECOS_CONFIG_FILE} - ) - - add_custom_target( ecos make -C ${CMAKE_CURRENT_BINARY_DIR}/ecos/ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/ecos/makefile ) -endmacro() - -# get the directory of the current file, used later on in the file -get_filename_component( ECOS_CMAKE_MODULE_DIR ${CMAKE_CURRENT_LIST_FILE} PATH) - -#macro for creating an executable ecos application -#the first parameter is the name of the executable, -#the second is the list of all source files (where the path -#has been adjusted beforehand by calling ECOS_ADJUST_DIRECTORY() -#usage: ECOS_ADD_EXECUTABLE(my_app ${adjusted_SRCS}) -macro(ECOS_ADD_EXECUTABLE _exe_NAME ) - #definitions, valid for all ecos projects - #the optimization and "-g" for debugging has to be enabled - #in the project-specific CMakeLists.txt - add_definitions(-D__ECOS__=1 -D__ECOS=1) - set(ECOS_DEFINITIONS -Wall -Wno-long-long -pipe -fno-builtin) - -#the executable depends on ecos target.ld - ECOS_ADD_TARGET_LIB(${ARGN}) - -# when using nmake makefiles, the custom buildtype suppresses the default cl.exe flags -# and the rules for creating objects are adjusted for gcc - set(CMAKE_BUILD_TYPE CUSTOM_ECOS_BUILD) - set(CMAKE_C_COMPILE_OBJECT " -o -c ") - set(CMAKE_CXX_COMPILE_OBJECT " -o -c ") -# special link commands for ecos-executables - set(CMAKE_CXX_LINK_EXECUTABLE " -o ${_ecos_EXTRA_LIBS} -nostdlib -nostartfiles -L${CMAKE_CURRENT_BINARY_DIR}/ecos/install/lib -Ttarget.ld ${ECOS_LD_MCPU}") - set(CMAKE_C_LINK_EXECUTABLE " -o ${_ecos_EXTRA_LIBS} -nostdlib -nostartfiles -L${CMAKE_CURRENT_BINARY_DIR}/ecos/install/lib -Ttarget.ld ${ECOS_LD_MCPU}") -# some strict compiler flags - set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wstrict-prototypes") - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Woverloaded-virtual -fno-rtti -Wctor-dtor-privacy -fno-strict-aliasing -fno-exceptions") - - add_executable(${_exe_NAME} ${ARGN}) - set_target_properties(${_exe_NAME} PROPERTIES SUFFIX ".elf") - -#create a binary file - add_custom_command( - TARGET ${_exe_NAME} - POST_BUILD - COMMAND ${ECOS_ARCH_PREFIX}objcopy - ARGS -O binary ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.elf ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.bin - ) - -#and an srec file - add_custom_command( - TARGET ${_exe_NAME} - POST_BUILD - COMMAND ${ECOS_ARCH_PREFIX}objcopy - ARGS -O srec ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.elf ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.srec - ) - -#add the created files to the clean-files - set_directory_properties( - PROPERTIES - ADDITIONAL_MAKE_CLEAN_FILES "${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.bin;${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.srec;${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.lst;" - ) - - add_custom_target(ecosclean ${CMAKE_COMMAND} -DECOS_DIR=${CMAKE_CURRENT_BINARY_DIR}/ecos/ -P ${ECOS_CMAKE_MODULE_DIR}/ecos_clean.cmake ) - add_custom_target(normalclean ${CMAKE_MAKE_PROGRAM} clean WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) - add_dependencies (ecosclean normalclean) - - - add_custom_target( listing - COMMAND echo -e \"\\n--- Symbols sorted by address ---\\n\" > ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.lst - COMMAND ${ECOS_ARCH_PREFIX}nm -S -C -n ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.elf >> ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.lst - COMMAND echo -e \"\\n--- Symbols sorted by size ---\\n\" >> ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.lst - COMMAND ${ECOS_ARCH_PREFIX}nm -S -C -r --size-sort ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.elf >> ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.lst - COMMAND echo -e \"\\n--- Full assembly listing ---\\n\" >> ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.lst - COMMAND ${ECOS_ARCH_PREFIX}objdump -S -x -d -C ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.elf >> ${CMAKE_CURRENT_BINARY_DIR}/${_exe_NAME}.lst ) - -endmacro() - diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/FIND_XXX.txt b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/FIND_XXX.txt similarity index 80% rename from 6.5.1/_tools/cmake/share/cmake-3.14/Help/command/FIND_XXX.txt rename to 6.5.1/_tools/cmake/share/cmake-3.16/Help/command/FIND_XXX.txt index dde4dbb..42bf52b 100644 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/FIND_XXX.txt +++ b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/FIND_XXX.txt @@ -79,17 +79,19 @@ If ``NO_DEFAULT_PATH`` is not specified, the search process is as follows: |prefix_XXX_SUBDIR| for each ```` in :variable:`CMAKE_SYSTEM_PREFIX_PATH` -1. If called from within a find module loaded by +1. If called from within a find module or any other script loaded by a call to :command:`find_package()`, search prefixes unique to the - current package being found. Specifically look in the + current package being found. Specifically, look in the :variable:`_ROOT` CMake variable and the :envvar:`_ROOT` environment variable. - The package root variables are maintained as a stack so if called from - nested find modules, root paths from the parent's find module will be - searched after paths from the current module, - i.e. ``_ROOT``, ``ENV{_ROOT}``, + The package root variables are maintained as a stack, so if called from + nested find modules or config packages, root paths from the parent's find + module or config package will be searched after paths from the current + module or package. In other words, the search order would be + ``_ROOT``, ``ENV{_ROOT}``, ``_ROOT``, ``ENV{_ROOT}``, etc. - This can be skipped if ``NO_PACKAGE_ROOT_PATH`` is passed. + This can be skipped if ``NO_PACKAGE_ROOT_PATH`` is passed or by setting + the :variable:`CMAKE_FIND_USE_PACKAGE_ROOT_PATH` to ``FALSE``. See policy :policy:`CMP0074`. * |FIND_PACKAGE_ROOT_PREFIX_PATH_XXX| @@ -97,7 +99,8 @@ If ``NO_DEFAULT_PATH`` is not specified, the search process is as follows: 2. Search paths specified in cmake-specific cache variables. These are intended to be used on the command line with a ``-DVAR=value``. The values are interpreted as :ref:`semicolon-separated lists `. - This can be skipped if ``NO_CMAKE_PATH`` is passed. + This can be skipped if ``NO_CMAKE_PATH`` is passed or by setting the + :variable:`CMAKE_FIND_USE_CMAKE_PATH` to ``FALSE``. * |CMAKE_PREFIX_PATH_XXX| * |CMAKE_XXX_PATH| @@ -107,7 +110,8 @@ If ``NO_DEFAULT_PATH`` is not specified, the search process is as follows: These are intended to be set in the user's shell configuration, and therefore use the host's native path separator (``;`` on Windows and ``:`` on UNIX). - This can be skipped if ``NO_CMAKE_ENVIRONMENT_PATH`` is passed. + This can be skipped if ``NO_CMAKE_ENVIRONMENT_PATH`` is passed or + by setting the :variable:`CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH` to ``FALSE``. * |CMAKE_PREFIX_PATH_XXX| * |CMAKE_XXX_PATH| @@ -119,13 +123,16 @@ If ``NO_DEFAULT_PATH`` is not specified, the search process is as follows: Hard-coded guesses should be specified with the ``PATHS`` option. 5. Search the standard system environment variables. - This can be skipped if ``NO_SYSTEM_ENVIRONMENT_PATH`` is an argument. + This can be skipped if ``NO_SYSTEM_ENVIRONMENT_PATH`` is passed or by + setting the :variable:`CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH` to ``FALSE``. * |SYSTEM_ENVIRONMENT_PATH_XXX| + * |SYSTEM_ENVIRONMENT_PATH_WINDOWS_XXX| 6. Search cmake variables defined in the Platform files for the current system. This can be skipped if ``NO_CMAKE_SYSTEM_PATH`` - is passed. + is passed or by setting the :variable:`CMAKE_FIND_USE_CMAKE_SYSTEM_PATH` + to ``FALSE``. * |CMAKE_SYSTEM_PREFIX_PATH_XXX| * |CMAKE_SYSTEM_XXX_PATH| diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/FIND_XXX_ORDER.txt b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/FIND_XXX_ORDER.txt similarity index 100% rename from 6.5.1/_tools/cmake/share/cmake-3.14/Help/command/FIND_XXX_ORDER.txt rename to 6.5.1/_tools/cmake/share/cmake-3.16/Help/command/FIND_XXX_ORDER.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/FIND_XXX_ROOT.txt b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/FIND_XXX_ROOT.txt similarity index 100% rename from 6.5.1/_tools/cmake/share/cmake-3.14/Help/command/FIND_XXX_ROOT.txt rename to 6.5.1/_tools/cmake/share/cmake-3.16/Help/command/FIND_XXX_ROOT.txt diff --git a/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/LINK_OPTIONS_LINKER.txt b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/LINK_OPTIONS_LINKER.txt new file mode 100644 index 0000000..3f66181 --- /dev/null +++ b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/LINK_OPTIONS_LINKER.txt @@ -0,0 +1,22 @@ +To pass options to the linker tool, each compiler driver has its own syntax. +The ``LINKER:`` prefix and ``,`` separator can be used to specify, in a portable +way, options to pass to the linker tool. ``LINKER:`` is replaced by the +appropriate driver option and ``,`` by the appropriate driver separator. +The driver prefix and driver separator are given by the values of the +:variable:`CMAKE__LINKER_WRAPPER_FLAG` and +:variable:`CMAKE__LINKER_WRAPPER_FLAG_SEP` variables. + +For example, ``"LINKER:-z,defs"`` becomes ``-Xlinker -z -Xlinker defs`` for +``Clang`` and ``-Wl,-z,defs`` for ``GNU GCC``. + +The ``LINKER:`` prefix can be specified as part of a ``SHELL:`` prefix +expression. + +The ``LINKER:`` prefix supports, as an alternative syntax, specification of +arguments using the ``SHELL:`` prefix and space as separator. The previous +example then becomes ``"LINKER:SHELL:-z defs"``. + +.. note:: + + Specifying the ``SHELL:`` prefix anywhere other than at the beginning of the + ``LINKER:`` prefix is not supported. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/OPTIONS_SHELL.txt b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/OPTIONS_SHELL.txt similarity index 77% rename from 6.5.1/_tools/cmake/share/cmake-3.14/Help/command/OPTIONS_SHELL.txt rename to 6.5.1/_tools/cmake/share/cmake-3.16/Help/command/OPTIONS_SHELL.txt index 530c012..0f8ec32 100644 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/OPTIONS_SHELL.txt +++ b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/OPTIONS_SHELL.txt @@ -1,9 +1,9 @@ The final set of compile or link options used for a target is constructed by accumulating options from the current target and the usage requirements of -it dependencies. The set of options is de-duplicated to avoid repetition. +its dependencies. The set of options is de-duplicated to avoid repetition. While beneficial for individual options, the de-duplication step can break up option groups. For example, ``-D A -D B`` becomes ``-D A B``. One may specify a group of options using shell-like quoting along with a ``SHELL:`` -prefix. The ``SHELL:`` prefix is dropped and the rest of the option string +prefix. The ``SHELL:`` prefix is dropped, and the rest of the option string is parsed using the :command:`separate_arguments` ``UNIX_COMMAND`` mode. For example, ``"SHELL:-D A" "SHELL:-D B"`` becomes ``-D A -D B``. diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_compile_definitions.rst b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_compile_definitions.rst similarity index 100% rename from 6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_compile_definitions.rst rename to 6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_compile_definitions.rst diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_compile_options.rst b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_compile_options.rst similarity index 100% rename from 6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_compile_options.rst rename to 6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_compile_options.rst diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_custom_command.rst b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_custom_command.rst similarity index 82% rename from 6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_custom_command.rst rename to 6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_custom_command.rst index 9bf0d87..aba3742 100644 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_custom_command.rst +++ b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_custom_command.rst @@ -23,6 +23,7 @@ The first signature is for adding a custom command to produce an output: [WORKING_DIRECTORY dir] [COMMENT comment] [DEPFILE depfile] + [JOB_POOL job_pool] [VERBATIM] [APPEND] [USES_TERMINAL] [COMMAND_EXPAND_LISTS]) @@ -67,9 +68,6 @@ The options are: order-only dependencies to ensure the byproducts will be available before their dependents build. - The ``BYPRODUCTS`` option is ignored on non-Ninja generators - except to mark byproducts ``GENERATED``. - ``COMMAND`` Specify the command-line(s) to execute at build time. If more than one ``COMMAND`` is specified they will be executed in order, @@ -81,25 +79,33 @@ The options are: will be ignored. If ``COMMAND`` specifies an executable target name (created by the - :command:`add_executable` command) it will automatically be replaced - by the location of the executable created at build time. If set, the - :prop_tgt:`CROSSCOMPILING_EMULATOR` executable target property will - also be prepended to the command to allow the executable to run on - the host. - (Use the ``TARGET_FILE`` - :manual:`generator expression ` to - reference an executable later in the command line.) - Additionally a target-level dependency will be added so that the - executable target will be built before any target using this custom - command. However this does NOT add a file-level dependency that - would cause the custom command to re-run whenever the executable is - recompiled. + :command:`add_executable` command), it will automatically be replaced + by the location of the executable created at build time if either of + the following is true: + + * The target is not being cross-compiled (i.e. the + :variable:`CMAKE_CROSSCOMPILING` variable is not set to true). + * The target is being cross-compiled and an emulator is provided (i.e. + its :prop_tgt:`CROSSCOMPILING_EMULATOR` target property is set). + In this case, the contents of :prop_tgt:`CROSSCOMPILING_EMULATOR` will be + prepended to the command before the location of the target executable. + + If neither of the above conditions are met, it is assumed that the + command name is a program to be found on the ``PATH`` at build time. Arguments to ``COMMAND`` may use :manual:`generator expressions `. - References to target names in generator expressions imply target-level - dependencies, but NOT file-level dependencies. List target names with - the ``DEPENDS`` option to add file-level dependencies. + Use the ``TARGET_FILE`` generator expression to refer to the location of + a target later in the command line (i.e. as a command argument rather + than as the command to execute). + + Whenever a target is used as a command to execute or is mentioned in a + generator expression as a command argument, a target-level dependency + will be added automatically so that the mentioned target will be built + before any target using this custom command. However this does NOT add + a file-level dependency that would cause the custom command to re-run + whenever the executable is recompiled. List target names with + the ``DEPENDS`` option to add such file-level dependencies. ``COMMENT`` Display the given message before the commands are executed at @@ -110,6 +116,9 @@ The options are: an ``OUTPUT`` of another custom command in the same directory (``CMakeLists.txt`` file) CMake automatically brings the other custom command into the target in which this command is built. + A target-level dependency is added if any dependency is listed as + ``BYPRODUCTS`` of a target or any of its build events in the same + directory to ensure the byproducts will be available. If ``DEPENDS`` is not specified the command will run whenever the ``OUTPUT`` is missing; if the command does not actually create the ``OUTPUT`` then the rule will always run. @@ -144,6 +153,13 @@ The options are: Note that the ``IMPLICIT_DEPENDS`` option is currently supported only for Makefile generators and will be ignored by other generators. +``JOB_POOL`` + Specify a :prop_gbl:`pool ` for the :generator:`Ninja` + generator. Incompatible with ``USES_TERMINAL``, which implies + the ``console`` pool. + Using a pool that is not defined by :prop_gbl:`JOB_POOLS` causes + an error by ninja at build time. + ``MAIN_DEPENDENCY`` Specify the primary input source file to the command. This is treated just like any value given to the ``DEPENDS`` option @@ -211,7 +227,8 @@ target is already built, the command will not execute. [BYPRODUCTS [files...]] [WORKING_DIRECTORY dir] [COMMENT comment] - [VERBATIM] [USES_TERMINAL]) + [VERBATIM] [USES_TERMINAL] + [COMMAND_EXPAND_LISTS]) This defines a new command that will be associated with building the specified ````. The ```` must be defined in the current diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_custom_target.rst b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_custom_target.rst similarity index 73% rename from 6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_custom_target.rst rename to 6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_custom_target.rst index c63dd23..2d5f5f0 100644 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_custom_target.rst +++ b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_custom_target.rst @@ -11,6 +11,7 @@ Add a target with no output so it will always be built. [BYPRODUCTS [files...]] [WORKING_DIRECTORY dir] [COMMENT comment] + [JOB_POOL job_pool] [VERBATIM] [USES_TERMINAL] [COMMAND_EXPAND_LISTS] [SOURCES src1 [src2...]]) @@ -48,9 +49,6 @@ The options are: order-only dependencies to ensure the byproducts will be available before their dependents build. - The ``BYPRODUCTS`` option is ignored on non-Ninja generators - except to mark byproducts ``GENERATED``. - ``COMMAND`` Specify the command-line(s) to execute at build time. If more than one ``COMMAND`` is specified they will be executed in order, @@ -60,18 +58,30 @@ The options are: a ``COMMAND`` to launch it.) If ``COMMAND`` specifies an executable target name (created by the - :command:`add_executable` command) it will automatically be replaced - by the location of the executable created at build time. If set, the - :prop_tgt:`CROSSCOMPILING_EMULATOR` executable target property will - also be prepended to the command to allow the executable to run on - the host. - Additionally a target-level dependency will be added so that the - executable target will be built before this custom target. + :command:`add_executable` command), it will automatically be replaced + by the location of the executable created at build time if either of + the following is true: + + * The target is not being cross-compiled (i.e. the + :variable:`CMAKE_CROSSCOMPILING` variable is not set to true). + * The target is being cross-compiled and an emulator is provided (i.e. + its :prop_tgt:`CROSSCOMPILING_EMULATOR` target property is set). + In this case, the contents of :prop_tgt:`CROSSCOMPILING_EMULATOR` will be + prepended to the command before the location of the target executable. + + If neither of the above conditions are met, it is assumed that the + command name is a program to be found on the ``PATH`` at build time. Arguments to ``COMMAND`` may use :manual:`generator expressions `. - References to target names in generator expressions imply target-level - dependencies. + Use the ``TARGET_FILE`` generator expression to refer to the location of + a target later in the command line (i.e. as a command argument rather + than as the command to execute). + + Whenever a target is used as a command to execute or is mentioned in a + generator expression as a command argument, a target-level dependency + will be added automatically so that the mentioned target will be built + before this custom target. The command and arguments are optional and if not specified an empty target will be created. @@ -85,6 +95,9 @@ The options are: :command:`add_custom_command` command calls in the same directory (``CMakeLists.txt`` file). They will be brought up to date when the target is built. + A target-level dependency is added if any dependency is a byproduct + of a target or any of its build events in the same directory to ensure + the byproducts will be available before this target is built. Use the :command:`add_dependencies` command to add dependencies on other targets. @@ -97,6 +110,13 @@ The options are: ``${CC} "-I$,;-I>" foo.cc`` to be properly expanded. +``JOB_POOL`` + Specify a :prop_gbl:`pool ` for the :generator:`Ninja` + generator. Incompatible with ``USES_TERMINAL``, which implies + the ``console`` pool. + Using a pool that is not defined by :prop_gbl:`JOB_POOLS` causes + an error by ninja at build time. + ``SOURCES`` Specify additional source files to be included in the custom target. Specified source files will be added to IDE project files for diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_definitions.rst b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_definitions.rst similarity index 94% rename from 6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_definitions.rst rename to 6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_definitions.rst index 39a43f4..d06b01c 100644 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_definitions.rst +++ b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_definitions.rst @@ -20,7 +20,7 @@ preprocessor definitions. * Use :command:`include_directories` to add include directories. * Use :command:`add_compile_options` to add other options. -Flags beginning in -D or /D that look like preprocessor definitions are +Flags beginning in ``-D`` or ``/D`` that look like preprocessor definitions are automatically added to the :prop_dir:`COMPILE_DEFINITIONS` directory property for the current directory. Definitions with non-trivial values may be left in the set of flags instead of being converted for reasons of diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_dependencies.rst b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_dependencies.rst similarity index 100% rename from 6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_dependencies.rst rename to 6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_dependencies.rst diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_executable.rst b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_executable.rst similarity index 100% rename from 6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_executable.rst rename to 6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_executable.rst diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_library.rst b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_library.rst similarity index 89% rename from 6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_library.rst rename to 6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_library.rst index ec6cb9d..7274e44 100644 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_library.rst +++ b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_library.rst @@ -80,15 +80,26 @@ option extends visibility. It may be referenced like any target built within the project. ``IMPORTED`` libraries are useful for convenient reference from commands like :command:`target_link_libraries`. Details about the imported library are specified by setting properties whose names -begin in ``IMPORTED_`` and ``INTERFACE_``. The most important such -property is :prop_tgt:`IMPORTED_LOCATION` (and its per-configuration -variant :prop_tgt:`IMPORTED_LOCATION_`) which specifies the -location of the main library file on disk. Or, for object libraries, -:prop_tgt:`IMPORTED_OBJECTS` (and :prop_tgt:`IMPORTED_OBJECTS_`) -specifies the locations of object files on disk. +begin in ``IMPORTED_`` and ``INTERFACE_``. + +The most important properties are: + +* :prop_tgt:`IMPORTED_LOCATION` (and its per-configuration + variant :prop_tgt:`IMPORTED_LOCATION_`) which specifies the + location of the main library file on disk. +* :prop_tgt:`IMPORTED_OBJECTS` (and :prop_tgt:`IMPORTED_OBJECTS_`) + for object libraries, specifies the locations of object files on disk. +* :prop_tgt:`PUBLIC_HEADER` files to be installed during :command:`install` invocation + See documentation of the ``IMPORTED_*`` and ``INTERFACE_*`` properties for more information. +An ``UNKNOWN`` library type is typically only used in the implementation of +:ref:`Find Modules`. It allows the path to an imported library (often found +using the :command:`find_library` command) to be used without having to know +what type of library it is. This is especially useful on Windows where a +static library and a DLL's import library both have the same file extension. + Object Libraries ^^^^^^^^^^^^^^^^ diff --git a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_link_options.rst b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_link_options.rst similarity index 53% rename from 6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_link_options.rst rename to 6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_link_options.rst index 1b02bee..a83005b 100644 --- a/6.5.1/_tools/cmake/share/cmake-3.14/Help/command/add_link_options.rst +++ b/6.5.1/_tools/cmake/share/cmake-3.16/Help/command/add_link_options.rst @@ -1,20 +1,25 @@ add_link_options ---------------- -Add options to the link of shared library, module and executable targets. +Add options to the link step for executable, shared library or module +library targets in the current directory and below that are added after +this command is invoked. .. code-block:: cmake add_link_options(