Anthony Printup
a7ca9f04c0
fix(relative-paths): Replaced `has_parent_path` with a simpler path check
8 months 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
8 months ago
Anthony Printup
56bd78f7ad
feat(project-parser): Added support for relative paths in `link-libraries`
...
Fixes #116
8 months ago
Duncan Ogilvie
ad90b1ad3e
Add 'clang-cl' and 'clang-any' conditions
10 months ago
Duncan Ogilvie
5bfa03d311
Bump to 0.2.24
11 months ago
Anthony Printup
bcaa60cabe
feat: Added SYSTEM flag support to fetch-content
11 months ago
Duncan Ogilvie
605a04e72d
Fix formatting of files
1 year ago
Duncan Ogilvie
e6d783ea20
Fix a few clang-tidy warnings
1 year ago
Duncan Ogilvie
b869e5646f
Add a special "root" value for [options]
1 year ago
Duncan Ogilvie
0c19c3da0c
Improve the code related to [options]
1 year ago
Duncan Ogilvie
233cadadd0
Merge pull request #90 from mike1k/sanity
...
Error on unknown language & unacceptable source file.
1 year ago
Duncan Ogilvie
58a5a935e5
Add a bunch of missing languages and extensions and refactor
1 year 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
1 year ago
Duncan Ogilvie
8dcc11e349
Add helper function Project::cmake_minimum_version for version-dependent features
1 year ago
Duncan Ogilvie
2c6fc569af
Preserve backwards compatibility
1 year ago
Duncan Ogilvie
12ee23a44c
Improve error messages
1 year ago
Duncan Ogilvie
82342a6b6f
Rename [settings] to [variables]
1 year 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
69d844a152
Refactor msvc-static to msvc-runtime
2 years ago
gmh5225
af9a117f50
Fix merge
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
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
Duncan Ogilvie
e69cf4d2b9
Add install.optional flag
2 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
2 years ago
Duncan Ogilvie
232e49e087
Add support for vcpkg CRT and library linkage customization
2 years ago
Duncan Ogilvie
9b0f18ee94
Fix a bug in fetch-content generation
2 years ago
Duncan Ogilvie
85370968f8
Improved fetch-content support
...
Closes #38
2 years ago
Duncan Ogilvie
06a4c04df6
Add support for 'shallow' in fetch-content
2 years ago
Duncan Ogilvie
c713606fd4
Error when using an unknown key in the root of the TOML
...
[error] Unknown key 'fetch-cntent'
--> cmake.toml:2
|
2 | [fetch-cntent.blah]
| ~~~~~~~~~~~~
2 years ago
Duncan Ogilvie
fe9b6587a9
Error when trying to parse an empty cmake.toml file
2 years ago
cursey
6f8b07a801
Allow specifying install component name
2 years ago
Duncan Ogilvie
d905be1d13
Final touches
2 years ago
cursey
2b7ee72e86
Separate template parsing and generation
...
* Reuse type for specifying template to use
* Add support for template add-function
* Add support for template pass-sources-to-add-function
2 years ago
cursey
61d5e64d87
Fix parser expecting to always find templates
2 years ago
cursey
eed1e38407
Add support for target templates
2 years ago
Duncan Ogilvie
6c1e388391
Add root, x64 and x32 conditions
2 years ago
Duncan Ogilvie
459ebb14b5
Support conditions everywhere
...
Closes #36
2 years ago
cursey
2cd8ad0f18
Add missing const
2 years ago
cursey
0acc9b4e5a
Report the badly formed package name to the user
2 years ago
cursey
3201fd052e
Add support for vcpkg package features
2 years ago
Duncan Ogilvie
bb7874a6df
Improve compilation times
...
Compilation with make went from 13 -> 10 seconds.
CMAKE_UNITY_BUILD went even lower to 6 seconds.
Closes #11
2 years ago
Duncan Ogilvie
2bcf15c4ed
Add support for object libraries
...
Closes #34
2 years ago
Duncan Ogilvie
6809e8da41
Refactor and add checking for conditions
2 years ago
Duncan Ogilvie
9f9934e9a5
Implemented checking of keys in conditions
2 years ago
Duncan Ogilvie
77f4bf7da0
Some minor fixes related to newlines and formatting
2 years ago
Duncan Ogilvie
09c9c28934
Initial implementation of TomlChecker
...
This is to error when the user specifies an invalid key.
Closes #31
2 years ago
Duncan Ogilvie
f02ccc2309
Refactor fetch-content to vector<Content>
2 years ago
Duncan Ogilvie
285614e4c2
Automatically generate cmkr.cmake when missing
3 years ago