Commit Graph

208 Commits (45678bc5bc12e7f06cdbadb770e36beabd6694c6)

Author SHA1 Message Date
Duncan Ogilvie 45678bc5bc Automatically generate .gitattributes and .gitignore with cmkr init
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
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
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
2 years ago
Duncan Ogilvie 697b638723 Fix warning on macos
2 years ago
Duncan Ogilvie 53c88ceafa Actually generate the set(CMAKE_MSVC_RUNTIME_LIBRARY)
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
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
2 years ago
Peter Meerwald-Stadler 534f955827 error: fix warning, signedness of comparison
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
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
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
Duncan Ogilvie 85370968f8 Improved fetch-content support
3 years ago
Duncan Ogilvie 06a4c04df6 Add support for 'shallow' in fetch-content
3 years ago
Duncan Ogilvie fef2a0215b Error when recursively globbing in the project root
3 years ago
Duncan Ogilvie c713606fd4 Error when using an unknown key in the root of the TOML
3 years ago
Duncan Ogilvie fe9b6587a9 Error when trying to parse an empty cmake.toml file
3 years ago
Duncan Ogilvie c778a5fe2b Do not omit non-optional documentation in option()
3 years ago
cursey 6f8b07a801
Allow specifying install component name
3 years ago
Duncan Ogilvie 37ca385673 Show vcpkg version when configuring
3 years ago
Duncan Ogilvie fb16cc34b1 Fix a regression with invalid names being generated in vcpkg.json
3 years ago
Duncan Ogilvie d905be1d13 Final touches
3 years ago
cursey bcbc9d2b20
Remove use of std::make_unique for C++11 compliance
3 years ago
cursey 05324f593b
Improve code reuse for target cmds
3 years ago
cursey 2b7ee72e86
Separate template parsing and generation
3 years ago
cursey 61d5e64d87
Fix parser expecting to always find templates
3 years ago
cursey eed1e38407
Add support for target templates
3 years ago
Duncan Ogilvie 6c1e388391 Add root, x64 and x32 conditions
3 years ago
Duncan Ogilvie 459ebb14b5 Support conditions everywhere
3 years ago