Linked Questions

1 vote
0 answers
112 views

I need to integrate a bazel C++ project as part of a cmake project. I have no experience with cmake and haven't found how I could do so. The bazel output is a shared library that will get linked to ...
Nick Skywalker's user avatar
0 votes
0 answers
59 views

Please consider below CMakeLists.txt. I am adding an external project if I am unable to find FOO; mylib1 and mylib2 depends on FOO. This works if I am doing make, it sets up FOO if not found and ...
struggling_learner's user avatar
1 vote
0 answers
48 views

I trying to superbuild mysql-connector-cpp in my project. Here is my file tree: src/ ├─ app/ ├─ common/ ├─ core/ ├─ CMakeLists.txt ThirdParty/ ├─ mysql-connector-cpp/ ├─ CMakeLists.txt CMakeLists.txt ...
cinargursoy's user avatar
10 votes
1 answer
6k views

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 ...
DuckQueen's user avatar
  • 900
3 votes
1 answer
8k views

I'm trying to include external libraries to a cmake project through ExternalProject_Add. To try out this feature I've created a minimal working example that involves adding pugixml to the project ...
RAM's user avatar
  • 2,846
6 votes
3 answers
4k views

With the following CMakeLists.txt build script: include( ExternalProject ) ExternalProject_Add( framework SOURCE_DIR ${framework_SOURCE} PREFIX framework_build ...
Ben Crowhurst's user avatar
0 votes
3 answers
4k views

I'm trying to build and link-to apache-arrow v9.0.0 inside my cmake project using the following section in my CMakeLists.txt file. ExternalProject_Add(arrow URL "https://www.apache.org/...
marital_weeping's user avatar
0 votes
2 answers
2k views

I am new to CMake. I was trying to use ImageMagick's c++ api Magick++ in my code. This is my whole directory structure: external/image_magick just contains the result of cloning the image magick ...
Haidar's user avatar
  • 4,209
1 vote
1 answer
2k views

I have to download zlib to use in my project. I use externlproject_add() to downaload all zlib repository, build and install it. After it, I want do install a lib that is part of zlib repository: ...
Lais Frigerio's user avatar
0 votes
0 answers
904 views

I have tried following this solution this individual has from this question. I am trying to do this with boost with the following cmake file in a separate directory from my Source: #------------------...
Sailanarmo's user avatar
  • 1,211
2 votes
1 answer
668 views

I have a subproject in my project for generating code used in the project, however i want to include it using ExternalProject so it can be built and ran regardless of the toolchain i use for the main ...
mat's user avatar
  • 331
0 votes
1 answer
442 views

I'm using cmake to generate Makefile for a project. In the top CMakeLists.txt, I need to include some sub modules. So it is like: include(cmake/Modules/pcre-8.40.cmake) include(cmake/Modules/curl-7....
Newman's user avatar
  • 5
1 vote
0 answers
316 views

I'm building an Audio Player, and I need FMOD to be built/extracted before the audio target gets built. Here's the CMakeLists.txt cmake_minimum_required(VERSION 3.4.1) # Setup GNU/Unix make set(...
Ognjen Galić's user avatar
1 vote
1 answer
243 views

I am trying a very simple ExternalProject usage against ITK. This will allow my automated jenkins slave to retrieve ITK directly instead of using a system installed library (thus I leave it as an ...
malat's user avatar
  • 12.7k