Top "Cmake" questions

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

Cmake doesn't find Boost

I'm trying to configure a project using CMake, but it fails to find Boost libraries even though they are in …

boost cmake
How to compile a 32-bit binary on a 64-bit linux machine with gcc/cmake

Is it possible to compile a project in 32-bit with cmake and gcc on a 64-bit system? It probably is, …

linux gcc 64-bit cmake 32-bit
cmake and libpthread

I'm running RHEL 5.1 and use gcc. How I tell cmake to add -pthread to compilation and linking?

pthreads cmake
How to use CMAKE_INSTALL_PREFIX

I want to generate Makefile with install target, making installation to /usr instead of default /usr/local. Assuming that build …

linux installation cmake
How do I add a library path in cmake?

I have 2 folders "inc" and "lib" in my project which have headers and static libs respectively. How do I tell …

c++ cmake
Automatically add all files in a folder to a target using CMake?

I am considering switching a cross platform project from separate build management systems in Visual C++, XCode and makefiles to …

c++ cross-platform cmake
What's the CMake syntax to set and use variables?

I'm asking this as a reminder to myself the next time I use CMake. It never sticks, and Google results …

cmake
How do you add Boost libraries in CMakeLists.txt?

I need to add Boost libraries into my CMakeLists.txt. How do you do it or how do you add …

boost cmake
How to link C++ program with Boost using CMake

What should my CMake file look like for linking my program with the Boost library under Ubuntu? The errors shown …

c++ boost cmake
CMake unable to determine linker language with C++

I'm attempting to run a cmake hello world program on Windows 7 x64 with both Visual Studio 2010 and Cygwin, but can't …

c++ c cmake