Skip to main content
-4 votes
0 answers
31 views

I tried to add CGAL v 6.1.1 to my my C++ project. I'm using cmake and (for all other libraries) CPM. So I tried to do the same for CGAL. Meaning, I added: CPMAddPackage( NAME CGAL ...
skrat's user avatar
  • 740
-1 votes
1 answer
78 views

I'm having some problems compiling a simple piece of code. I'm just starting to use cmake (before I only used handcrafted Makefile) and compiling this piece of code in my PC works normally. Code: #...
Nelson's user avatar
  • 73
0 votes
1 answer
48 views

While refactoring some legacy code I ran into some strange behaviour of CMake+GCC that I can not explain or correct. This is what I have: Debian Trixie with GCC 14.2.0 and CMake 3.31.6 A test project ...
PapaAtHome's user avatar
0 votes
0 answers
41 views

The stripped binary was built with set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s"), and I generated both stripped binary and none stripped binary, and use ndk toolchain objdump to ...
xxxLD's user avatar
  • 41
1 vote
1 answer
42 views

Here is a piece of cmake code: macro(my_macro p) message("--my_macro--") message("p is: ${p}") if(p) # <========================= (1) message("\"if(...
SZYoo's user avatar
  • 518
0 votes
0 answers
28 views

I have a CMake project in which I'm creating a creating a build directory to generate CMake related files when cmake .. command is given from the build directory. After compilation, I execute cmake --...
Harry's user avatar
  • 4,334
0 votes
1 answer
27 views

I'm looking at some CMake package config file (or set of files), e.g. at /opt/foo/lib64/cmake/foo/FooConfig.cmake (and other files in that directory - -version.cmake and so on). Now, I want to get a ...
einpoklum's user avatar
  • 138k
4 votes
0 answers
150 views

There's an implementation of the foo module that uses only the standard library: module; #include <iostream> export module foo; export void foo() { std::cout << "foo" <&...
d7d1cd's user avatar
  • 561
0 votes
0 answers
59 views

I've read this question: How do I tell CMake to output the package search paths? and can now more easily debug package searches. However, I'm searching for a certain package using pkg-config, e.g.: ...
einpoklum's user avatar
  • 138k
0 votes
1 answer
50 views

I have used ccmake to configure a project with a combination of options - strings, toggles, etc. Now, I want to save my choices so that, in the future or on another machine, I could just issue a ...
einpoklum's user avatar
  • 138k
0 votes
0 answers
90 views

I am trying to build my project dependencies (gRPC and Boost) using vcpkg with AddressSanitizer (ASan) enabled on Windows. To achieve this, I created a custom triplet named x64-windows-asan.cmake. ...
İsa Yurdagül's user avatar
0 votes
0 answers
56 views

I am trying to install CBLAS on Debian 13, and am, as far as I can see, following the instructions in the README file that came in the folder. When I do a 'make all', I get the following errors that I ...
Erisksson J's user avatar
0 votes
0 answers
42 views

A small Linux distribution is being built using buildroot. A set of Boost libraries is added to it. The problem is that starting from cmake version 3.30, the configuration mode (find_package(Boost ...
nulll's user avatar
  • 11
-3 votes
1 answer
75 views

I’m trying to build bgfx using CMake, but I’m not sure whether this is officially supported or what the correct workflow is. From what I understand, bgfx primarily uses GENie to generate project files,...
Humoyun Mirzo's user avatar
0 votes
0 answers
193 views

I'm trying to put together a small utility for computing a tetrahedralization of a mesh (https://github.com/blackears/cyclops_tetrahedralizer). Since I want this to be open source, I thought it would ...
kitfox's user avatar
  • 5,678

15 30 50 per page
1
2 3 4 5
1957