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
Duncan Ogilvie
7b20d8c54c
Restore [vcpkg].version functionality and add a test + documentation
2021-05-31 14:02:13 +02:00
MoAlyousef
ffdedbdace
fixes
2021-05-29 17:40:44 +03:00
MoAlyousef
dc4b59f05d
prelim vcpkg manifest support
2021-05-28 04:54:04 +03:00
Duncan Ogilvie
6ad29ef624
Allow conditional subdirs
2021-05-03 19:37:39 +02:00
Duncan Ogilvie
718c2c7527
Get rid of redundant name field in cmkr init
2021-05-03 17:45:51 +02:00
Duncan Ogilvie
6395267e4b
Merge cmkrlib into the cmkr target
2021-05-03 17:23:33 +02:00
darknessxk
4efa74f91f
Changed project string from [[target]] to [target.%s]
2021-05-03 11:21:59 -03:00
Duncan Ogilvie
5312b44860
Fix warnings on AppleClang 12
2021-04-06 12:19:47 +02:00
Duncan Ogilvie
b5752b7c2b
Breaking change, rename 'cmake.minimum' to 'cmake.version' and make it optional
2021-04-05 14:49:32 +02:00
Duncan Ogilvie
f9de5c67ef
Differentiate between root and subdirectory generation
2021-03-25 11:41:45 +01:00
Duncan Ogilvie
173c5e0f58
Restructure project
2021-03-05 17:34:10 +01:00
Duncan Ogilvie
eaa5e62396
Rename various options to match CMake's naming better and refactor
2021-03-05 14:09:34 +01:00
MoAlyousef
f8ab24e0a2
bump 0.1.3
2020-11-27 17:46:32 +03:00
MoAlyousef
16e68d7542
fix C++11 build
2020-11-27 17:38:40 +03:00