Skip to main content

Questions tagged [cmake]

Questions about CMake, an open-source cross-platform "meta-make" where you can describe your software project's build, test and deployment process in an abstract way using configuration files. From those configurations it can generate build environments for all sorts of compilers and IDEs on all major operating systems.

2 votes
3 answers
270 views

A little background on the project: we as a company receive a spaghetti source code, and into that we add even more spaghetti code. So with that I want to say that complete restructuring and ...
Tomáš Viks Pilný's user avatar
1 vote
1 answer
178 views

We have a monolith C++ application and I consider doing some major refactorings. Since we're not completely ready to go full "microservices only" (maybe in about two years time), I want to ...
glades's user avatar
  • 493
1 vote
0 answers
264 views

I've recently created a library that needs a non-text (but platform agnostic) resource to be used. I basically tell CMake, if this is an install interface, it's in the "${...
Krupip's user avatar
  • 1,347
0 votes
1 answer
683 views

In the online book "Introduction to Modern CMake", I found the following recommendation: Do not use global functions: This includes link_directories, include_libraries, and similar. Yet the ...
Vorac's user avatar
  • 7,189
2 votes
0 answers
293 views

Suppose I'm working on software to be installed on a Linux machine (not mine). Say the software consists of applications the user might start independently; an application which will likely be started ...
einpoklum's user avatar
  • 2,808
3 votes
0 answers
292 views

We are developing a benchmarking framework in C++, with Make and CMake as build tools. The aim of the framework is to allow others who build algorithms to perform head-to-head comparison against prior ...
Mihai Bujanca's user avatar
1 vote
1 answer
98 views

I'm working on a CMake module which, at some point, invokes try_run(). The file I'm compiling is not really part of the project's sources - it's not used anywhere. It's only ever useful for CMake, to ...
einpoklum's user avatar
  • 2,808
1 vote
1 answer
993 views

I am working on configuring the build environment for a C++ project that uses multiple libraries. These libraries are independent of each other, but they all depend on the same 3rd party library (...
tjwrona's user avatar
  • 269

15 30 50 per page