Home
last modified time | relevance | path

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

12345

/aosp_15_r20/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 …]
/aosp_15_r20/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 …]
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 …]
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 …]
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 …]
/aosp_15_r20/external/harfbuzz_ng/
H A DCMakeLists.txt4 …has a Meson port and tries to migrate all the other build systems to it, please consider using it …
9 ## Limit framework build to Xcode generator
12 # cmake -DBUILD_FRAMEWORK=ON -Bbuild -H. -GXcode && cmake --build build
30 mkdir build; cd build; cmake .."
81 # We need Python3_EXECUTABLE to be set for running the tests...
88 macro (check_funcs) # Similar to AC_CHECK_FUNCS of autotools
90 string(TOUPPER ${func_name} definition_to_add)
98 list(APPEND CMAKE_REQUIRED_LIBRARIES m)
123 list(APPEND THIRD_PARTY_LIBS Threads::Threads)
124 list(APPEND PC_LIBS_PRIV -pthread)
[all …]
/aosp_15_r20/external/freetype/
H A DCMakeLists.txt10 # LICENSE.TXT. By continuing to use, modify, or distribute this file you
16 # call cmake to configure the build with default parameters as a static
19 # https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html
23 # cmake -B build -D CMAKE_BUILD_TYPE=Release
28 # cmake -B build -D BUILD_SHARED_LIBS=true -D CMAKE_BUILD_TYPE=Release
32 # cmake -E chdir build cmake -G Xcode -D BUILD_FRAMEWORK:BOOL=true ..
36 # cmake -E chdir build cmake -G Xcode -D IOS_PLATFORM=OS ..
40 # cmake -E chdir build cmake -G Xcode -D IOS_PLATFORM=SIMULATOR ..
44 # cmake -E chdir build cmake -G Xcode -D IOS_PLATFORM=SIMULATOR64 ..
49 # cmake --build build
[all …]
/aosp_15_r20/external/eigen/cmake/
H A DFindBLAS.cmake14 # The list of libraries searched for is taken
19 # BLAS_FOUND - set to true if a library implementing the BLAS interface
21 # BLAS_LINKER_FLAGS - uncached list of required linker flags (excluding -l
23 # BLAS_COMPILER_FLAGS - uncached list of required compiler flags (including -I for mkl headers).
24 # BLAS_LIBRARIES - uncached list of libraries (using full path name) to
25 # link against to use BLAS
26 # BLAS95_LIBRARIES - uncached list of libraries (using full path name)
27 # to link against to use BLAS95 interface
28 # BLAS95_FOUND - set to true if a library implementing the BLAS f95 interface
34 # BLA_F95 if set on tries to find the f95 interfaces for BLAS/LAPACK
[all …]
/aosp_15_r20/external/parameter-framework/upstream/
H A DCMakeLists.txt8 # list of conditions and the following disclaimer.
11 # this list of conditions and the following disclaimer in the documentation and/or
15 # may be used to endorse or promote products derived from this software without
29 # Known to work with CMake 3.2.2, might work with older 3.x versions, will not
30 # work with versions prior to 3.0.0.
31 # Visual Studio 14 needs 3.3.0; see https://cmake.org/Bug/print_bug_page.php?bug_id=15552
47 option(DOXYGEN "Enable doxygen generation (you still have to run 'make doc')" OFF)
49 option(PYTHON_BINDINGS "Python library to use the Parameter Framework from python" ON)
50 option(C_BINDINGS "Library to use the Parameter Framework using a C API" ON)
52 option(NETWORKING "Set to OFF in order to stub networking code" ON)
[all …]
/aosp_15_r20/external/gmmlib/Tools/bldsys/include/
H A Dutils.cmake3 # Permission is hereby granted, free of charge, to any person obtaining a
5 # to deal in the Software without restriction, including without limitation
6 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
7 # and / or sell copies of the Software, and to permit persons to whom the
8 # Software is furnished to do so, subject to the following conditions:
21 # utility functions for cmake
26 include(${BUILD_SYS_INC}/bs_base_utils.cmake)
30 # This must be a macro and not a function so as to not provide an
31 # additional level of symbol scope.
45 # Function to capitalize SourceString and return
[all …]
/aosp_15_r20/external/pytorch/
H A DCMakeLists.txt10 # Enables CMake to set LTO on compilers other than Intel.
16 # we do this (and we don't if cmake is old), but it's nice when it's possible,
37 string(FIND "${CMAKE_CXX_FLAGS}" "-std=c++" env_cxx_standard)
48 "The C++ standard whose features are requested to build this target.")
52 "The C standard whose features are requested to build this target.")
55 include(cmake/public/utils.cmake)
61 "GCC-9.3 or newer is required to compile PyTorch, but found ${CMAKE_CXX_COMPILER_VERSION}"
65 # This define is needed to preserve behavior given anticpated changes to
68 string(APPEND CMAKE_CUDA_FLAGS
72 include(cmake/CheckAbi.cmake)
[all …]
/aosp_15_r20/external/llvm/cmake/modules/
H A DAddLLVM.cmake11 # LLVM_REQUIRES_EH is an internal flag that individual targets can use to
20 list(APPEND LLVM_COMPILE_FLAGS "-fno-exceptions")
22 list(APPEND LLVM_COMPILE_DEFINITIONS _HAS_EXCEPTIONS=0)
23 list(APPEND LLVM_COMPILE_FLAGS "/EHs-c-")
28 # targets can use to force RTTI
32 list(APPEND LLVM_COMPILE_DEFINITIONS GTEST_HAS_RTTI=0)
34 list(APPEND LLVM_COMPILE_FLAGS "-fno-rtti")
36 list(APPEND LLVM_COMPILE_FLAGS "/GR-")
41 # - LLVM_COMPILE_FLAGS is list.
42 # - PROPERTY COMPILE_FLAGS is string.
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/lite/
H A DCMakeLists.txt10 # Unless required by applicable law or agreed to in writing, software
19 # WARNING: This is an experimental that is subject to change.
31 message(STATUS "Setting build type to Release, for debug builds use"
54 "${TFLITE_SOURCE_DIR}/tools/cmake/modules"
58 "${TFLITE_SOURCE_DIR}/tools/cmake/modules"
79 … message(FATAL_ERROR "Path to the natively compiled 'flatc' compiler binary has not been provided!\
102 # SOURCE_DIR: Directory to search for files.
103 # SOURCES_VAR: Variable to append with all matching *.cc and *.h files.
105 # Additional regular expressions to filter the set of matching
108 # [RECURSE]: Whether to recursively search SOURCE_DIR.
[all …]
/aosp_15_r20/external/libaom/
H A DCMakeLists.txt4 # This source code is subject to the terms of the BSD 2 Clause License and the
47 "MSVC versions prior to 2019 (v16) are not supported and may generate"
58 # passed to libtool.
70 # Enable generators like Xcode and Visual Studio to place projects in folders.
73 include("${AOM_ROOT}/build/cmake/aom_configure.cmake")
75 include("${AOM_ROOT}/common/ivf_dec.cmake")
77 include("${AOM_ROOT}/aom_dsp/aom_dsp.cmake")
78 include("${AOM_ROOT}/aom_mem/aom_mem.cmake")
79 include("${AOM_ROOT}/aom_ports/aom_ports.cmake")
80 include("${AOM_ROOT}/aom_scale/aom_scale.cmake")
[all …]
/aosp_15_r20/external/deqp-deps/glslang/
DCMakeLists.txt10 # notice, this list of conditions and the following disclaimer.
13 # copyright notice, this list of conditions and the following
18 # contributors may be used to endorse or promote products derived
37 # https://cmake.org/cmake/help/latest/variable/PROJECT_IS_TOP_LEVEL.html
38 string(COMPARE EQUAL ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR} PROJECT_IS_TOP_LEVEL)
46 # Adhere to GNU filesystem layout conventions
67 message(STATUS "No build type selected, default to Debug")
96 # Control whether to install Glslang.
110 "If using Emscripten, builds to run on Node instead of Web"
120 # Workaround for CMake behavior on Mac OS with gcc, cmake generates -Xarch_* arguments
[all …]
/aosp_15_r20/external/angle/third_party/glslang/src/
H A DCMakeLists.txt10 # notice, this list of conditions and the following disclaimer.
13 # copyright notice, this list of conditions and the following
18 # contributors may be used to endorse or promote products derived
37 # https://cmake.org/cmake/help/latest/variable/PROJECT_IS_TOP_LEVEL.html
38 string(COMPARE EQUAL ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_SOURCE_DIR} PROJECT_IS_TOP_LEVEL)
46 # Adhere to GNU filesystem layout conventions
67 message(STATUS "No build type selected, default to Debug")
96 # Control whether to install Glslang.
111 "If using Emscripten, builds to run on Node instead of Web"
121 # Workaround for CMake behavior on Mac OS with gcc, cmake generates -Xarch_* arguments
[all …]
/aosp_15_r20/external/curl/
H A DCMakeLists.txt14 # You may opt to use, copy, modify, merge, publish, distribute and/or sell
15 # copies of the Software, and permit persons to whom the Software is
16 # furnished to do so, under the terms of the COPYING file.
32 # https://cmake.org/cmake/help/latest/module/FetchContent.html#integrating-with-find-package
43 # to ON or OFF), the symbol detection is skipped. If the variable is
44 # NOT DEFINED, the symbol detection is performed.
50 # Must reside at the top of the script to work as expected.
82 string(REGEX MATCH "#define LIBCURL_VERSION \"[^\"]*" _curl_version ${_curl_version_h_contents})
83 string(REGEX REPLACE "[^\"]+\"" "" _curl_version ${_curl_version})
84 string(REGEX MATCH "#define LIBCURL_VERSION_NUM 0x[0-9a-fA-F]+" _curl_version_num ${_curl_version_h…
[all …]
/aosp_15_r20/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 …]
/aosp_15_r20/external/pigweed/pw_build/
H A Dcc_blob_library.cmake9 # Unless required by applicable law or agreed to in writing, software
17 cmake_minimum_required(VERSION 3.20) # string(JSON)
19 include("$ENV{PW_ROOT}/pw_build/pigweed.cmake")
22 # arrays are constant initialized and are safe to access at any time, including
29 # The header file to generate. Users will include this file exactly as it is
30 # written here to reference the byte arrays.
34 # The C++ namespace in which to place the generated blobs.
38 # A blob to be transformed from file to byte array. Multiple blobs may be
45 # The C++ symbol name for the byte array.
67 set(json_blobs "[]") # Create a JSON list of blobs
[all …]
/aosp_15_r20/external/executorch/
H A DCMakeLists.txt12 # Configure the CMake build system. It's good practice to do this whenever
13 # cloning or pulling the upstream repo. Once this is done, you don't need to do
16 # NOTE: Build options can be configured by passing arguments to cmake. For
17 # example, to enable the EXECUTORCH_BUILD_XNNPACK option, change the cmake
18 # command to 'cmake -DEXECUTORCH_BUILD_XNNPACK=ON ..'.
20 (rm -rf cmake-out \
21 && mkdir cmake-out \
22 && cd cmake-out \
23 && cmake ..)
28 # NOTE: The `-j` argument specifies how many jobs/processes to use when
[all …]
/aosp_15_r20/external/pytorch/cmake/public/
H A Dcuda.cmake9 # release (3.11.3) yet. Hence we need our own Modules_CUDA_fix to enable sccache.
10 list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/../Modules_CUDA_fix)
12 # We don't want to statically link cudart, because we rely on it's dynamic linkage in
15 # to a dynamic libcudart.so, but that's just wasteful.
41 # Pass clang as host compiler, which according to the docs
43 # https://cmake.org/cmake/help/v3.15/variable/CMAKE_CUDA_HOST_COMPILER.html
78 # compiling with, e.g., if a ccache nvcc is fed to us by CUDA_NVCC_EXECUTABLE
82 # When using Visual Studio, it attempts to lock the whole binary dir when
83 # `try_run` is called, which will cause the build to fail.
84 string(RANDOM BUILD_SUFFIX)
[all …]
/aosp_15_r20/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 …]

12345