I have a code written in CUDA C++, I can build this project using CMake, Make and run it as usual. But when I try to use nvcc to debug it, it throws a ...
I have a code written in CUDA C++, I can build this project using CMake, Make and run it as usual. But when I try to use nvcc to debug it, it throws a ...
As we know, C++23 support Standard Library Modules. Until May 2023, MSVC support it but we need add Standard Library Modules manually as Microsoft blo ...
My setup and what I try to achieve My project is set up to use CMake, Ninja as my generator and MSVC as my compiler. I have an executable target A.ex ...
I am converting some buck scripts to cmake and i have hit an issue where the script, based on conditional compilation flag creates an alias of the hea ...
I want to install RTABMap with vcpkg and then use VSCode as editor to include RTABMap into my C++ project. I installed RTABMap as described on their w ...
This is my simple CMakeLists.txt: I recently learned about the add_library(x OBJECT y z ...) construct; my understanding: this doesn't create a sta ...
I have a project where one repeatable task to do involves manipulating files' contents. Until now I used a Python script for it, but recently I discov ...
I am trying to change the C++ Standard from version 17 to 20 so I can use the jthread lib. On my root CMakelists.txt of the project I added : But ...
I am trying to set up a basic Boost.Logging demo project, with Conan and CMake. I'm using Conan 1.53.0 and CMake 3.22.1, with gcc-11.3.0, on Ubuntu 2 ...
Any normal gcc compatible compiler specifies the source file with -c option (compile but not link). I have to deal with "Tasking" compiler which doesn ...
I have a CMake project that produces a static library. It compiles fine in QtCreator and produces the library in build dir. The CMakeLists.txt for the ...
Win10 x64, ROS 2 - Humble, VS 2019 I'm going through the ROS beginners tutorials but I've run into problem building packages with colcon and got as f ...
I am trying to include the Raspberry Pi Pico PIO/i2c example in a library within my larger project (to abstract i2c implementations). This seems to wo ...
I am working on a project that is based on the merged header placement (headers, sources and tests are in the same directory). I would like to link an ...
I'm striving to understand how to create / modify a global variable (whose prefix is not <PACKAGE>_) from within a Find<package>.cmake fil ...
When I run a program with CLion, I have the below directories and files generated automatically except Problem Details.txt I'm not sure which files ...
I'm using FetchContent to get the targets of another github cmake project. Locally everything builds fine, but in my github workflow, I'm getting this ...
I'm just curious to know if there is a way to set up the CMake toolchain without using environment variables at all. I like to directly call the CMake ...
I have very complex CMake project. Where variables are often defined like set("${scope}_${variable_name}" value..) or other complex way. I need to fi ...
There is an object library in CMake: which is linked to my static library: The problem is once the library revota is build and installed, the re ...