Top "Cmake" questions

CMake is a cross-platform, open-source build system generator.

CMake not able to find OpenSSL library

I am trying to install a software that uses cmake to install itself. When I run cmake .. on the command …

openssl cmake
CMake does not find Visual C++ compiler

After installing Visual Studio 2015 and running CMake on a previous project, CMake errors stating that it could not find the …

c++ cmake visual-studio-2015
What is CMake equivalent of 'configure --prefix=DIR && make all install '?

I do cmake . && make all install. This works, but installs to /usr/local. I need to install to …

cmake
How do I tell CMake to link in a static library in the source directory?

I have a small project with a Makefile which I'm trying to convert to CMake, mostly just to get experience …

cmake static-libraries
How do I make CMake output into a 'bin' dir?

I'm currently constructing a project with a plugin structure. I'm using CMake to compile the project. The plugins are compiled …

c++ plugins cmake
How to specify new GCC path for CMake

My OS is centos which has a default gcc in path /usr/bin/gcc. But it is old, I need …

gcc cmake
How to create a shared library with cmake?

I have written a library that I used to compile using a self-written Makefile, but now I want to switch …

c++ compilation cmake shared-libraries
Set CFLAGS and CXXFLAGS options using CMake

I just want to debug some code running on Linux and I need a debug build (-O0 -ggdb). So I …

cmake cflags
Using CMake with GNU Make: How can I see the exact commands?

I use CMake with GNU Make and would like to see all commands exactly (for example how the compiler is …

cmake gnu-make
What use is find_package() if you need to specify CMAKE_MODULE_PATH anyway?

I'm trying to get a cross-plattform build system working using CMake. Now the software has a few dependencies. I compiled …

cmake