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
605a04e72d
Fix formatting of files
2 years ago
Duncan Ogilvie
e6d783ea20
Fix a few clang-tidy warnings
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
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
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
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
232e49e087
Add support for vcpkg CRT and library linkage customization
3 years ago
Duncan Ogilvie
9b0f18ee94
Fix a bug in fetch-content generation
3 years ago
Duncan Ogilvie
85370968f8
Improved fetch-content support
...
Closes #38
3 years ago
Duncan Ogilvie
06a4c04df6
Add support for 'shallow' in fetch-content
3 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]
| ~~~~~~~~~~~~
3 years ago
Duncan Ogilvie
fe9b6587a9
Error when trying to parse an empty cmake.toml file
3 years ago
cursey
6f8b07a801
Allow specifying install component name
3 years ago
Duncan Ogilvie
d905be1d13
Final touches
3 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
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
...
Closes #36
3 years ago
cursey
2cd8ad0f18
Add missing const
3 years ago
cursey
0acc9b4e5a
Report the badly formed package name to the user
3 years ago
cursey
3201fd052e
Add support for vcpkg package features
3 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
3 years ago
Duncan Ogilvie
2bcf15c4ed
Add support for object libraries
...
Closes #34
3 years ago
Duncan Ogilvie
6809e8da41
Refactor and add checking for conditions
3 years ago
Duncan Ogilvie
9f9934e9a5
Implemented checking of keys in conditions
3 years ago
Duncan Ogilvie
77f4bf7da0
Some minor fixes related to newlines and formatting
3 years ago
Duncan Ogilvie
09c9c28934
Initial implementation of TomlChecker
...
This is to error when the user specifies an invalid key.
Closes #31
3 years ago
Duncan Ogilvie
f02ccc2309
Refactor fetch-content to vector<Content>
3 years ago
Duncan Ogilvie
285614e4c2
Automatically generate cmkr.cmake when missing
3 years ago
Duncan Ogilvie
a718dfd675
Inherit conditions from the parent project
3 years ago
Duncan Ogilvie
25da3171f0
Add default conditions for gcc/clang/msvc
3 years ago
Duncan Ogilvie
95907602b4
Do not allow in-tree builds per default
3 years ago