Home
last modified time | relevance | path

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

12345678910>>...28

/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/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/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 …]
DREADME.cmake7 README.cmake
10 Curl contains CMake build files that provide a way to build Curl with the
11 CMake build tool (www.cmake.org). CMake is a cross platform meta build tool
12 that generates native makefiles and IDE project files. The CMake build
15 Read the INSTALL.cmake file for instructions on how to compile curl with
16 CMake.
/external/boringssl/src/
DBUILDING.md5 * [CMake](https://cmake.org/download/) 2.8.11 or later is required.
13 If Perl is not found by CMake, it may be configured explicitly by setting
24 by CMake, it may be configured explicitly by setting
32 * [Go](https://golang.org/dl/) is required. If not found by CMake, the go
40 Using Ninja (note the 'N' is capitalized in the cmake invocation):
44 cmake -GNinja ..
51 cmake ..
54 You usually don't need to run `cmake` again after changing `CMakeLists.txt`
60 `cmake` to configure a release build.
63 Intel in `util/`. Wipe out the build directory, recreate it and run `cmake` like
[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/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 …]
Dinstall.cmake42 "\"${protobuf_SOURCE_DIR}/cmake/extract_includes.bat.in\" "
88 DESTINATION "lib/cmake/protobuf"
91 configure_file(protobuf-config.cmake.in
92 protobuf-config.cmake @ONLY)
93 configure_file(protobuf-config-version.cmake.in
94 protobuf-config-version.cmake @ONLY)
95 configure_file(protobuf-module.cmake.in
96 protobuf-module.cmake @ONLY)
99 "${protobuf_BINARY_DIR}/protobuf-config.cmake"
100 "${protobuf_BINARY_DIR}/protobuf-config-version.cmake"
[all …]
/external/brotli/
D.travis.yml9 env: BUILD_SYSTEM=cmake C_COMPILER=gcc-6 CXX_COMPILER=g++-6
18 env: BUILD_SYSTEM=cmake C_COMPILER=gcc-5 CXX_COMPILER=g++-5
27 env: BUILD_SYSTEM=cmake C_COMPILER=gcc-4.9 CXX_COMPILER=g++-4.9
36 env: BUILD_SYSTEM=cmake C_COMPILER=gcc-4.8 CXX_COMPILER=g++-4.8
45 env: BUILD_SYSTEM=cmake C_COMPILER=gcc-4.7 CXX_COMPILER=g++-4.7
54 env: BUILD_SYSTEM=cmake C_COMPILER=gcc-4.6 CXX_COMPILER=g++-4.6
63 # env: BUILD_SYSTEM=cmake C_COMPILER=gcc-4.5 CXX_COMPILER=g++-4.5
72 env: BUILD_SYSTEM=cmake C_COMPILER=gcc-4.4 CXX_COMPILER=g++-4.4
85 env: BUILD_SYSTEM=cmake C_COMPILER=clang-3.8 CXX_COMPILER=clang++-3.8
94 env: BUILD_SYSTEM=cmake C_COMPILER=clang-3.7 CXX_COMPILER=clang++-3.7
[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/boringssl/src/util/bot/
DUPDATING26 cmake-linux64.tar.gz: Download the latest CMake source tarball, found at
27 https://cmake.org/download/. Build it with:
29 ./bootstrap --prefix=$PWD/cmake-linux64 && make && make install
30 tar -czf cmake-linux64.tar.gz cmake-linux64/
32 The current revision was built against cmake-3.5.0.tar.gz.
34 cmake-mac.tar.gz: Follow the same instructions as above on a Mac, but replace
35 cmake-linux64 with cmake-mac.
37 The current revision was built against cmake-3.5.0.tar.gz.
39 cmake-win32.zip: Update to the latest prebuilt release of CMake, found at
40 https://cmake.org/download/. Use the file labeled "Windows ZIP". The
[all …]
/external/clang/cmake/caches/
DREADME.txt1 CMake Caches
4 This directory contains CMake cache scripts that pre-populate the CMakeCache in
7 You can use the caches files with the following CMake invocation:
9 cmake -G <build system>
11 [additional CMake options (i.e. -DCMAKE_INSTALL_PREFIX=<install path>)]
31 The PGO CMake cache can be used to generate a multi-stage instrumented compiler.
32 You can configure your build directory with the following invocation of CMake:
34 cmake -G <generator> -C <path_to_clang>/cmake/caches/PGO.cmake <source dir>
67 using the following CMake command:
69 cmake -C <path to clang>/cmake/caches/3-stage.cmake -G Ninja <path to llvm>
/external/vulkan-validation-layers/
Dbuild_windows_targets.bat5 REM It uses CMake to genererate the project files and then invokes msbuild
11 REM None: Runs CMake and builds all 4 combinations
13 REM cmake (case insensitive): Deletes build and build32 and runs just CMake on both
14 REM 32: Deletes build32, runs CMake and builds 32-bit versions
15 REM 64: Deletes build, runs CMake and builds 64-bit versions
18 REM deletes build, creates build, runs CMake and compiles 64-bit Debug and Release.
28 echo.%%a | %WINDIR%\system32\find.exe /I "cmake">Nul && (set do_cmake=1)
42 REM Determine the appropriate CMake strings for the current version of Visual Studio
54 echo Generating 64-bit CMake files for Visual Studio %VS_VERSION%
55 cmake -G "Visual Studio %VS_VERSION% Win64" ..
[all …]
/external/parameter-framework/upstream/cmake/
DFindLibXml2.cmake29 # Wrapper around the official FindLibXml2.cmake in order to provide imported targets.
31 # See: https://cmake.org/cmake/help/git-master/manual/cmake-developer.7.html#find-modules
32 # See: https://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindGLUT.cmake
33 # for a modern Find<package>.cmake example
34 # TODO: make a real FindLibXml2.cmake in order to upstream it.
36 # More info on how to write Find*.cmake on:
37 # https://cmake.org/cmake/help/git-master/manual/cmake-developer.7.html#find-modules
39 # Remove this directory from CMAKE_MODULE_PATH for the call to the original FindLibXml2.cmake
/external/boringssl/src/third_party/android-cmake/
DREADME.md1 # android-cmake
3 CMake is great, and so is Android. This is a collection of CMake scripts that may be useful to the …
5 Main goal is to share these scripts so that devs that use CMake as their build system may easily co…
9 cmake -DCMAKE_TOOLCHAIN_FILE=android.toolchain.cmake \
14 cmake --build .
18cmake -DCMAKE_TOOLCHAIN_FILE=android.toolchain.cmake -DANDROID_NDK=<ndk_path> -DCMAKE_BUILD_TYPE=R…
22 1. Value of `ANDROID_NDK` CMake variable;
24 1. Search under paths from `ANDROID_NDK_SEARCH_PATHS` CMake variable;
31 To build a cmake-based C/C++ project for Android you need:
34 * CMake (>= v2.6.3, >= v2.8.9 recommended) http://www.cmake.org/download
[all …]
/external/llvm/runtimes/
DCMakeLists.txt10 # Find all subdirectories containing CMake projects
18 # If this file is acting as a top-level CMake invocation, this code path is
24 # Add the root project's CMake modules, and the LLVM build's modules to the
25 # CMake module path.
27 "${CMAKE_CURRENT_SOURCE_DIR}/../cmake"
28 "${CMAKE_CURRENT_SOURCE_DIR}/../cmake/Modules"
29 "${LLVM_BINARY_DIR}/lib/cmake/llvm"
32 # LLVMConfig.cmake contains a bunch of CMake variables from the LLVM build.
54 else() # if this is included from LLVM's CMake
69 # with dashes turned to underscores. This gives us the CMake variable prefixes
[all …]
/external/eigen/
DCMakeLists.txt8 …t allowed. Please make a new directory (called a build directory) and run CMake from there. You ma…
45 # but won't stop CMake.
65 set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
383 "${CMAKE_INSTALL_DATADIR}/eigen3/cmake"
384 CACHE PATH "The directory relative to CMAKE_PREFIX_PATH where Eigen3Config.cmake is installed"
396 …# if the property wasn't previously set, ${previous} is now "previous-NOTFOUND" which cmake allows…
442 set (CMAKE_MODULE_PATH "${CMAKE_ROOT}/Modules" "cmake/Modules/" "${CMAKE_MODULE_PATH}")
462 configure_file(scripts/cdashtesting.cmake.in cdashtesting.cmake @ONLY)
487 message(STATUS " | cmake . -DCMAKE_INSTALL_PREFIX=yourprefix")
489 message(STATUS " | cmake . -DINCLUDE_INSTALL_DIR=yourdir")
[all …]
/external/swiftshader/third_party/LLVM/docs/
DCMake.html5 <title>Building LLVM with CMake</title>
10 Building LLVM with CMake
16 <li><a href="#usage">Basic CMake usage</a>
19 <li><a href="#freccmake">Frequently-used CMake variables</a></li>
46 <p><a href="http://www.cmake.org/">CMake</a> is a cross-platform
47 build-generator tool. CMake does not build the project, it generates
53 are a CMake novice, start on <a href="#usage">Basic CMake
58 experience with CMake, this is the recommended starting point.
69 <p> We use here the command-line, non-interactive CMake interface </p>
73 <li><p><a href="http://www.cmake.org/cmake/resources/software.html">Download</a>
[all …]
/external/eigen/cmake/
Dlanguage_support.cmake1 # cmake/modules/language_support.cmake
7 # CMake bug 9220.
9 # On debian testing (cmake 2.6.2), I get return code zero when calling
10 # cmake the first time, but cmake crashes when running a second time
14 # CMake Error at /usr/share/cmake-2.6/Modules/CMakeFortranInformation.cmake:7 (GET_FILENAME_COMPON…
19 # My workaround is to invoke cmake twice. If both return codes are zero,
/external/googletest/googletest/
DREADME.md54 ### Using CMake ###
56 Google Test comes with a CMake build script (
58 cross-platform.). If you don't have CMake installed already, you can
59 download it for free from <http://www.cmake.org/>.
61 CMake works by generating native makefiles or build projects that can
64 into an existing CMake build for another project.
66 #### Standalone CMake Project #### argument
73 cmake ${GTEST_DIR} # Generate native build scripts.
78 cmake -Dgtest_build_samples=ON ${GTEST_DIR}
89 #### Incorporating Into An Existing CMake Project #### argument
[all …]
/external/protobuf/
Dupdate_file_lists.sh3 # This script copies source file lists from src/Makefile.am to cmake files.
70 # Update cmake files.
73 CMAKE_DIR=cmake
74 EXTRACT_INCLUDES_BAT=cmake/extract_includes.bat.in
114 # Replace file lists in cmake files.
116 set_cmake_value $CMAKE_DIR/libprotobuf-lite.cmake libprotobuf_lite_files $CMAKE_PREFIX $LIBPROTOBUF…
117 set_cmake_value $CMAKE_DIR/libprotobuf.cmake libprotobuf_files $CMAKE_PREFIX $LIBPROTOBUF_SOURCES
118 set_cmake_value $CMAKE_DIR/libprotoc.cmake libprotoc_files $CMAKE_PREFIX $LIBPROTOC_SOURCES
119 set_cmake_value $CMAKE_DIR/tests.cmake lite_test_protos "" $LITE_PROTOS
120 set_cmake_value $CMAKE_DIR/tests.cmake tests_protos "" $PROTOS_BLACKLISTED
[all …]
/external/protobuf/util/
Dupdate_file_lists.sh3 # This script copies source file lists from src/Makefile.am to cmake files.
70 # Update cmake files.
73 CMAKE_DIR=cmake
74 EXTRACT_INCLUDES_BAT=cmake/extract_includes.bat.in
114 # Replace file lists in cmake files.
116 set_cmake_value $CMAKE_DIR/libprotobuf-lite.cmake libprotobuf_lite_files $CMAKE_PREFIX $LIBPROTOBUF…
117 set_cmake_value $CMAKE_DIR/libprotobuf.cmake libprotobuf_files $CMAKE_PREFIX $LIBPROTOBUF_SOURCES
118 set_cmake_value $CMAKE_DIR/libprotoc.cmake libprotoc_files $CMAKE_PREFIX $LIBPROTOC_SOURCES
119 set_cmake_value $CMAKE_DIR/tests.cmake lite_test_protos "" $LITE_PROTOS
120 set_cmake_value $CMAKE_DIR/tests.cmake tests_protos "" $PROTOS_BLACKLISTED
[all …]
/external/fmtlib/support/cmake/
Drun-cmake.bat2 rem This scripts configures build environment and runs CMake.
3 rem Use it instead of running CMake directly when building with
5 rem It is used in the same way as cmake, for example:
7 rem run-cmake -G "Visual Studio 10 Win64" .
9 for /F "delims=" %%i IN ('cmake "-DPRINT_PATH=1" -P %~dp0/FindSetEnv.cmake') DO set setenv=%%i
11 cmake %*

12345678910>>...28