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

The missing CMake project initializer

Results 31 cmake-init issues
Sort by recently updated
recently updated
newest added

Very easy solution: just add `"generator": "Visual Studio 16 2019"` to the `dev-win64`/`dev` preset in `CMakeUserPresets.json`. If VS2019 is needed in CI as well, then you will have to downgrade...

HP-UX in particular cannot use CMake >= 3.10, because of a missing C++11 compiler. ([ref](https://gitlab.kitware.com/cmake/cmake/-/issues/17137)) Things that need to be removed/changed in a generated project to accomodate older CMake versions:...

The [gif_engine](https://github.com/friendlyanon/cmake-init-gif-engine) example project has such support code: - Add headers to targets so they show up in solution view ([ref](https://github.com/friendlyanon/cmake-init-gif-engine/blob/master/cmake/dev-mode.cmake)) - Use `source_group` to make solution view not flatten...

enhancement

`#include ` will always look in directories the specified for the target or the system location(s), while `#include ""` will also look on the filesystem relative to the file before...

enhancement
question

Some Windows SDKs (10.0.17763.0 and earlier?) have bugs in them that emit warnings with the new, standards conforming preprocessor (`/Zc:preprocessor`). The SDK can be specified by setting the system version...

enhancement
question

https://github.com/friendlyanon/cmake-init/commit/6089ad5e8a0234cab9c889d536cfb7e42aef3904 simplified the main target's name in executable projects and I'm thinking whether the same could be applied to other project types as well. It's customary to double up the...

enhancement

I have not yet really used clang-tidy myself and I do not know what checks are widespread, so I would like to hear opinions about what checks should be included...

enhancement
question

f325e682c7849f3a29cdf0114e52b24af42e9921 introduced clang-format to the project, but instead of using one of the built-in styles, I rolled my own. The goal of a format ruleset should be: - consistency -...

enhancement
question

https://stackoverflow.com/a/22054743 gives a good summary for possible remedies. PIMPL seems to be the best option, but is that really a good concept to have in an init script targeting mainly...

enhancement
help wanted

Would a web version of cmake-init be of any use? Something similar to https://start.spring.io/ Some tools already require Python that generated projects offer integration with, so this is a really...

enhancement
question