| /freebsd-src/contrib/googletest/docs/ |
| H A D | quickstart-cmake.md | 1 # Quickstart: Building with CMake 3 This tutorial aims to get you up and running with GoogleTest using CMake. If 14 * [CMake](https://cmake.org/) and a compatible build tool for building the 19 [CMake Generators](https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html) 25 If you don't already have CMake installed, see the 26 [CMake installation guide](https://cmake.org/install). 34 CMake uses a file named `CMakeLists.txt` to configure the build system for a 45 GoogleTest. There are many ways to express dependencies in the CMake ecosystem; 47 [`FetchContent` CMake module](https://cmake.org/cmake/help/latest/module/FetchContent.html). 51 ```cmake [all …]
|
| H A D | pkgconfig.md | 17 ### CMake subsection 19 Using `pkg-config` in CMake is fairly easy: 21 ```cmake 47 tutorial and you try to run `cmake`. It is very possible that you get a failure 52 CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:640 (message): 75 mkdir build && cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
| /freebsd-src/contrib/ntp/sntp/libevent/ |
| H A D | Makefile.am | 112 cmake/AddCompilerFlags.cmake \ 113 cmake/AddEventLibrary.cmake \ 114 cmake/CheckConstExists.cmake \ 115 cmake/CheckFileOffsetBits.c \ 116 cmake/CheckFileOffsetBits.cmake \ 117 cmake/CheckFunctionKeywords.cmake \ 118 cmake/CheckPrototypeDefinition.c.in \ 119 cmake/CheckPrototypeDefinition.cmake \ 120 cmake/CheckWorkingKqueue.cmake \ 121 cmake/CodeCoverage.cmake \ [all …]
|
| H A D | README.md | 23 ## CMake (General) 26 The following Libevent specific CMake variables are as follows (the values being 34 # Installation directory for CMake files 35 EVENT_INSTALL_CMAKE_DIR:PATH=lib/cmake/libevent 70 # on the the cross compilation target to verify that it works. See CMake 75 __More variables can be found by running `cmake -LAH <sourcedir_path>`__ 78 ## CMake (Windows) 80 Install CMake: <https://www.cmake.org> 84 …$ cmake -G "Visual Studio 10" .. # Or whatever generator you want to use cmake --help for a list. 87 ## CMake (Unix) [all …]
|
| /freebsd-src/contrib/libevent/ |
| H A D | Makefile.am | 112 cmake/AddCompilerFlags.cmake \ 113 cmake/AddEventLibrary.cmake \ 114 cmake/CheckConstExists.cmake \ 115 cmake/CheckFileOffsetBits.c \ 116 cmake/CheckFileOffsetBits.cmake \ 117 cmake/CheckFunctionKeywords.cmake \ 118 cmake/CheckPrototypeDefinition.c.in \ 119 cmake/CheckPrototypeDefinition.cmake \ 120 cmake/CheckWorkingKqueue.cmake \ 121 cmake/CodeCoverage.cmake \ [all …]
|
| H A D | README.md | 23 ## CMake (General) 26 The following Libevent specific CMake variables are as follows (the values being 34 # Installation directory for CMake files 35 EVENT_INSTALL_CMAKE_DIR:PATH=lib/cmake/libevent 70 # on the the cross compilation target to verify that it works. See CMake 75 __More variables can be found by running `cmake -LAH <sourcedir_path>`__ 78 ## CMake (Windows) 80 Install CMake: <https://www.cmake.org> 84 …$ cmake -G "Visual Studio 10" .. # Or whatever generator you want to use cmake --help for a list. 87 ## CMake (Unix) [all …]
|
| /freebsd-src/contrib/expat/ |
| H A D | Makefile.am | 62 cmake/autotools/expat.cmake 65 cmake/autotools/expat-config-version.cmake \ 66 cmake/autotools/expat-noconfig.cmake \ 67 cmake/expat-config.cmake directory 69 cmakedir = $(libdir)/cmake/expat-@PACKAGE_VERSION@ 73 cmake/autotool [all...] |
| H A D | Changes | 21 !! - smart ideas on fixing the Autotools CMake files generation issue !! 42 #903 CMake: Add alias target "expat::expat" 43 #905 docs: Document use via CMake >=3.18 with FetchContent 87 #851 #879 Autotools: Sync CMake templates with CMake 3.28 92 #856 Autotools|CMake: Fix main() to main(void) 93 #865 Autotools|CMake: Fix compile tests for HAVE_SYSCALL_GETRANDOM 94 #863 Autotools|CMake: Stop requiring dos2unix 95 #854 #855 CMake: Fix check for symbols size_t and off_t 202 #706 #733 #792 Autotools: Sync CMake template [all...] |
| H A D | README.md | 44 ## Using libexpat in your CMake-Based Project 46 There are three documented ways of using libexpat with CMake: 50 This approach leverages CMake's own [module `FindEXPAT`](https://cmake.org/cmake/help/latest/module/FindEXPAT.html). 54 ```cmake 65 # a) for CMake >=3.10 (see CMake's FindEXPAT docs) 68 # b) for CMake >=3.0 77 - libexpat >=2.2.8 where packaging uses the CMake buil 211 Available OptionsExpat, Release 2.6.0""Building from a Source Distribution""b) Building with CMake global() argument [all...] |
| H A D | Makefile.in | 153 CONFIG_CLEAN_FILES = expat.pc cmake/expat-config.cmake \ 154 cmake/autotools/expat-config-version.cmake \ 155 cmake/autotools/expat-noconfig.cmake run.sh 243 $(top_srcdir)/cmake/autotools/expat-config-version.cmake.in \ 244 $(top_srcdir)/cmake/expat-config.cmake [all...] |
| /freebsd-src/contrib/libpcap/doc/ |
| H A D | README.Win32.md | |
| H A D | README.solaris.md | 11 * CMake 3.23.1 works. 17 * CMake 3.21.1 works. 27 developer/build/cmake 36 * CMake 3.21.0 works. 44 * CMake 3.14.3 works. 51 * CMake 3.14.3 works. 57 * CMake 2.8.9 does not work.
|
| /freebsd-src/contrib/libcbor/.circleci/ |
| H A D | config.yml | 8 - run: sudo NEEDRESTART_MODE=l apt-get install -y cmake ${TOOLCHAIN_PACKAGES} 13 cmake -DWITH_TESTS=ON \ 23 cmake -DWITH_TESTS=ON \ 103 … - run: sudo NEEDRESTART_MODE=l apt-get install -y cmake gcc-multilib g++-multilib libc6-dev-i386 108 cmake ~/cmocka -DCMAKE_TOOLCHAIN_FILE=~/cmocka/cmake/Toolchain-cross-m32.cmake && 113 cmake -DWITH_TESTS=ON \ 115 -DCMAKE_TOOLCHAIN_FILE=~/cmocka/cmake/Toolchain-cross-m32.cmake \ 185 - run: brew install cmocka cmake 197 - run: choco install cmake -y 200 - run: /c/Program\ Files/Cmake/bin/cmake -S cmocka -B cmocka_build [all …]
|
| /freebsd-src/contrib/tcpdump/doc/ |
| H A D | README.Win32.md | |
| /freebsd-src/contrib/libfido2/windows/ |
| H A D | build.ps1 | 7 [string]$CMakePath = "C:\Program Files\CMake\bin\cmake.exe", 47 # Find CMake. 48 $CMake = $(Get-Command cmake -ErrorAction Ignore | ` variable 50 if ([string]::IsNullOrEmpty($CMake)) { variable 51 $CMake = $CMakePath variable 53 if (-Not (Test-Path $CMake)) { variable 54 throw "Unable to find CMake at $CMake" variable 89 Write-Host "CMake: $CMake" variable 145 & $CMake ..\..\..\${LIBRESSL} -A "${Arch}" ` variable 151 & $CMake --build . --config ${Config} --verbose; ExitOnError variable [all …]
|
| /freebsd-src/contrib/googletest/googletest/ |
| H A D | README.md | 9 ### Build with CMake 11 GoogleTest comes with a CMake build script 14 If you don't have CMake installed already, you can download it for free from 15 <https://cmake.org/>. 17 CMake works by generating native makefiles or build projects that can be used in 19 standalone project or it can be incorporated into an existing CMake build for 22 #### Standalone CMake Project argument 32 cmake .. # Generate native build scripts for GoogleTest. 39 cmake .. -DBUILD_GMOCK=OFF 57 #### Incorporating Into An Existing CMake Projec argument 125 C++ Standard VersionBuild with CMake global() argument [all...] |
| H A D | CMakeLists.txt | 2 # Note: CMake support is community-based. The maintainers do not use CMake 5 # CMake build script for Google Test. 30 include(cmake/hermetic_build.cmake OPTIONAL) 42 # CMake files in this project can refer to the root source directory 59 # BUILD_SHARED_LIBS is a standard CMake variable, but we declare it here to 81 include(cmake/internal_utils.cmake) 83 config_compiler_and_linker() # Defined in internal_utils.cmake [all...] |
| /freebsd-src/contrib/libpcap/cmake/Modules/ |
| H A D | Finddpdk.cmake | 59 # This depends on CMake support for "imported targets", 60 # which are not supported until CMake 3.19. 62 # Ubuntu 20.04 provides CMake 3.16.3, so we are *NOT* 63 # going to require CMake 3.19. If you want to use 66 # provide CMake, provide 3.19 or later. 71 # at least, do it that way on older versions of CMake. 81 # This is *NOT* the case for CMake; not only do you need 82 # CMake in order to build a package using CMake, you need 84 # CMake file [all...] |
| H A D | FindAirPcap.cmake | 22 # AirPcap_ROOT to point cmake to the *root* of a directory with include and 24 # Alternatively, AirPcap_ROOT may also be set from the CMake command 25 # line or GUI (e.g cmake -DAirPcap_ROOT=C:\path\to\airpcap_sdk [...]) 35 # The only way to *FORCE* CMake to look in the Lib/x64 directory 39 # In newer versions of CMake, CMAKE_LIBRARY_ARCHITECTURE is set according to
|
| /freebsd-src/sys/contrib/zstd/ |
| H A D | appveyor.yml | 28 HOST: "cmake-visual" 88 - if [%HOST%]==[cmake-visual] ( 91 PUSHD build\cmake && 92 cmake -DBUILD_TESTING=ON . && 93 cmake --build . --config %CONFIGURATION% -j4 && 102 - if [%TEST%]==[cmake] ( 103 mkdir build\cmake\build && 104 cd build\cmake\build && 107 cmake -G "Visual Studio 14 2015 Win64" .. && 143 HOST: "cmake-visual" [all …]
|
| /freebsd-src/contrib/libcbor/src/ |
| H A D | CMakeLists.txt | 38 # http://www.cmake.org/Wiki/CMake:Install_Commands 54 libcborConfig.cmake.in 55 ${CMAKE_CURRENT_BINARY_DIR}/libcborConfig.cmake 56 INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/libcbor 60 ${CMAKE_CURRENT_BINARY_DIR}/libcborConfigVersion.cmake 66 ${CMAKE_CURRENT_BINARY_DIR}/libcborConfig.cmake 67 ${CMAKE_CURRENT_BINARY_DIR}/libcborConfigVersion.cmake 69 ${CMAKE_INSTALL_LIBDIR}/cmake/libcbor
|
| /freebsd-src/contrib/googletest/ |
| H A D | .gitignore | 4 cmake-build-debug/ 29 cmake-variants.yaml 53 # Ignore cmake generated directories and files. 55 CTestTestfile.cmake 57 cmake_install.cmake 59 googlemock/CTestTestfile.cmake 61 googlemock/cmake_install.cmake
|
| H A D | CONTRIBUTING.md | 93 * [CMake](https://cmake.org/) v2.8.12 or newer 103 tests. For that you can use CMake: 108 cmake -Dgtest_build_tests=ON -Dgmock_build_tests=ON ${GTEST_REPO_DIR} 112 cmake command to be one of each 115 cmake -Dgtest_build_tests=ON ${GTEST_DIR} # sets up Google Test tests 116 cmake -Dgmock_build_tests=ON ${GMOCK_DIR} # sets up Google Mock tests 120 in Python. If the cmake command complains about not being able to find Python 125 cmake -DPYTHON_EXECUTABLE=path/to/python ...
|
| /freebsd-src/contrib/googletest/googlemock/ |
| H A D | CMakeLists.txt | 2 # Note: CMake support is community-based. The maintainers do not use CMake 5 # CMake build script for Google Mock. 21 include("${gtest_dir}/cmake/hermetic_build.cmake" OPTIONAL) 35 # CMake files in this project can refer to the root source directory 46 # Instructs CMake to process Google Test's CMakeLists.txt and add its 55 # BUILD_SHARED_LIBS is a standard CMake variable, but we declare it here to 65 config_compiler_and_linker() # from ${gtest_dir}/cmake/internal_utils.cmake [all...] |
| /freebsd-src/contrib/libpcap/ |
| H A D | INSTALL.md | 3 with CMake and any build system supported by CMake. 30 To build libpcap with CMake and the build system of your choice, from 33 * Create a build directory into which CMake will put the build files it 34 generates; CMake does not work as well with builds done in the source 39 * Change to the build directory and run CMake with the path from the 41 can be used to select the CMake "generator" appropriate for the build 49 An `uninstall` target is supported with both `./configure` and CMake. 63 or CMake says: 78 CMake, althoug [all...] |