cmake-examples icon indicating copy to clipboard operation
cmake-examples copied to clipboard

Useful CMake Examples

Results 33 cmake-examples issues
Sort by recently updated
recently updated
newest added

I fixed some wrong words in README.adoc

in https://github.com/ttroy50/cmake-examples/tree/master/01-basic/G-compile-flags: the picture link(`https://github.com/ttroy50/cmake-examples/blob/master/01-basic/G-compile-flags/cmake-gui-set-cxx-flag.png`) is not available

here is my command and output: ``` ❯ cmake -B ./build/ -DCMAKE_EXPORT_COMPILE_COMMANDS=on && sudo cmake --build build --target install -- The C compiler identification is GNU 11.2.0 -- The CXX...

In 01-basic\H-third-party-library, the example project uses `find_package(Boost 1.46.1 REQUIRED COMPONENTS filesystem system)` to find the third-party-library Boost, but without using `include_directories(${Boost_INCLUDE_DIRS})`, how can the target find where the "XXX.h" files...

I use vscode to open and run the demo, but I get the error: `[main] Building folder: A-hello-cmake [proc] Executing command: "C:\Program Files (x86)\GNU Arm Embedded Toolchain\10 2021.07\bin\arm-none-eabi-gcc.exe" -v [main]...

when trying to run the text file the pop-up named PLEASE SELECT A VALID STARTUP ITEM is showing up and i couldnt run a file. please help with the issue

Building example [01-basic/D-shared-library](https://github.com/ttroy50/cmake-examples/tree/2b27fc75c40447c8cf9b371cc21224dd96d6ce45/01-basic/D-shared-library) on Visual Studio fails with the following error: ``` Build started... 1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------ 1>Checking Build System 2>------ Build started: Project:...