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
Duncan Ogilvie
697b638723
Fix warning on macos
2022-10-11 14:19:29 +02:00
Duncan Ogilvie
53c88ceafa
Actually generate the set(CMAKE_MSVC_RUNTIME_LIBRARY)
...
Closes #69 (nice)
2022-10-08 10:37:27 +02:00
Duncan Ogilvie
69d844a152
Refactor msvc-static to msvc-runtime
2022-10-07 17:46:36 +02:00
gmh5225
28f541cd3c
[feature] add CMP0091
2022-10-07 06:41:11 +08:00
gmh5225
981c48dbc5
[feature] msvc-static
2022-10-02 10:43:32 +08:00
Duncan Ogilvie
5b6d9c3826
Replace illegal characters in the project name with _ when doing cmkr init
2022-07-19 13:42:56 +02:00
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
2022-07-19 13:41:43 +02:00
Duncan Ogilvie
9cdd0f7344
Escape lists when generating commands
2022-06-01 19:26:41 +02: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
13255c68cf
Use FetchContent_MakeAvailable for vcpkg in case they add CMakeLists.txt
2022-06-01 16:53:38 +02:00
Duncan Ogilvie
50d4a905b6
Merge pull request #55 from ZehMatt/fix/#54
...
Fix #54 : Fix settings not being properly quoted
2022-04-01 12:49:02 +02:00
Duncan Ogilvie
232e49e087
Add support for vcpkg CRT and library linkage customization
2022-04-01 02:27:41 +02:00
ζeh Matt
7408d42160
Fix #54 : Fix settings not being properly quoted
2022-04-01 03:15:32 +03:00
Duncan Ogilvie
9b0f18ee94
Fix a bug in fetch-content generation
2022-03-06 06:05:17 +01:00
Duncan Ogilvie
4de1500bb3
Refactor cmake injection
2022-02-12 04:14:47 +01:00
Duncan Ogilvie
85370968f8
Improved fetch-content support
...
Closes #38
2022-02-12 04:05:51 +01:00
Duncan Ogilvie
fef2a0215b
Error when recursively globbing in the project root
...
Closes #48
2022-02-12 03:03:57 +01:00
Duncan Ogilvie
c778a5fe2b
Do not omit non-optional documentation in option()
2022-02-11 02:42:20 +01:00
cursey
6f8b07a801
Allow specifying install component name
2022-01-28 17:16:19 -08:00
Duncan Ogilvie
37ca385673
Show vcpkg version when configuring
2022-01-14 13:42:03 +01:00
Duncan Ogilvie
fb16cc34b1
Fix a regression with invalid names being generated in vcpkg.json
2022-01-14 01:03:37 +01:00
Duncan Ogilvie
d905be1d13
Final touches
2022-01-12 23:57:14 +01:00
cursey
bcbc9d2b20
Remove use of std::make_unique for C++11 compliance
2022-01-11 00:12:02 -08:00
cursey
05324f593b
Improve code reuse for target cmds
2022-01-11 00:04:01 -08: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
Duncan Ogilvie
459ebb14b5
Support conditions everywhere
...
Closes #36
2021-12-30 02:35:59 +01:00
cursey
18419297f4
Bootstrap Vcpkg prior to FetchContent
2021-12-27 16:49:11 -08:00
Duncan Ogilvie
fa3b7a346c
Emit options and settings before the project()
2021-12-27 11:45:23 +01:00
Duncan Ogilvie
dc852b9a2f
Run clang-format
2021-12-27 10:54:46 +01:00
cursey
66621a9818
Fix spacing
2021-12-27 01:50:25 -08:00
cursey
084cbd6159
Cleanup vcpkg.json generation a little
2021-12-27 01:08:56 -08:00
cursey
b4b0f533a9
Validate vcpkg features
2021-12-27 01:02:05 -08:00