Duncan Ogilvie
2db8d1ee1d
Add support for [target].dependencies
...
Closes #177
2026-02-01 15:33:09 +01:00
Duncan Ogilvie
1a62034a8a
Fix formatting
2025-12-20 13:49:34 +01:00
Duncan Ogilvie
c12472cd8f
Merge pull request #180 from d06i/fix
...
fix #172
2025-12-17 18:35:20 +01:00
iamtimmy
e609c8a48f
template add-function arguments
...
add arguments support to add-function functionality in templates
2025-08-26 16:46:32 +02:00
d06i
ffe08ae60c
fix #172
2025-04-18 00:19:51 +03:00
Duncan Ogilvie
a32eb66df4
Make sure empty target properties are emitted correctly
2025-01-19 14:53:50 +01:00
Duncan Ogilvie
0f2a9a55fb
Support link-libraries = ["::mylib"] which checks the if target exists
...
https://gitlab.kitware.com/cmake/cmake/-/issues/26497
2024-12-04 12:15:49 +01:00
Duncan Ogilvie
38cec2d5d1
Do not allow lambdas on a single line
2024-12-04 11:55:13 +01:00
Duncan Ogilvie
e12ebc060d
Use FetchContent_MakeAvailable for vcpkg
2024-12-02 15:54:19 +01:00
Duncan Ogilvie
068977e2f5
Use absolute paths for vcpkg overlays
2024-11-28 23:01:14 +01:00
Duncan Ogilvie
eb6ccb39ee
Move vcpkg download location directly in ${CMAKE_BINARY_DIR}
2024-11-28 21:24:03 +01:00
Duncan Ogilvie
78bcf2acf7
Add support for [vcpkg].overlay-triplets
2024-11-28 14:28:10 +01:00
Duncan Ogilvie
e9480a625f
Allow disabling default features with vcpkg
2024-11-27 14:13:37 +01:00
Duncan Ogilvie
ae3d73896e
Add [vcpkg].overlay-ports feature
2024-11-26 12:33:29 +01:00
Duncan Ogilvie
4a15d2ba55
Use CMAKE_CONFIGURE_DEPENDS when supported
2024-11-03 10:33:32 +01:00
Duncan Ogilvie
510cf71af5
Only emit MSVC_RUNTIME_LIBRARY in the root project
2024-09-06 14:33:04 +02:00
Duncan Ogilvie
a90b3c6095
Add RC as a default language
2024-08-05 15:28:16 +02:00
Duncan Ogilvie
15ad1dc6a7
Support nested condition syntax for named conditions
2024-07-06 14:43:32 +02:00
Duncan Ogilvie
674c976647
Do not set CMAKE_MSVC_RUNTIME_LIBRARY if it's already set
2024-06-21 00:32:30 +02:00
Duncan Ogilvie
559f750c89
Fix undefined behavior with std::tolower/toupper
2024-06-01 00:55:29 +02:00
Duncan Ogilvie
f32aac63aa
Review improvements
2024-05-31 22:24:01 +02:00
Anthony Printup
33d4cc4156
Fixed globbing when multiple extensions are present in the file name
2024-05-30 00:36:14 +02:00
Duncan Ogilvie
53820c9f65
Support $<condition> in unnamed conditions
2024-04-15 03:01:51 +02:00
Duncan Ogilvie
ff7e4b8f23
Allow arbitrary CMake expressions as conditions
2024-04-15 02:12:02 +02:00
Duncan Ogilvie
e2c929adb0
Fix out-of-the-box vcpkg experience on macos
2024-04-13 23:57:30 +02:00
Duncan Ogilvie
be0ef6d615
Generate find-package before fetch-content
2024-03-28 11:36:15 +01:00
Duncan Ogilvie
58c7de1d60
Merge pull request #129 from build-cpp/gitignore-improvement
...
Improve the default .gitignore that's generated
2023-10-18 13:22:44 +02:00
Duncan Ogilvie
62609a0088
Improve the default .gitignore that's generated
2023-10-18 12:26:38 +02:00
Duncan Ogilvie
56da4144ae
Merge pull request #125 from anthonyprintup/fix-124
...
fix(generator): Prevent calling `std::string::back` on an empty string
2023-09-22 16:12:20 +02:00
Anthony Printup
079644cfeb
fix(generator): Prevent calling std::string::back on an empty string
...
Fixes #124
2023-09-20 02:34:02 +02:00
Anthony Printup
339c2aac94
fix(generator): Prevent command arguments from being quoted when generating tests
...
Fixes #122
2023-09-18 18:36:58 +02:00
Anthony Printup
d3829fb6cd
Trim additional new lines at the end of the generated CMakeLists.txt
2023-09-16 18:49:30 +02:00
ζeh Matt
9f99365a25
Report better error messages for vcpkg projects and features
2023-08-25 15:58:24 +03:00
Anthony Printup
bcaa60cabe
feat: Added SYSTEM flag support to fetch-content
2023-06-12 15:41:20 +02:00
Duncan Ogilvie
7a7ddf2699
Speed up the pipeline by using Ninja
2023-03-25 11:19:48 +00:00
Duncan Ogilvie
9d6897b572
Suppress warnings related to DOWNLOAD_EXTRACT_TIMESTAMP
2023-03-24 11:03:40 +00:00
Duncan Ogilvie
f8c34e5545
Error when [vcpkg] is used from a non-root project
2023-03-24 10:43:17 +00:00
Duncan Ogilvie
e6d783ea20
Fix a few clang-tidy warnings
2023-03-24 10:41:59 +00:00
Duncan Ogilvie
66b2aad843
Fix a bug where includes in a subdir would not work
2023-03-24 10:04:32 +00:00
Duncan Ogilvie
33911f3f1b
Fix a regression where cmkr init wouldn't create any source files
2023-03-09 21:35:11 +01:00
Duncan Ogilvie
cb9ad5cdb3
Improve error messages and check if specified sources exist
2023-03-08 09:41:40 +01:00
Duncan Ogilvie
275b73eefa
Remove debug print
2023-03-02 08:43:45 +01:00
Duncan Ogilvie
257e14c869
Merge pull request #93 from build-cpp/gitattributes
...
Automatically generate .gitattributes and .gitignore with cmkr init
2023-02-28 21:30:34 +01:00
Duncan Ogilvie
45678bc5bc
Automatically generate .gitattributes and .gitignore with cmkr init
2023-02-28 21:26:07 +01:00
Duncan Ogilvie
b869e5646f
Add a special "root" value for [options]
2023-02-28 19:34:31 +01:00
Duncan Ogilvie
0c19c3da0c
Improve the code related to [options]
2023-02-20 02:09:36 +01:00
Duncan Ogilvie
58a5a935e5
Add a bunch of missing languages and extensions and refactor
2023-02-20 01:18:48 +01:00
mike
7d27c28b59
Fixed failing tests due to implicit project languages (internal list empty)
2023-02-09 10:53:48 -06:00
Duncan Ogilvie
2c6fc569af
Preserve backwards compatibility
2023-01-14 16:17:06 +01:00
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
2022-11-24 00:23:30 +01:00