Home
last modified time | relevance | path

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

12345678910>>...50

/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 …]
DAdvancedBuilds.rst11 `CMake <http://www.cmake.org/>`_ is a cross-platform build-generator tool. CMake
16 :doc:`CMake` pages. This page is intended for users doing more complex builds.
18 Many of the examples below are written assuming specific CMake Generators.
19 Unless otherwise explicitly called out these commands should work with any CMake
25 The Clang CMake build system supports bootstrap (aka multi-stage) builds. At a
31 then use that just-built clang to build clang again. In CMake this simplest form
37 $ cmake -G Ninja -DCLANG_ENABLE_BOOTSTRAP=On <path to source>
41 configurations for each stage. The next series of examples utilize CMake cache
60 configuration the Apple Clang build settings are contained in CMake Cache files.
65 $ cmake -G Ninja -C <path to clang>/cmake/caches/Apple-stage1.cmake <path to source>
[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 …]
DAdvancedBuilds.rst11 `CMake <http://www.cmake.org/>`_ is a cross-platform build-generator tool. CMake
16 :doc:`CMake` pages. This page is intended for users doing more complex builds.
18 Many of the examples below are written assuming specific CMake Generators.
19 Unless otherwise explicitly called out these commands should work with any CMake
25 The Clang CMake build system supports bootstrap (aka multi-stage) builds. At a
31 then use that just-built clang to build clang again. In CMake this simplest form
37 $ cmake -G Ninja -DCLANG_ENABLE_BOOTSTRAP=On <path to source>
41 configurations for each stage. The next series of examples utilize CMake cache
60 configuration the Apple Clang build settings are contained in CMake Cache files.
65 $ cmake -G Ninja -C <path to clang>/cmake/caches/Apple-stage1.cmake <path to source>
[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/boringssl/src/
DBUILDING.md5 The standalone CMake build is primarily intended for developers. If embedding
13 * [CMake](https://cmake.org/download/) 2.8.12 or later is required. Note we
14 will begin requiring CMake 3.0 in 2019.
22 If Perl is not found by CMake, it may be configured explicitly by setting
26 recommended, because it makes builds faster. On Windows, CMake's Visual
28 recent versions of CMake for assembly support.
31 by CMake, it may be configured explicitly by setting
40 Note Go is exempt from the five year support window. If not found by CMake,
49 Using Ninja (note the 'N' is capitalized in the cmake invocation):
53 cmake -GNinja ..
[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/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/libaom/libaom/
DREADME.md28 - [Running tests via CMake](#2_running-the-tests-via-the-cmake-build)
46 1. [CMake](https://cmake.org) version 3.5 or higher.
69 CMake replaces the configure step typical of many projects. Running CMake will
70 produce configuration and build files for the currently selected CMake
75 $ cmake path/to/aom
82 applies: On systems where cc and c++ are present in $PATH at the time CMake is
93 Both types of options are set at the time CMake is run. The following example
97 $ cmake path/to/aom -DENABLE_CCACHE=1 -DCONFIG_AV1_ENCODER=0
104 currently be found in the file `build/cmake/aom_config_defaults.cmake`.
109 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
75 Now go to *cmake* folder in protobuf sources:
77 C:\Path\to\protobuf\gmock>cd ..\cmake
78 C:\Path\to\protobuf\cmake>
80 Good. Now you are ready to *CMake* configuration.
82 CMake Configuration
85 *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/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 …]
/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/freetype/
DCMakeLists.txt16 # call cmake to configure the build with default parameters as a static
19 # cmake -E make_directory build
20 # cmake -E chdir build cmake ..
24 # cmake -E chdir build cmake -D BUILD_SHARED_LIBS:BOOL=true ..
28 # cmake -E chdir build cmake -G Xcode -D BUILD_FRAMEWORK:BOOL=true ..
32 # cmake -E chdir build cmake -G Xcode -D IOS_PLATFORM=OS ..
36 # cmake -E chdir build cmake -G Xcode -D IOS_PLATFORM=SIMULATOR ..
40 # cmake -E chdir build cmake -G Xcode -D IOS_PLATFORM=SIMULATOR64 ..
44 # cmake --build build
48 # (sudo) cmake --build build --target install
[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.
150 cmake -C helper.cmake ..
151 cmake --build .
155 - You may need to adjust some of the CMake options based on your platform. See
167 - The `update_deps.py` script generates a file named `helper.cmake` and places
169 case). This file contains CMake commands to set the CMake `*_INSTALL_DIR`
[all …]
/external/eigen/doc/
DTopicCMakeGuide.dox5 \page TopicCMakeGuide Using %Eigen in CMake Projects
7 %Eigen provides native CMake support which allows the library to be easily
8 used in CMake projects.
10 \note %CMake 3.0 (or later) is required to enable this functionality.
12 %Eigen exports a CMake target called `Eigen3::Eigen` which can be imported
13 using the `find_package` CMake command and used by calling
15 \code{.cmake}
28 $ cmake path-to-example-directory
30 CMake will produce project files that generate an executable called `example`
35 …avorite one by setting the \c Eigen3_DIR cmake's variable to the respective path containing the \c…
[all …]
/external/freetype/builds/cmake/
Dtestbuild.sh12 # This script tests the CMake build. Simply run
14 # builds/cmake/testbuild.sh
18 # BUILD_SHARED_LIBS=1 builds/cmake/testbuild.sh
28 # - The variable BUILD_SHARED_LIBS will be forwarded to the CMake project
37 tmpdir=/tmp/freetype-cmake-testbuild
57 (set -x; cmake -H$ftdir \
61 (set -x; cmake --build $tmpdir/ftb \
65 (set -x; cmake $tmpdir/ftb \
67 (set -x; cmake --build $tmpdir/ftb \
77 project(freetype-cmake-testbuild)
[all …]
/external/vulkan-headers/
DBUILD.md26 However, this repository contains CMake build configuration files to "install"
81 - [CMake](http://www.cmake.org/download/) (Version 2.8.11 or better)
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 …]

12345678910>>...50