Duncan Ogilvie
4772a2b683
Add support for conditional [project].languages
...
Closes #184
2026-02-01 16:14:17 +01:00
Duncan Ogilvie
2db8d1ee1d
Add support for [target].dependencies
...
Closes #177
2026-02-01 15:33:09 +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
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
5576789c18
Fix uninitialized 'system' field for fetch-content
2024-07-06 14:02:33 +02:00
Duncan Ogilvie
ff7e4b8f23
Allow arbitrary CMake expressions as conditions
2024-04-15 02:12:02 +02:00
Duncan Ogilvie
771c80a41a
Add [fetch-content].subdir
...
Closes #98
2023-11-09 13:28:29 +01:00
Duncan Ogilvie
1deaec2b41
Add .editorconfig and linting
...
Closes #112
2023-06-12 18:26:13 +02:00
Anthony Printup
bcaa60cabe
feat: Added SYSTEM flag support to fetch-content
2023-06-12 15:41:20 +02:00
Duncan Ogilvie
605a04e72d
Fix formatting of files
2023-03-24 11:07:02 +00:00
Duncan Ogilvie
ee0e0d71d9
Remove a bunch of dead code
2023-03-24 11:03:45 +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
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
233cadadd0
Merge pull request #90 from mike1k/sanity
...
Error on unknown language & unacceptable source file.
2023-02-20 01:31:47 +01:00
Duncan Ogilvie
58a5a935e5
Add a bunch of missing languages and extensions and refactor
2023-02-20 01:18:48 +01:00
Duncan Ogilvie
8dcc11e349
Add helper function Project::cmake_minimum_version for version-dependent features
2023-02-19 22:19:12 +01:00
Duncan Ogilvie
2c6fc569af
Preserve backwards compatibility
2023-01-14 16:17:06 +01:00
Duncan Ogilvie
1fd18503cd
Successfully fail when running cmkr subcommands
2022-11-24 00:32:31 +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
Duncan Ogilvie
69d844a152
Refactor msvc-static to msvc-runtime
2022-10-07 17:46:36 +02:00
gmh5225
2f3fd7b95e
Merge branch 'main' into feature-msvc-static
2022-10-07 05:35:11 +08:00
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
2022-10-06 18:22:51 +02:00
gmh5225
981c48dbc5
[feature] msvc-static
2022-10-02 10:43:32 +08:00
Duncan Ogilvie
e69cf4d2b9
Add install.optional flag
2022-06-01 19:06:53 +02:00
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
2022-06-01 16:57:09 +02:00
Duncan Ogilvie
232e49e087
Add support for vcpkg CRT and library linkage customization
2022-04-01 02:27:41 +02:00
Duncan Ogilvie
85370968f8
Improved fetch-content support
...
Closes #38
2022-02-12 04:05:51 +01:00
cursey
6f8b07a801
Allow specifying install component name
2022-01-28 17:16:19 -08:00
Duncan Ogilvie
d905be1d13
Final touches
2022-01-12 23:57:14 +01:00
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
2022-01-10 23:29:26 -08:00
cursey
eed1e38407
Add support for target templates
2022-01-10 18:59:33 -08:00
Duncan Ogilvie
459ebb14b5
Support conditions everywhere
...
Closes #36
2021-12-30 02:35:59 +01:00
cursey
3201fd052e
Add support for vcpkg package features
2021-12-26 15:40:45 -08:00
Duncan Ogilvie
88e9241e9f
Improve onboarding experience
...
Thanks Matthaus :give:
2021-12-23 18:04:54 +01:00
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
2021-12-23 01:54:57 +01:00
Duncan Ogilvie
2bcf15c4ed
Add support for object libraries
...
Closes #34
2021-12-23 00:01:18 +01:00
Duncan Ogilvie
6a825e15a0
Slightly improve cmkr init #24
2021-12-22 18:29:13 +01:00
Duncan Ogilvie
f02ccc2309
Refactor fetch-content to vector<Content>
2021-12-12 20:11:20 +01:00
Duncan Ogilvie
0f559bc803
Do not make Package.config default to true
2021-12-08 14:39:18 +01:00
Duncan Ogilvie
a718dfd675
Inherit conditions from the parent project
2021-07-03 16:27:01 +02:00
Duncan Ogilvie
95907602b4
Do not allow in-tree builds per default
2021-07-03 15:56:51 +02:00
Duncan Ogilvie
3cd84a9708
Add basic support for [subdir.mydir]
2021-06-26 16:22:26 +02:00
Duncan Ogilvie
9932e501ce
Rename files to make the project easier to navigate
2021-06-25 12:38:48 +02:00
Duncan Ogilvie
1b37dd76a5
Rename things to try to make the code more readable
2021-06-25 12:25:58 +02:00
Duncan Ogilvie
eaf03eb785
Add support for target condition
2021-06-15 02:15:06 +02:00
Duncan Ogilvie
2450cfb2c9
Implement conditional properties
...
Closes #8
2021-06-14 23:29:51 +02:00
Duncan Ogilvie
af3807ca2b
Add support for private- target options
2021-06-14 04:01:02 +02:00