Top "External-project" questions

CMake's support for obtaining, building and installation of projects distinct from the one currently being processed.

CMake: How to build external projects and include their targets

I have a Project A that exports a static library as a target: install(TARGETS alib DESTINATION lib EXPORT project_…

cmake external-project
CMake - linking to library downloaded from ExternalProject_add()

I am trying to use ExternalProject_add() to download/install dependencies. It installs fine, but I can't figure out how …

cmake external-project
How do I use CMake ExternalProject_Add or alternatives in a cross-platform way?

I would like to build a third-party project that already has CMake as part of my project's CMake strips. ExternalProject_…

cmake cross-platform external-project
Unknown CMake command "ExternalProject_Add"

I have following CMakeLists.txt file: cmake_minimum_required (VERSION 3.2 FATAL_ERROR) project (utils VERSION 1.0.0 LANGUAGES CXX) ExternalProject_Add(json-c …

cmake external-project
CMake ExternalProject_Add() and FindPackage()

Is there are proper way to find a library (via FindPackage()) which was built with ExternalProject_Add()? The problem is …

c++ build cmake vtk external-project
How to configure ExternalProject during main project configuration?

The CMake's ExternalProject allows to define how to an external project is going to be downloaded, configured, built and installed. …

cmake external-project
CMake ExternalProject_Add Git

I have a git-bare-repository on my desktop and I would like to clone it with CMake. My repository has this …

git cmake external-project
Passing CMake Variables to ExternalProject_Add

I'm building an external library using CMake with ExternalProject_Add. I've used the answer here to generate the following (which …

c++ cmake external-project
What is INSTALL_DIR useful for in ExternalProject_Add command?

I don't understand the usage of INSTALL_DIR in ExternalProject_Add command. I try to use it but it does …

cmake external-project