cmake-modules Questions
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
2
Solved
A quick Google search (...actually many rather extensive Google searches) have not been able to explain how to properly document a CMake module.
What I'm looking for is a way to document custom CM...
Ready asked 13/2, 2019 at 0:1
2
Solved
In my CMake package, there is a call to find_package. This succeeds, great! However, it turns out to be the wrong version of the package. I now want to go and delete that package. However, I have n...
Alleviation asked 21/11, 2018 at 10:42
1
Solved
I have ExternalProject in both versions 1.2 and 2.2 present in my system. ExternalProject is a CMake project and CMake finds the both versions without trouble when I ask for them. Command find_pack...
Hilaire asked 10/10, 2019 at 6:14
1
Solved
I'm currently writing a c++ library, that has several "sub libraries", like for example the boost library.
Let's name the library "TestLib" and the sub libraries "Base" and "Ext", where Base conta...
Cannae asked 29/4, 2019 at 14:18
1
Solved
.
+-- MyPack
| +-- Lib1
| | +-- include
| | | +-- Lib1.h
| | +-- src
| | | +-- Lib2.cpp
| | +-- CMakeLists.txt
| +-- Lib2
| | +-- include
| | | +-- Lib2.h
| | +-- src
| | | +-- Lib2.cpp
| | +-- CMa...
Fick asked 11/4, 2019 at 14:44
1
Solved
I am trying to setup a toolchain file for cross compilation with CMake 3.12.0 version.
My object files have a different extensions than .obj on Windows and .o in UNIX.
Thus, I set my CMAKE_LANG_O...
Esperance asked 14/8, 2018 at 13:43
1
I am trying to write a Find Module for a package that I have installed. But I am having trouble understanding the CMake functions.
Here is a snippet of my code.
find_package(PkgConfig)
pkg_check_...
Compassion asked 12/10, 2018 at 18:24
1
© 2022 - 2024 — McMap. All rights reserved.