Commit Graph

247 Commits (main)

Author SHA1 Message Date
Duncan Ogilvie 15ad1dc6a7 Support nested condition syntax for named conditions
5 months ago
Duncan Ogilvie dabffeaed9 Add back the option name as a named condition
5 months ago
Duncan Ogilvie 59fe5c38b8 Consider PROJECT_OPTION to be a valid condition
5 months ago
Duncan Ogilvie dcdc7ac410 Add a few more default named conditions
5 months ago
Duncan Ogilvie 674c976647 Do not set CMAKE_MSVC_RUNTIME_LIBRARY if it's already set
5 months ago
Duncan Ogilvie 559f750c89 Fix undefined behavior with std::tolower/toupper
6 months ago
Duncan Ogilvie f32aac63aa Review improvements
6 months ago
Anthony Printup 33d4cc4156
Fixed globbing when multiple extensions are present in the file name
6 months ago
Duncan Ogilvie 53820c9f65 Support $<condition> in unnamed conditions
7 months ago
Duncan Ogilvie ff7e4b8f23 Allow arbitrary CMake expressions as conditions
7 months ago
Duncan Ogilvie e2c929adb0 Fix out-of-the-box vcpkg experience on macos
7 months ago
Duncan Ogilvie be0ef6d615 Generate find-package before fetch-content
8 months ago
Duncan Ogilvie 771c80a41a Add [fetch-content].subdir
1 year ago
Duncan Ogilvie 58c7de1d60
Merge pull request #129 from build-cpp/gitignore-improvement
1 year ago
Duncan Ogilvie 62609a0088 Improve the default .gitignore that's generated
1 year ago
Duncan Ogilvie e0d8a085db
Merge pull request #121 from anthonyprintup/relative-paths
1 year ago
Duncan Ogilvie 56da4144ae
Merge pull request #125 from anthonyprintup/fix-124
1 year ago
Anthony Printup 079644cfeb
fix(generator): Prevent calling `std::string::back` on an empty string
1 year ago
Anthony Printup a7ca9f04c0
fix(relative-paths): Replaced `has_parent_path` with a simpler path check
1 year ago
Anthony Printup 339c2aac94
fix(generator): Prevent command arguments from being quoted when generating tests
1 year ago
Anthony Printup 1c2947b2fc
fix(relative-paths): Prevent processing paths which may contain CMake macros, added a check to see if the library that's being linked exists on disk
1 year ago
Anthony Printup 56bd78f7ad
feat(project-parser): Added support for relative paths in `link-libraries`
1 year ago
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
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
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