external-project Questions
7
I have a Project A that exports a static library as a target:
install(TARGETS alib DESTINATION lib EXPORT project_a-targets)
install(EXPORT project_a-targets DESTINATION lib/alib)
Now I want to ...
Frowsy asked 2/3, 2013 at 13:59
1
I am building a project with Cmake and use FetchContent to manage dependencies. For several reasons I cannot depend on system-wide installed packages, so this package helps a lot. It allows me to d...
Whew asked 10/12, 2020 at 10:7
2
I am trying to add Postgresql as a dependency for my project for which I am using ExternalProject module to download the source from github and build, but the build step fails when running from cma...
Lousy asked 28/10, 2020 at 2:5
1
Solved
The URL understood by the git command can be in the format HTTPS or SSH.
In CMake, using ExternalProject_Add for the specified GIT_REPOSITORY any URL understood by the git command may be used.
Usin...
Portulaca asked 8/7, 2019 at 12:40
6
Solved
I am trying to use ExternalProject_add() to download/install dependencies. It installs fine, but I can't figure out how to actually link the libraries after they are downloaded.
I want to call ta...
Knowles asked 15/6, 2011 at 0:6
3
Solved
Is there are proper way to find a library (via FindPackage()) which was built with ExternalProject_Add()?
The problem is that CMake cannot find the library at CMake-time because the external libra...
Inoue asked 3/7, 2013 at 11:40
3
I have a git-bare-repository on my desktop and I would like to clone it with CMake. My repository has this path C:\Users\demoUser\Desktop\learnGIT\prog. My CMakeLists.txt looks like this:
cmake_mi...
Amalburga asked 3/2, 2015 at 19:22
4
The CMake's ExternalProject allows to define how to an external project is going to be downloaded, configured, built and installed. All whose steps are going to be performed at the build time.
I w...
Cavern asked 15/6, 2016 at 20:43
1
Solved
I'm trying to add an Automake project as an external project.
The Automake configure script (usually run with ./configure) contains a relative path to a resource file. The file is found when I run ...
Chifforobe asked 16/4, 2018 at 17:24
1
Solved
This is probably quite simple.
I have an Android project that uses NDK. I will like to include the opus source code in the native code. I have tried using the ExternalProject_Add property of CMak...
Endicott asked 2/12, 2017 at 4:35
0
One of the libraries I'm using is giving a cmake warning for the developers of it. I'm trying to suppress that warning in my ExternalProject_Add with -Wno-dev
I tried setting it at:
CMAKE_ARGS
...
Curhan asked 4/5, 2017 at 10:19
2
Solved
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
GIT_REPOSITORY "https://github.com/...
Elephantine asked 12/1, 2017 at 16:40
1
Solved
Question summary.
I have a project A that I build using CMake, which compiles cleanly.
However, when I pull A into another project B using CMake's ExternalProject_Add command, compilation fails w...
Ritual asked 7/11, 2016 at 22:3
1
Let's say I have the following project setup with these dependencies:
MainProject
├─ Dependency_1
│ └─ Dependency_2
└─ Dependency_2
These dependencies are handled in MainProject and Dependency_1...
Lindsy asked 17/8, 2016 at 16:27
1
Solved
It can be a pain to refrence ExternalProjects when their install targets are messed up. So one may want to build and install ExternalProjects once before generating main project files for given pro...
Crescentic asked 31/5, 2016 at 18:39
1
Solved
I have the following code in one of my CMakeLists.txt:
FIND_PACKAGE(sphinxbase)
if (${SPHINXBASE_FOUND})
INCLUDE_DIRECTORIES(${SPHINXBASE_INCLUDE_DIR}/sphinxbase/)
else ()
ExternalProject_Add(
...
Meaty asked 11/3, 2016 at 7:1
1
Solved
First off, I'm relatively new to cmake. I'm trying to use cmake to build a project with a single external dependency. I specify the INSTALL_DIR for the external project to be CMAKE_INSTALL_PREFIX, ...
Brocket asked 18/4, 2015 at 22:31
1
I don't understand the usage of INSTALL_DIR in ExternalProject_Add command. I try to use it but it does not seem to work. Here is an example of a CMakeLists.txt, using Eigen library which compiles ...
Hipbone asked 9/4, 2015 at 8:9
2
Solved
I would like to build a third-party project that already has CMake as part of my project's CMake strips. ExternalProject_Add is for this purpose, but I have found it can only be made to work with a...
Interlude asked 30/5, 2013 at 17:16
1
Solved
I'm building an external library using CMake with ExternalProject_Add. I've used the answer here to generate the following (which captures command line input to CMake in order to pass it to the Ext...
Ternan asked 27/8, 2014 at 17:46
2
Solved
I want to build openssl and link my project against it. In my project, I have a library called net which is the part that uses openssl. So in my net\CMakeList, I added
include_directories(
../
+...
Quenna asked 1/7, 2014 at 11:14
1
Solved
I am building lua as an external project and I want to use my own CMakeLists.txt instead of the bundled Makefile. This is what I have in my main CMakeLists.txt:
include(ExternalProject)
set(lua_RE...
Tantivy asked 25/9, 2011 at 16:9
1
© 2022 - 2024 — McMap. All rights reserved.