Anthony Printup
d3829fb6cd
Trim additional new lines at the end of the generated CMakeLists.txt
1 year ago
ζeh Matt
9f99365a25
Report better error messages for vcpkg projects and features
1 year ago
Duncan Ogilvie
ad90b1ad3e
Add 'clang-cl' and 'clang-any' conditions
1 year ago
Duncan Ogilvie
5bfa03d311
Bump to 0.2.24
1 year ago
Anthony Printup
bcaa60cabe
feat: Added SYSTEM flag support to fetch-content
1 year ago
Duncan Ogilvie
7a7ddf2699
Speed up the pipeline by using Ninja
2 years ago
Duncan Ogilvie
605a04e72d
Fix formatting of files
2 years ago
Duncan Ogilvie
ee0e0d71d9
Remove a bunch of dead code
2 years ago
Duncan Ogilvie
9d6897b572
Suppress warnings related to DOWNLOAD_EXTRACT_TIMESTAMP
2 years ago
Duncan Ogilvie
f8c34e5545
Error when [vcpkg] is used from a non-root project
2 years ago
Duncan Ogilvie
e6d783ea20
Fix a few clang-tidy warnings
2 years ago
Duncan Ogilvie
66b2aad843
Fix a bug where includes in a subdir would not work
2 years ago
Duncan Ogilvie
33911f3f1b
Fix a regression where cmkr init wouldn't create any source files
2 years ago
Duncan Ogilvie
cb9ad5cdb3
Improve error messages and check if specified sources exist
2 years ago
Duncan Ogilvie
275b73eefa
Remove debug print
2 years ago
Duncan Ogilvie
257e14c869
Merge pull request #93 from build-cpp/gitattributes
...
Automatically generate .gitattributes and .gitignore with cmkr init
2 years ago
Duncan Ogilvie
45678bc5bc
Automatically generate .gitattributes and .gitignore with cmkr init
2 years ago
Duncan Ogilvie
b869e5646f
Add a special "root" value for [options]
2 years ago
Duncan Ogilvie
0c19c3da0c
Improve the code related to [options]
2 years ago
Duncan Ogilvie
233cadadd0
Merge pull request #90 from mike1k/sanity
...
Error on unknown language & unacceptable source file.
2 years ago
Duncan Ogilvie
58a5a935e5
Add a bunch of missing languages and extensions and refactor
2 years ago
Duncan Ogilvie
bc6359805d
Change the `clang` condition to not detect clang-cl
...
References:
- https://github.com/cursey/safetyhook/issues/18
- https://discourse.cmake.org/t/clang-on-windows-detected-with-msvc-interface/3470
2 years ago
Duncan Ogilvie
8dcc11e349
Add helper function Project::cmake_minimum_version for version-dependent features
2 years ago
mike
7d27c28b59
Fixed failing tests due to implicit project languages (internal list empty)
2 years ago
Duncan Ogilvie
2c6fc569af
Preserve backwards compatibility
2 years ago
Duncan Ogilvie
12ee23a44c
Improve error messages
2 years ago
Duncan Ogilvie
82342a6b6f
Rename [settings] to [variables]
2 years ago
Duncan Ogilvie
1fd18503cd
Successfully fail when running cmkr subcommands
2 years ago
Duncan Ogilvie
2437eb90fe
Minor improvements
...
- Drastically improve quality of generated CMake
- Fix a regression with recursive globbing in the root
- Automatically include CSharpUtilities when using CSharp
2 years ago
Duncan Ogilvie
697b638723
Fix warning on macos
2 years ago
Duncan Ogilvie
53c88ceafa
Actually generate the set(CMAKE_MSVC_RUNTIME_LIBRARY)
...
Closes #69 (nice)
2 years ago
Duncan Ogilvie
69d844a152
Refactor msvc-static to msvc-runtime
2 years ago
gmh5225
af9a117f50
Fix merge
2 years ago
gmh5225
5fe8220728
Merge branch 'feature-msvc-static' of https://github.com/gmh5225/cmkr into feature-msvc-static
2 years ago
gmh5225
28f541cd3c
[feature] add CMP0091
2 years ago
gmh5225
2f3fd7b95e
Merge branch 'main' into feature-msvc-static
2 years ago
Duncan Ogilvie
5af2385cc3
Fix the way target.headers is merged into target.sources
...
- It would crash if you did not specify target.sources
- Headers with condition would be merged incorrectly
2 years ago
gmh5225
981c48dbc5
[feature] msvc-static
2 years ago
Duncan Ogilvie
5b6d9c3826
Replace illegal characters in the project name with _ when doing cmkr init
2 years ago
Duncan Ogilvie
a90988b81a
Update the formatting to now allow functions on a single line
...
This makes it less annoying when the IDE is auto-formatting while you type
2 years ago
Peter Meerwald-Stadler
534f955827
error: fix warning, signedness of comparison
...
cmkr/src/error.cpp:23:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
23 | assert(i >= 0 && i < (sizeof(err_string) / sizeof(*(err_string))));
2 years ago
Duncan Ogilvie
9cdd0f7344
Escape lists when generating commands
3 years ago
Duncan Ogilvie
e69cf4d2b9
Add install.optional flag
3 years ago
Duncan Ogilvie
9a82f8c796
Temporarily remove the crt-linkage and library-linkage options
...
These require a lot more work to integrate properly with vcpkg, reimplement triplet detection and set a custom triplet
3 years ago
Duncan Ogilvie
13255c68cf
Use FetchContent_MakeAvailable for vcpkg in case they add CMakeLists.txt
3 years ago
Duncan Ogilvie
50d4a905b6
Merge pull request #55 from ZehMatt/fix/#54
...
Fix #54 : Fix settings not being properly quoted
3 years ago
Duncan Ogilvie
232e49e087
Add support for vcpkg CRT and library linkage customization
3 years ago
ζeh Matt
7408d42160
Fix #54 : Fix settings not being properly quoted
3 years ago
Duncan Ogilvie
9b0f18ee94
Fix a bug in fetch-content generation
3 years ago
Duncan Ogilvie
4de1500bb3
Refactor cmake injection
3 years ago