Home
last modified time | relevance | path

Searched full:cmake (Results 1 – 25 of 1538) sorted by relevance

12345678910>>...62

/external/llvm/docs/
DCMakePrimer.rst2 CMake Primer
10 anyone affiliated with the CMake project. This document may contain
18 The LLVM project and many of the core projects built on LLVM build using CMake.
19 This document aims to provide a brief overview of CMake for developers modifying
22 The official CMake language references is available in the cmake-language
23 manpage and `cmake-language online documentation
24 <https://cmake.org/cmake/help/v3.4/manual/cmake-language.7.html>`_.
29 CMake is a tool that reads script files in its own language that describe how a
30 software project builds. As CMake evaluates the scripts it constructs an
32 fully processed, if there are no errors, CMake will generate build files to
[all …]
DCMake.rst2 Building LLVM with CMake
11 `CMake <http://www.cmake.org/>`_ is a cross-platform build-generator tool. CMake
20 `Quick start`_ section. If you are a CMake novice, start with `Basic CMake usage`_
23 you already have experience with CMake, this is the recommended starting point.
25 This page is geared towards users of the LLVM CMake build. If you're looking for
26 information about modifying the LLVM CMake build system you may want to see the
27 :doc:`CMakePrimer` page. It has a basic overview of the CMake language.
34 We use here the command-line, non-interactive CMake interface.
36 #. `Download <http://www.cmake.org/cmake/resources/software.html>`_ and install
37 CMake. Version 3.4.3 is the minimum required.
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DCMakePrimer.rst2 CMake Primer
10 anyone affiliated with the CMake project. This document may contain
18 The LLVM project and many of the core projects built on LLVM build using CMake.
19 This document aims to provide a brief overview of CMake for developers modifying
22 The official CMake language references is available in the cmake-language
23 manpage and `cmake-language online documentation
24 <https://cmake.org/cmake/help/v3.4/manual/cmake-language.7.html>`_.
29 CMake is a tool that reads script files in its own language that describe how a
30 software project builds. As CMake evaluates the scripts it constructs an
32 fully processed, if there are no errors, CMake will generate build files to
[all …]
DCMake.rst2 Building LLVM with CMake
11 `CMake <http://www.cmake.org/>`_ is a cross-platform build-generator tool. CMake
20 `Quick start`_ section. If you are a CMake novice, start with `Basic CMake usage`_
23 you already have experience with CMake, this is the recommended starting point.
25 This page is geared towards users of the LLVM CMake build. If you're looking for
26 information about modifying the LLVM CMake build system you may want to see the
27 :doc:`CMakePrimer` page. It has a basic overview of the CMake language.
34 We use here the command-line, non-interactive CMake interface.
36 #. `Download <http://www.cmake.org/cmake/resources/software.html>`_ and install
37 CMake. Version 3.4.3 is the minimum required.
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/cmake/modules/
DCMakeLists.txt1 set(LLVM_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm)
4 # First for users who use an installed LLVM, create the LLVMExports.cmake file.
5 set(LLVM_EXPORTS_FILE ${llvm_cmake_builddir}/LLVMExports.cmake)
11 set(LLVM_BUILDTREEONLY_EXPORTS_FILE ${llvm_cmake_builddir}/LLVMBuildTreeOnlyTargets.cmake)
23 # CMake requires that all targets expressed as dependencies exist, so we can't
25 # projects building out of tree will have CMake errors. This only gets hit when
32 # Generate LLVMConfig.cmake for the build tree.
57 # one from the build tree. This is due to our cmake files being split between
60 # tree, both the generated LLVMExports.cmake file and the rest of the cmake
61 # source files are put in the same cmake directory.
[all …]
/external/llvm/cmake/modules/
DCMakeLists.txt1 set(LLVM_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm)
6 FILE ${llvm_cmake_builddir}/LLVMExports.cmake)
16 # Generate LLVMConfig.cmake for the build tree.
34 set(LLVM_CONFIG_EXPORTS_FILE "${llvm_cmake_builddir}/LLVMExports.cmake")
36 LLVMConfig.cmake.in
37 ${llvm_cmake_builddir}/LLVMConfig.cmake
45 FILES_MATCHING PATTERN *.cmake
50 # Generate LLVMConfig.cmake for the install tree.
52 # Compute the installation prefix from this LLVMConfig.cmake file location.
66 set(LLVM_CONFIG_EXPORTS_FILE "\${LLVM_CMAKE_DIR}/LLVMExports.cmake")
[all …]
/external/catch2/docs/
Dcmake-integration.md2 # CMake integration
5 [CMake target](#cmake-target)<br>
7 [CMake project options](#cmake-project-options)<br>
10 Because we use CMake to build Catch2, we also provide a couple of
13 1) Catch2 exports a (namespaced) CMake target
14 2) Catch2's repository contains CMake scripts for automatic registration
17 ## CMake target
19 Catch2's CMake build exports an interface target `Catch2::Catch2`. Linking
25 ```cmake
33 ```cmake
[all …]
/external/curl/docs/
DINSTALL.cmake7 How To Compile with CMake
9 Building with CMake
12 from source code using the CMake build tool. To build with CMake, you will
13 of course have to first install CMake. The minimum required version of
14 CMake is specified in the file CMakeLists.txt found in the top of the curl
15 source tree. Once the correct version of CMake is installed you can follow
18 CMake builds can be configured either from the command line, or from one
19 of CMake's GUI's.
21 Current flaws in the curl CMake build
24 Missing features in the cmake build:
[all …]
/external/libgav1/libgav1/
DCMakeLists.txt15 # libgav1 requires modern CMake.
33 "And re-run CMake from the libgav1_build directory.")
41 include("${libgav1_examples}/libgav1_examples.cmake")
42 include("${libgav1_root}/cmake/libgav1_build_definitions.cmake")
43 include("${libgav1_root}/cmake/libgav1_cpu_detection.cmake")
44 include("${libgav1_root}/cmake/libgav1_flags.cmake")
45 include("${libgav1_root}/cmake/libgav1_helpers.cmake")
46 include("${libgav1_root}/cmake/libgav1_install.cmake")
47 include("${libgav1_root}/cmake/libgav1_intrinsics.cmake")
48 include("${libgav1_root}/cmake/libgav1_options.cmake")
[all …]
/external/boringssl/src/
DBUILDING.md5 The standalone CMake build is primarily intended for developers. If embedding
13 * [CMake](https://cmake.org/download/) 3.0 or later is required.
21 If Perl is not found by CMake, it may be configured explicitly by setting
25 recommended, because it makes builds faster. On Windows, CMake's Visual
27 recent versions of CMake for assembly support.
30 by CMake, it may be configured explicitly by setting
39 Note Go is exempt from the five year support window. If not found by CMake,
48 Using Ninja (note the 'N' is capitalized in the cmake invocation):
52 cmake -GNinja ..
59 cmake ..
[all …]
/external/clang/cmake/modules/
DCMakeLists.txt1 # Generate a list of CMake library targets so that other CMake projects can
2 # link against them. LLVM calls its version of this file LLVMExports.cmake, but
3 # the usual CMake convention seems to be ${Project}Targets.cmake.
4 set(CLANG_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/clang)
8 export(TARGETS ${CLANG_EXPORTS} FILE ${clang_cmake_builddir}/ClangTargets.cmake)
10 # Generate ClangConfig.cmake for the build tree.
12 set(CLANG_CONFIG_EXPORTS_FILE "${clang_cmake_builddir}/ClangTargets.cmake")
14 ${CMAKE_CURRENT_SOURCE_DIR}/ClangConfig.cmake.in
15 ${clang_cmake_builddir}/ClangConfig.cmake
20 # Generate ClangConfig.cmake for the install tree.
[all …]
/external/flatbuffers/
Dconanfile.py8 from conans import ConanFile, CMake, tools
22 generators = "cmake"
24 …exports_sources = ["CMake/*", "include/*", "src/*", "grpc/*", "CMakeLists.txt", "conan/CMakeLists.…
27 """Wrap the original CMake file to call conan_basic_setup
39 """Create CMake instance and execute configure step
41 cmake = CMake(self)
42 cmake.definitions["FLATBUFFERS_BUILD_TESTS"] = False
43 cmake.definitions["FLATBUFFERS_BUILD_SHAREDLIB"] = self.options.shared
44 cmake.definitions["FLATBUFFERS_BUILD_FLATLIB"] = not self.options.shared
45 cmake.configure()
[all …]
/external/angle/third_party/vulkan-headers/src/
DBUILD.md26 However, this repository contains CMake build configuration files to "install"
81 - [CMake 3.10.2](https://cmake.org/files/v3.10/cmake-3.10.2-win64-x64.zip) is recommended.
82 - Use the installer option to add CMake to the system PATH
92 The general approach is to run CMake to generate the Visual Studio project
93 files. Then either run CMake with the `--build` option to build from the
104 cmake ..
105 cmake --build . --target install
109 #### Use `CMake` to Create the Visual Studio Project Files
118 cmake ..
120 > Note: The `..` parameter tells `cmake` the location of the top of the
[all …]
/external/vulkan-headers/
DBUILD.md26 However, this repository contains CMake build configuration files to "install"
81 - [CMake 3.10.2](https://cmake.org/files/v3.10/cmake-3.10.2-win64-x64.zip) is recommended.
82 - Use the installer option to add CMake to the system PATH
92 The general approach is to run CMake to generate the Visual Studio project
93 files. Then either run CMake with the `--build` option to build from the
102 cmake ..
103 cmake --build . --target install
107 #### Use `CMake` to Create the Visual Studio Project Files
115 cmake ..
117 > Note: The `..` parameter tells `cmake` the location of the top of the
[all …]
/external/libjpeg-turbo/
DBUILDING.md11 - [CMake](http://www.cmake.org) v2.8.12 or later
53 * If using JDK 11 or later, CMake 3.10.x or later must also be used.
90 * If using JDK 11 or later, CMake 3.10.x or later must also be used.
97 which CMake is executed (the "binary directory"), and this directory need not
109 NOTE: The build procedures below assume that CMake is invoked from the command
110 line, but all of these procedures can be adapted to the CMake GUI as
121 cmake -G"Unix Makefiles" [additional CMake flags] {source_directory}
164 cmake -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=Release [additional CMake flags] {source_directory}
196 Choose the appropriate CMake generator option for your version of Visual Studio
197 (run `cmake` with no arguments for a list of available generators.) For
[all …]
/external/libevent/
DMakefile.am111 cmake/AddCompilerFlags.cmake \
112 cmake/AddEventLibrary.cmake \
113 cmake/CheckConstExists.cmake \
114 cmake/CheckFileOffsetBits.c \
115 cmake/CheckFileOffsetBits.cmake \
116 cmake/CheckFunctionExistsEx.c \
117 cmake/CheckFunctionExistsEx.cmake \
118 cmake/CheckFunctionKeywords.cmake \
119 cmake/CheckPrototypeDefinition.c.in \
120 cmake/CheckPrototypeDefinition.cmake \
[all …]
/external/libaom/libaom/
DREADME.md29 - [Running tests via CMake](#2_running-the-tests-via-the-cmake-build)
47 1. [CMake](https://cmake.org) version 3.5 or higher.
72 CMake replaces the configure step typical of many projects. Running CMake will
73 produce configuration and build files for the currently selected CMake
78 $ cmake path/to/aom
85 applies: On systems where cc and c++ are present in $PATH at the time CMake is
96 Both types of options are set at the time CMake is run. The following example
100 $ cmake path/to/aom -DENABLE_CCACHE=1 -DCONFIG_AV1_ENCODER=0
107 currently be found in the file `build/cmake/aom_config_defaults.cmake`.
112 CMake built in variable `BUILD_SHARED_LIBS`:
[all …]
/external/protobuf/cmake/
DREADME.md1 This directory contains *CMake* files that can be used to build protobuf
5 You need to have [CMake](http://www.cmake.org), [Visual Studio](https://www.visualstudio.com)
31 If *cmake* command is not available from *Command Prompt*, add it to system *PATH* variable:
33 C:\Path\to>set PATH=%PATH%;C:\Program Files (x86)\CMake\bin
72 Now go to *cmake* folder in protobuf sources:
74 C:\Path\to\protobuf>cd cmake
75 C:\Path\to\protobuf\cmake>
77 Good. Now you are ready to *CMake* configuration.
79 CMake Configuration
82 *CMake* supports a lot of different
[all …]
/external/google-benchmark/
Dconanfile.py1 from conans import ConanFile, CMake, tools
16 generators = "cmake"
30 # Wrap the original CMake file to call conan_basic_setup
45 cmake = CMake(self)
47 cmake.definitions["BENCHMARK_ENABLE_TESTING"] = "OFF"
48 cmake.definitions["BENCHMARK_ENABLE_GTEST_TESTS"] = "OFF"
49 cmake.definitions["BENCHMARK_ENABLE_LTO"] = "ON" if self.options.enable_lto else "OFF"
50cmake.definitions["BENCHMARK_ENABLE_EXCEPTIONS"] = "ON" if self.options.enable_exceptions else "OF…
54cmake.definitions["BENCHMARK_BUILD_32_BITS"] = "ON" if "64" not in str(self.settings.arch) else "O…
55cmake.definitions["BENCHMARK_USE_LIBCXX"] = "ON" if (str(self.settings.compiler.libcxx) == "libc++…
[all …]
/external/fmtlib/test/fuzzing/
Dbuild.sh31 CXX="ccache g++" CXXFLAGS="$CXXFLAGSALL" cmake \
33 cmake --build $builddir
39 CXX="ccache g++" CXXFLAGS="$CXXFLAGSALL -g" cmake \
44 cmake --build $builddir
51 CXXFLAGS="$CXXFLAGSALL -fsanitize=fuzzer-no-link" cmake \
52 cmake $CMAKEFLAGSALL \
56 cmake --build $builddir
64 CXXFLAGS="$CXXFLAGSALL -fsanitize=fuzzer-no-link,address,undefined" cmake \
65 cmake $CMAKEFLAGSALL \
69 cmake --build $builddir
[all …]
/external/vulkan-validation-layers/
DBUILD.md59 1. CMake or Environment variable overrides (e.g., -DVULKAN_HEADERS_INSTALL_DIR)
76 directory and pass it on the CMake command line for building this repository,
89 and pass it on the CMake command line for building this repository, as
106 before configuring your build with CMake.
123 it on the CMake command line for building this repository, as described below.
154 cmake -C helper.cmake ..
155 cmake --build .
160 cmake -A x64 -C helper.cmake ..
161 cmake --build .
166 cmake -A Win32 -C helper.cmake ..
[all …]
/external/capstone/
DCOMPILE_CMAKE.TXT1 This documentation explains how to compile Capstone with CMake, focus on
10 This documentation requires CMake & Windows SDK or MS Visual Studio installed on
13 Get CMake for free from http://www.cmake.org.
20 SystemZ, X86 & XCore), if you just need several selected archs, run "cmake"
23 - CAPSTONE_ARM_SUPPORT: support ARM. Run cmake with -DCAPSTONE_ARM_SUPPORT=0 to remove ARM.
24 …- CAPSTONE_ARM64_SUPPORT: support ARM64. Run cmake with -DCAPSTONE_ARM64_SUPPORT=0 to remove ARM64.
25 - CAPSTONE_MIPS_SUPPORT: support Mips. Run cmake with -DCAPSTONE_MIPS_SUPPORT=0 to remove Mips.
26 - CAPSTONE_PPC_SUPPORT: support PPC. Run cmake with -DCAPSTONE_PPC_SUPPORT=0 to remove PPC.
27 …- CAPSTONE_SPARC_SUPPORT: support Sparc. Run cmake with -DCAPSTONE_SPARC_SUPPORT=0 to remove Sparc.
28 …- CAPSTONE_SYSZ_SUPPORT: support SystemZ. Run cmake with -DCAPSTONE_SYSZ_SUPPORT=0 to remove Syste…
[all …]
/external/google-fruit/
Dconanfile.py1 from conans import ConanFile, CMake, tools
16 generators = "cmake"
49 include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
53 cmake = CMake(self)
54 cmake.definitions["FRUIT_IS_BEING_BUILT_BY_CONAN"] = "YES"
55 cmake.definitions["BUILD_SHARED_LIBS"] = "YES" if self.options.shared else "NO"
58 cmake.definitions["BOOST_DIR"] = "."
60 cmake.definitions["FRUIT_USES_BOOST"] = "NO"
62 cmake.definitions["FRUIT_TESTS_USE_PRECOMPILED_HEADERS"] = "NO"
63 cmake.definitions["CMAKE_BUILD_TYPE"] = self.settings.build_type
[all …]
/external/grpc-grpc/test/distrib/cpp/
Drun_distrib_test_cmake.bat33 mkdir cmake
34 cd cmake
35 cmake -DCMAKE_INSTALL_PREFIX=%INSTALL_DIR% ..
36 cmake --build . --config Release --target install || goto :error
39 cd third_party/protobuf/cmake
42 cmake -DCMAKE_INSTALL_PREFIX=%INSTALL_DIR% -DZLIB_ROOT=%INSTALL_DIR% -Dprotobuf_MSVC_STATIC_RUNTIME…
43 cmake --build . --config Release --target install || goto :error
47 mkdir cmake
48 cd cmake
49 cmake -DCMAKE_INSTALL_PREFIX=%INSTALL_DIR% ..
[all …]
Drun_distrib_test_cmake.sh28 mkdir -p cmake/build
29 cd cmake/build
30 cmake -DCMAKE_BUILD_TYPE=Release ../..
37 mkdir -p cmake/build
38 cd cmake/build
39 cmake -DCMAKE_BUILD_TYPE=Release ../..
46 mkdir -p cmake/build
47 cd cmake/build
48 cmake -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release ..
54 mkdir -p cmake/build
[all …]

12345678910>>...62