Home
last modified time | relevance | path

Searched +refs:cmake +refs:string +refs:to +refs:list +refs:symbol (Results 1 – 20 of 20) sorted by relevance

/prebuilts/cmake/linux-x86/share/cmake-3.22/Modules/FortranCInterface/
DDetect.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
4 configure_file(${FortranCInterface_SOURCE_DIR}/Input.cmake.in
5 ${FortranCInterface_BINARY_DIR}/Input.cmake @ONLY)
9 if(NOT EXISTS ${FortranCInterface_BINARY_DIR}/Output.cmake
10 OR NOT EXISTS ${FortranCInterface_BINARY_DIR}/Input.cmake
11 OR NOT ${FortranCInterface_BINARY_DIR}/Output.cmake
12 IS_NEWER_THAN ${FortranCInterface_BINARY_DIR}/Input.cmake
13 OR NOT ${FortranCInterface_SOURCE_DIR}/Output.cmake
14 IS_NEWER_THAN ${FortranCInterface_SOURCE_DIR}/Output.cmake.in
15 OR NOT ${FortranCInterface_BINARY_DIR}/Output.cmake
[all …]
DCMakeLists.txt2 # file Copyright.txt or https://cmake.org/licensing for details.
6 include(${FortranCInterface_BINARY_DIR}/Input.cmake OPTIONAL)
15 # List manglings of global symbol names to try.
26 list(REMOVE_DUPLICATES global_symbols)
28 # List manglings of module symbol names to try.
48 list(REMOVE_DUPLICATES module_symbols)
63 # Generate C symbol sources.
73 list(APPEND symbol_sources mymodule_.c my_module_.c MY_MODULE.c MYMODULE.c)
75 foreach(symbol IN LISTS global_symbols module_symbols)
77 if(C_SUPPORTS_DOLLAR OR NOT "${symbol}" MATCHES "\\$")
[all …]
/prebuilts/cmake/linux-x86/share/cmake-3.22/Modules/
DCheckSymbolExists.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
8 Provides a macro to check if a symbol exists as a function, variable,
13 .. code-block:: cmake
15 check_symbol_exists(<symbol> <files> <variable>)
17 Check that the ``<symbol>`` is available after including given header
18 ``<files>`` and store the result in a ``<variable>``. Specify the list
19 of files in one argument as a semicolon-separated list.
22 If the header files define the symbol as a macro it is considered
23 available and assumed to work. If the header files declare the symbol
24 as a function or variable then the symbol must also be available for
[all …]
DCheckCXXSymbolExists.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
8 Check if a symbol exists as a function, variable, or macro in ``C++``.
12 .. code-block:: cmake
14 check_cxx_symbol_exists(<symbol> <files> <variable>)
16 Check that the ``<symbol>`` is available after including given header
17 ``<files>`` and store the result in a ``<variable>``. Specify the list of
18 files in one argument as a semicolon-separated list.
19 ``check_cxx_symbol_exists()`` can be used to check for symbols as seen by
20 the C++ compiler, as opposed to :command:`check_symbol_exists`, which always
23 If the header files define the symbol as a macro it is considered
[all …]
DFortranCInterface.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
24 This module also provides the following variables to specify
26 to reference them and can use the `Module Functions`_ below.
29 Prefix for a global symbol without an underscore.
32 Suffix for a global symbol without an underscore.
35 The case for a global symbol without an underscore,
39 Prefix for a global symbol with an underscore.
42 Suffix for a global symbol with an underscore.
45 The case for a global symbol with an underscore,
49 Prefix for a module symbol without an underscore.
[all …]
DWriteCompilerDetectionHeader.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
10 is not set to ``NEW``. Do not use it in new code.
16 This function can be used to generate a file suitable for preprocessor
17 inclusion which contains macros to be used in source code::
36 By default, all content is written directly to the ``<file>``. The
37 ``OUTPUT_FILES_VAR`` may be specified to cause the compiler-specific
38 content to be written to separate files. The separate files are then
41 path from the main ``<file>`` to the compiler-specific files. For example:
43 .. code-block:: cmake
63 ``VERSION`` may be used to specify the API version to be generated.
[all …]
DFindPostgreSQL.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
51 # PostgreSQL_ADDITIONAL_VERSIONS is a variable that can be used to set the
55 # Currently, the following version numbers are known to this module:
65 # You may need to manually set:
66 # PostgreSQL_INCLUDE_DIR - the path to where the PostgreSQL include files are.
67 # PostgreSQL_LIBRARY_DIR - The path to where the PostgreSQL library files are.
68 # If FindPostgreSQL.cmake cannot find the include files or the library files.
72 # PostgreSQL_FOUND - Set to true when PostgreSQL is found.
82 # points to the root directory of the include directory of PostgreSQL.)
84 # 1) After CMake runs, set PostgreSQL_INCLUDE_DIR to <Your Path>/include and
[all …]
DFindSDL_sound.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
13 FindSDL.cmake is called.
19 SDL_SOUND_INCLUDE_DIR, where to find SDL_sound.h
20 SDL_SOUND_FOUND, if false, do not try to link to SDL_sound
21 SDL_SOUND_LIBRARIES, this contains the list of libraries that you need
22 to link against.
23 SDL_SOUND_EXTRAS, this is an optional variable for you to add your own
24 flags to SDL_SOUND_LIBRARIES. This is prepended to SDL_SOUND_LIBRARIES.
25 This is available mostly for cases this module failed to anticipate for
27 SDL_SOUND_VERSION_STRING, human-readable string containing the
[all …]
DFindMatlab.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
9 libraries and compilers to CMake.
11 This package primary purpose is to find the libraries associated with Matlab
12 or the MCR in order to be able to build Matlab extensions (mex files). It
15 * to run specific commands in Matlab in case Matlab is available
17 * to retrieve various information from Matlab (mex extensions, versions and
47 The version given to the :command:`find_package` directive is the Matlab
54 The variable :variable:`Matlab_ROOT_DIR` may be specified in order to give
62 found, it falls back to the one that might be accessible from the ``PATH``.
74 :variable:`MATLAB_ADDITIONAL_VERSIONS` may be provided before the call to
[all …]
/prebuilts/clang/host/linux-x86/clang-r536225/lib/cmake/llvm/
DAddLLVM.cmake13 list(APPEND LLVM_COMPILE_CFLAGS " ${LLVM_COMPILE_FLAGS}")
15 # LLVM_REQUIRES_EH is an internal flag that individual targets can use to
23 list(APPEND LLVM_COMPILE_FLAGS "/EHsc")
27 list(APPEND LLVM_COMPILE_FLAGS "-fno-exceptions")
29 list(APPEND LLVM_COMPILE_FLAGS "-funwind-tables")
31 list(APPEND LLVM_COMPILE_FLAGS "-fno-unwind-tables")
32 list(APPEND LLVM_COMPILE_FLAGS "-fno-asynchronous-unwind-tables")
35 list(APPEND LLVM_COMPILE_DEFINITIONS _HAS_EXCEPTIONS=0)
36 list(APPEND LLVM_COMPILE_FLAGS "/EHs-c-")
38 list(APPEND LLVM_COMPILE_FLAGS "-qnoeh")
[all …]
DHandleLLVMOptions.cmake2 # options and executing the appropriate CMake commands to realize the users'
7 string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
32 set(LLVM_ENABLE_LTO OFF CACHE STRING "Build LLVM with LTO. May be specified as Thin or Full to use …
33 string(TOUPPER "${LLVM_ENABLE_LTO}" uppercase_LLVM_ENABLE_LTO)
80 message(STATUS "ThinLTO provides its own parallel linking - limiting parallel link jobs to 2.")
118 # On non-Debug builds cmake automatically defines NDEBUG, so we
123 # Also remove /D NDEBUG to avoid MSVC warnings about conflicting defines.
131 string (REGEX REPLACE "(^| )[/-]D *NDEBUG($| )" " "
147 # If we are targeting a GPU architecture in a runtimes build we want to ignore
182 string(TOUPPER "${LLVM_ABI_BREAKING_CHECKS}" uppercase_LLVM_ABI_BREAKING_CHECKS)
[all …]
/prebuilts/clang/host/linux-x86/clang-r547379/lib/cmake/llvm/
DAddLLVM.cmake8 # Set ${outvar} to the title of the current LLVM subproject (Clang, MLIR ...)
12 # The title is not semantically significant, but use to create folders in
28 list(APPEND LLVM_COMPILE_CFLAGS " ${LLVM_COMPILE_FLAGS}")
30 # LLVM_REQUIRES_EH is an internal flag that individual targets can use to
38 list(APPEND LLVM_COMPILE_FLAGS "/EHsc")
42 list(APPEND LLVM_COMPILE_FLAGS "-fno-exceptions")
44 list(APPEND LLVM_COMPILE_FLAGS "-funwind-tables")
46 list(APPEND LLVM_COMPILE_FLAGS "-fno-unwind-tables")
47 list(APPEND LLVM_COMPILE_FLAGS "-fno-asynchronous-unwind-tables")
50 list(APPEND LLVM_COMPILE_DEFINITIONS _HAS_EXCEPTIONS=0)
[all …]
DHandleLLVMOptions.cmake2 # options and executing the appropriate CMake commands to realize the users'
7 string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
32 set(LLVM_ENABLE_LTO OFF CACHE STRING "Build LLVM with LTO. May be specified as Thin or Full to use …
33 string(TOUPPER "${LLVM_ENABLE_LTO}" uppercase_LLVM_ENABLE_LTO)
80 message(STATUS "ThinLTO provides its own parallel linking - limiting parallel link jobs to 2.")
118 # On non-Debug builds cmake automatically defines NDEBUG, so we
123 # Also remove /D NDEBUG to avoid MSVC warnings about conflicting defines.
131 string (REGEX REPLACE "(^| )[/-]D *NDEBUG($| )" " "
147 # If we are targeting a GPU architecture in a runtimes build we want to ignore
182 string(TOUPPER "${LLVM_ABI_BREAKING_CHECKS}" uppercase_LLVM_ABI_BREAKING_CHECKS)
[all …]
/prebuilts/clang/host/linux-x86/clang-r530567/lib/cmake/llvm/
DAddLLVM.cmake13 list(APPEND LLVM_COMPILE_CFLAGS " ${LLVM_COMPILE_FLAGS}")
15 # LLVM_REQUIRES_EH is an internal flag that individual targets can use to
23 list(APPEND LLVM_COMPILE_FLAGS "/EHsc")
27 list(APPEND LLVM_COMPILE_FLAGS "-fno-exceptions")
29 list(APPEND LLVM_COMPILE_FLAGS "-funwind-tables")
31 list(APPEND LLVM_COMPILE_FLAGS "-fno-unwind-tables")
32 list(APPEND LLVM_COMPILE_FLAGS "-fno-asynchronous-unwind-tables")
35 list(APPEND LLVM_COMPILE_DEFINITIONS _HAS_EXCEPTIONS=0)
36 list(APPEND LLVM_COMPILE_FLAGS "/EHs-c-")
38 list(APPEND LLVM_COMPILE_FLAGS "-qnoeh")
[all …]
DHandleLLVMOptions.cmake2 # options and executing the appropriate CMake commands to realize the users'
7 string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
32 set(LLVM_ENABLE_LTO OFF CACHE STRING "Build LLVM with LTO. May be specified as Thin or Full to use …
33 string(TOUPPER "${LLVM_ENABLE_LTO}" uppercase_LLVM_ENABLE_LTO)
78 message(STATUS "ThinLTO provides its own parallel linking - limiting parallel link jobs to 2.")
116 # On non-Debug builds cmake automatically defines NDEBUG, so we
121 # Also remove /D NDEBUG to avoid MSVC warnings about conflicting defines.
129 string (REGEX REPLACE "(^| )[/-]D *NDEBUG($| )" " "
145 # If we are targeting a GPU architecture in a runtimes build we want to ignore
180 string(TOUPPER "${LLVM_ABI_BREAKING_CHECKS}" uppercase_LLVM_ABI_BREAKING_CHECKS)
[all …]
/prebuilts/clang/host/linux-x86/clang-r522817/lib/cmake/llvm/
DAddLLVM.cmake13 list(APPEND LLVM_COMPILE_CFLAGS " ${LLVM_COMPILE_FLAGS}")
15 # LLVM_REQUIRES_EH is an internal flag that individual targets can use to
23 list(APPEND LLVM_COMPILE_FLAGS "/EHsc")
27 list(APPEND LLVM_COMPILE_FLAGS "-fno-exceptions")
29 list(APPEND LLVM_COMPILE_FLAGS "-funwind-tables")
31 list(APPEND LLVM_COMPILE_FLAGS "-fno-unwind-tables")
32 list(APPEND LLVM_COMPILE_FLAGS "-fno-asynchronous-unwind-tables")
35 list(APPEND LLVM_COMPILE_DEFINITIONS _HAS_EXCEPTIONS=0)
36 list(APPEND LLVM_COMPILE_FLAGS "/EHs-c-")
38 list(APPEND LLVM_COMPILE_FLAGS "-qnoeh")
[all …]
DHandleLLVMOptions.cmake2 # options and executing the appropriate CMake commands to realize the users'
7 string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
32 set(LLVM_ENABLE_LTO OFF CACHE STRING "Build LLVM with LTO. May be specified as Thin or Full to use …
33 string(TOUPPER "${LLVM_ENABLE_LTO}" uppercase_LLVM_ENABLE_LTO)
78 message(STATUS "ThinLTO provides its own parallel linking - limiting parallel link jobs to 2.")
94 # On non-Debug builds cmake automatically defines NDEBUG, so we
99 # Also remove /D NDEBUG to avoid MSVC warnings about conflicting defines.
107 string (REGEX REPLACE "(^| )[/-]D *NDEBUG($| )" " "
151 string(TOUPPER "${LLVM_ABI_BREAKING_CHECKS}" uppercase_LLVM_ABI_BREAKING_CHECKS)
160 # We don't need to do anything special to turn off ABI breaking checks.
[all …]
/prebuilts/cmake/linux-x86/share/cmake-3.22/Help/command/
Dtarget_link_libraries.rst8 Specify libraries or flags to use when linking a given target and/or
19 .. code-block:: cmake
26 set to ``NEW`` then the target must have been created in the current
31 The ``<target>`` doesn't have to be defined in the same directory as the
37 full path to the linkable library file associated with the target.
38 The buildsystem will have a dependency to re-link ``<target>`` if
44 automatically be added in the build system to make sure the named
45 library target is up-to-date before the ``<target>`` links.
48 target property set, CMake may ask the linker to search for
52 The full path to the target's artifact will be quoted/escaped for
[all …]
/prebuilts/cmake/linux-x86/share/cmake-3.22/Help/manual/
Dcmake-buildsystem.7.rst1 .. cmake-manual-description: CMake Buildsystem Reference
3 cmake-buildsystem(7)
14 targets. Each target corresponds to an executable or library, or
16 targets are expressed in the buildsystem to determine the build order
17 and the rules for regeneration in response to change.
28 .. code-block:: cmake
45 .. code-block:: cmake
49 Commands such as :command:`add_custom_command`, which generates rules to be
52 the executable is built before attempting to run the command.
65 .. code-block:: cmake
[all …]
/prebuilts/rust/bootstrap/
Dchain.log16 Compiling cmake v0.1.24
31 Compiling cmake v0.1.24
55 running: "cmake" "/usr/local/google/home/mmaurer/rust-final/rustc-1.21.0-src/src/llvm" "-DLLVM_ENAB…
60 The cmake-policies(7) manual explains that the OLD behaviors of all
61 policies are deprecated and that a policy should be set to OLD only under
62 specific short-term circumstances. Projects should be ported to the NEW
63 behavior and not rely on setting a policy to OLD.
89 CMake Warning (dev) at /usr/share/cmake-3.12/Modules/CheckIncludeFile.cmake:70 (message):
91 CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy
92 details. Use the cmake_policy command to set the policy and suppress this
[all …]