Gang Of Coders
Home
About Us
Contact Us
All Cmake Solutions on Gang of Coders
Total of 193 Cmake Solutions
How to print all the properties of a target in cmake?
Cmake
How to get CMake to pass either std=c++14/c++1y or c++17/c++1z based on GCC version?
C++
Cmake
C++14
Gcc4
How to read a CMake Variable in C++ source code
C++
Makefile
Cmake
Header Files
CMake + GoogleTest
Cmake
Googletest
When should I quote CMake variables?
Variables
Cmake
Macros
CMake finds Boost but the imported targets not available for Boost version
Boost
Cmake
Switching between GCC and Clang/LLVM using CMake
Cmake
Llvm
Clang
CMake : How to get the name of all subdirectories of a directory?
Cmake
Can one add further source files to an executable once defined?
Cmake
In CMake, how can I find the directory of an included file?
File
Cmake
Where does CLion store executable files?
C++
Cmake
Ubuntu 14.04
Jetbrains Ide
Clion
What does the `-H.` option means for CMake?
Cmake
How to prepend all filenames on the list with common path?
Cmake
CMAKE add sub-directory which is not sub-directory on real directory
Cmake
CMake missing modules directory
Cmake
How do I list the defined make targets from the command line?
Cmake
How to support both vcxproj to cmake on a project?
Visual Studio
Visual Studio-2010
Makefile
Cmake
Gyp
Handling header files dependencies with cmake
C++
Dependencies
Cmake
Header Files
How do you concatenate string in cmake
Cmake
Optimize in CMake by default
C++
Cmake
Compiler Optimization
What are CMAKE_BUILD_TYPE: Debug, Release, RelWithDebInfo and MinSizeRel?
Cmake
CMake: The C Compiler is not able to compile a simple test program
Gcc
Cmake
Mips
Cross Compiling
In cmake, what is a "project"?
Cmake
How to include external library (boost) into CLion C++ project with CMake?
C++
Boost
Cmake
Clion
Is there a CMake '--install' switch?
Cmake
What are CMake vs qmake pros and cons?
Qt
Cmake
Qmake
CMake... ccmake or cmake?
Cmake
How to define a C++ preprocessor macro through the command line with CMake?
C++
Cmake
How to compile GLUT + OpenGL project with CMake and Kdevelop in linux?
Linux
Opengl
Cmake
CMake: How to pass preprocessor macros
C++
Cmake
How to get colorized output with cmake?
Cmake
CMake: how to produce binaries "as static as possible"
Linker
Shared Libraries
Cmake
Static Linking
Dynamic Library
How to let cmake find CUDA
C++
Build
Cuda
Cmake
CMake Multiarchitecture Compilation
Architecture
Compilation
Cmake
What are the differences between Autotools, Cmake and Scons?
Build
Cmake
Scons
Autotools
Build System
cmake: add_subdirectory() vs include()
Cmake
How do I add a linker or compile flag in a CMake file?
C++
Cmake
CMake: Print out all accessible variables in a script
Cmake
cmake and libpthread
Pthreads
Cmake
How do I make CMake output into a 'bin' dir?
C++
Plugins
Cmake
What's the CMake syntax to set and use variables?
Cmake
How exactly does CMake work?
Cmake
What use is find_package() when you need to specify CMAKE_MODULE_PATH?
Cmake
What is the difference between include_directories and target_include_directories in CMake?
C++
Cmake
CMake not able to find OpenSSL library
Openssl
Cmake
Automatically add all files in a folder to a target using CMake?
Visual C++
Cmake
Cross Platform
How to create a shared library with cmake?
C++
Compilation
Cmake
Shared Libraries
In CMake, how can I test if the compiler is Clang?
C++
C
Cmake
Clang
What is the idiomatic way in CMAKE to add the -fPIC compiler option?
C++
C
Cmake
Is it better to specify source files with GLOB or each file individually in CMake?
Cmake
CMake: Project structure with unit tests
C++
Unit Testing
Boost
Cmake
Boost Test
Creating a directory in CMake
Cmake
Is it possible to get CMake to build both a static and shared library at the same time?
Static
Cmake
Shared
Cause CMAKE to generate an error
Cmake
CMake link to external library
Cmake
How to specify new GCC path for CMake
Gcc
Cmake
How do you add Boost libraries in CMakeLists.txt?
Boost
Cmake
How to start working with GTest and CMake
Unit Testing
Cmake
Googletest
Copy file from source directory to binary directory using CMake
Cmake
CMake error at CMakeLists.txt:30 (project): No CMAKE_C_COMPILER could be found
C++
Visual Studio
Gcc
Cmake
Visual Studio-2015
OS specific instructions in CMAKE: How to?
C++
Linux
Cmake
Mingw
Portability
Difference between CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_LIST_DIR
Cmake
How to set warning level in CMake?
Cmake
Warning Level
CMake output/build directory
C++
Build
Makefile
Cmake
Output
Using CMake, how do I get verbose output from CTest?
Cmake
Ctest
CMake target_link_libraries Interface Dependencies
Cmake
CMake does not find Visual C++ compiler
C++
Cmake
Visual Studio-2015
C++ project organisation (with gtest, cmake and doxygen)
C++
Cmake
Doxygen
Googletest
CMake target_include_directories meaning of scope
Cmake
How to set a CMake option() at command line
Cmake
Cmakelists Options
How to compile a 32-bit binary on a 64-bit linux machine with gcc/cmake
Linux
Gcc
64 Bit
Cmake
32 Bit
CMake: How to build external projects and include their targets
Cmake
External Project
Override compile flags for single files
C++
Cmake
Compiler Warnings
Most simple but complete CMake example
C++
Cmake
Project Setup
Cmake vs make sample codes?
Makefile
Cmake
How to use CMAKE_INSTALL_PREFIX
Linux
Installation
Cmake
How do I use CMake?
C++
Visual Studio
Cmake
How to link C++ program with Boost using CMake
C++
Boost
Cmake
Adding command line options to CMake
Command Line
Cmake
CMake unable to determine linker language with C++
C++
C
Cmake
How to copy DLL files into the same folder as the executable using CMake?
Dll
Cmake
How to retrieve a user environment variable in CMake (Windows)
Windows
Environment Variables
Cmake
How is CMake used?
Cmake
How do I tell CMake to link in a static library in the source directory?
Cmake
Static Libraries
Looking for a 'cmake clean' command to clear up CMake output
Cmake
Using pre-compiled headers with CMake
C++
Visual Studio
Gcc
Cmake
Precompiled Headers
How to split strings across multiple lines in CMake?
Cmake
How to Use CCache with CMake?
C++
Unix
Cmake
Ccache
Debug vs Release in CMake
C++
C
Gcc
Cmake
Cmake doesn't find Boost
Boost
Cmake
How do I exclude a single file from a cmake `file(GLOB ... )` pattern?
Cmake
Using CMake to generate Visual Studio C++ project files
C++
Visual Studio
Build Process
Cross Platform
Cmake
How to build & install GLFW 3 and use it in a Linux project
Linux
Build
Installation
Cmake
Glfw
CMake & CTest : make test doesn't build tests
Dependencies
Cmake
Ctest
What is the modern method for setting general compile flags in CMake?
Cmake
How to enable C++17 in CMake
C++
Visual Studio
Cmake
C++17
Set CFLAGS and CXXFLAGS options using CMake
Cmake
Cflags
How to build x86 and/or x64 on Windows from command line with CMAKE?
C
Visual Studio
Cmake
Cross Compiling
X86 64
What is the proper way to use `pkg-config` from `cmake`?
Cmake
Pkg Config
Function vs. Macro in CMake
Cmake
How do I debug CMakeLists.txt files?
Cmake
CMAKE_BUILD_TYPE is not being used in CMakeLists.txt
Build
Cmake
Build System
How do I add a library path in cmake?
C++
Cmake
How to copy contents of a directory into build directory after make with CMake?
C++
Cmake
How do I initialize a CMake variable with the result of a shell command
Cmake
CMake and finding other projects and their dependencies
Cmake
Dependencies
Installing cmake with home-brew
Cmake
Homebrew
cmake variable scope, add_subdirectory
Scope
Cmake
What are ALL_BUILD and ZERO_CHECK and do I need them?
C++
Visual Studio
Cmake
Compile with /MT instead of /MD using CMake
Cmake
What is the difference between using a Makefile and CMake to compile the code?
C++
C
Makefile
Cmake
Adding multiple executables in CMake
C++
Build
Cmake
Executable
How to list all CMake build options and their default values?
Cmake
What is CMake equivalent of 'configure --prefix=DIR && make all install '?
Cmake
How to use all *.c files in a directory with the Cmake build system?
Makefile
Cmake
Unable to find CMake in Android Studio
Android
Android Studio
Android Ndk
Cmake
CMake: Visual Studio 15 2017 could not find any instance of Visual Studio
Visual Studio
Cmake
How to detect C++11 support of a compiler with CMake
C++
C++11
Cmake
CMake Multiple line comments - Block Comment
Cmake
Cmake Error: could not load cache
Cmake
CMAKE_MAKE_PROGRAM not found
Makefile
Cmake
Mingw
How to properly link libraries with cmake?
C++
Opengl
Cmake
Undefined Reference
In CLion, header only library: file "does not belong to any project target, code insight features might not work properly"
C++
Cmake
Clion
Header Only
Making CMake print commands before executing
Linux
Cmake
Gnu Make
CMake check that a local file exists
File
Cmake
File Exists
How to change the build type to Release mode in cmake?
Windows
Visual Studio-2010
Cmake
rc.exe no longer found in VS 2015 Command Prompt
C++
Windows
Cmake
Windows 10
Visual Studio-2017
Overriding a default option(...) value in CMake from a parent CMakeLists.txt
C++
Build
Build Process
Cmake
Could not find module FindOpenCV.cmake ( Error in configuration process)
Opencv
Cmake
How to copy directory from source tree to binary tree?
C
Copy
Cmake
How to specify a compiler in CMake?
Cmake
Iar
How do I activate C++ 11 in CMake?
C++11
Cmake
Why does CMake make a distinction between a "target" and a "command"?
Cmake
Running CMake on Windows
Windows 7
Build Process
Mingw
Cmake
Taglib
What is common way to split string into list with CMAKE?
Cmake
How to set the LDFLAGS in CMakeLists.txt?
Gcc
Makefile
Cmake
Ld
Ldflags
How can I make CMake use GCC instead of Clang on Mac OS X?
C++
Cmake
Passing the argument to CMAKE via command prompt
Makefile
Cmake
I have 2 versions of python installed, but cmake is using older version. How do I force cmake to use the newer version?
Python
Python 2.7
Cmake
How do you rename a library filename in CMake?
Cmake
Are CMAKE_SOURCE_DIR and PROJECT_SOURCE_DIR the same in CMake?
Cmake
Set the number of threads in a CMake build
Cmake
How to generate CMakeLists.txt?
C++
C
Cmake
CMake support "make uninstall"?
Cmake
Uninstallation
How can I get CMake to find my alternative Boost installation?
Linux
Boost
Cmake
Build Automation
Wt
Why am I warned that the "CMAKE_TOOLCHAIN_FILE" variable is not used by the project?
Makefile
Cmake
Build
cmake not working, could not exec qmake
Cmake
Qmake
Displaying CMake variables
Cmake
Linking different libraries for Debug and Release builds in Cmake on windows?
C++
Windows
Cmake
Define preprocessor macro through CMake?
C++
Cmake
C Preprocessor
CMake add_custom_command not being run
Cmake
Cmake Custom-Command
Listing include_directories in CMake
Cmake
How can I pass git SHA1 to compiler as definition using cmake?
Git
Cmake
Sha1
How can I build a C++ project with multiple interdependent subdirectories?
C++
Cmake
How do I change the startup project of a Visual Studio solution via CMake?
Visual Studio
Cmake
Startup
Visual Studio-Project
Passing compiler options cmake
Cmake
Does set_target_properties in CMake override CMAKE_CXX_FLAGS?
C++
Cmake
Compiler Flags
Creating symbol table for gdb using cmake
Cmake
Debug Symbols
CMake with include and source paths - basic setup
C++
Cmake
Add Source in a subdirectory to a cmake project
Cmake
How do I configure portable parallel builds in CMake?
Cmake
Parallel Builds
How to install your custom CMake-Find module
Cmake
Cpack
cmake - find_library - custom library location
C++
Windows
Cmake
CMake is not able to find BOOST libraries
C++
Bash
Boost
Cmake
Cmake is not able to find Python-libraries
Python
Python 2.7
Cmake
How to use the tool include-what-you-use together with CMake to detect unused headers?
C++
Cmake
Header Files
Listing header files in Visual Studio C++ project generated by cmake
C++
Visual Studio-2008
Cmake
How do I convert an Autotools project to a CMake project?
Build
Build Process
Cmake
Autotools
Build System
What's the proper way to enable AddressSanitizer in CMake that works in Xcode
C++
Cmake
Clang
Address Sanitizer
CMake: use a custom linker
Cmake
Linker
CMAKE - How to properly copy static library's header file into /usr/include?
C
Cmake
Static Libraries
Package vs Library
Cmake
Package
Libraries
Difference
cmake, print compile/link commands
Makefile
Cmake
CMake - linking to library downloaded from ExternalProject_add()
Cmake
External Project
How to set linker flags for OpenMP in CMake's try_compile function
Cmake
Openmp
How to properly add include directories with CMake
C++
Ubuntu
Cmake
What is the difference between "option" and "set CACHE BOOL" for a CMake variable?
Cmake
Boolean
Global Variables
Cmake Gui
"In-source builds are not allowed" in cmake
Linux
Opencv
Cmake
Using CMake with GNU Make: How can I see the exact commands?
Cmake
Gnu Make
CMake: how create a single shared library from all static libraries of subprojects?
Cmake
Shared Libraries
CMake: target_include_directories() prints an error when I try to add the source directory itself, or one of its subdirectories
C++
Cmake
Header Only
How to create a C project with CLion
C++
C
Cmake
Clion
Cmake cannot find library using "link_directories"
C++
Cmake
Makefile
Generate C# project using CMake
C#
Visual Studio
Build
Build Automation
Cmake
Path to target output file
Cmake
The proper way of forcing a 32-bit compile using CMake
C++
Gcc
Cmake
32bit 64bit
Ld
Detailed guide on using gcov with CMake/CDash?
C++
Testing
Cmake
Code Coverage
Cdash
What is the CMake equivalent to "gcc -fvisibility=hidden" when controlling the exported symbol of a shared library?
Gcc
Cmake
Visibility
Is it possible to build Boost with CMake?
C++
Boost
Cmake
Use -isystem instead of -I with CMake
Gcc
Build
Cmake
Passing a list to a CMake macro
Cmake
How do I force cmake to include "-pthread" option during compilation?
Gcc
Build
Build Automation
Cmake
How to detect target architecture using CMake?
Architecture
Cmake
Build Process
Qmake