Duncan Ogilvie
e69427bf94
Merge pull request #91 from build-cpp/clang-condition
...
Fix the `clang` condition and CI improvements
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
51dc49e6f1
Improve CI performance for non-tagged builds
2 years ago
Duncan Ogilvie
ae6bea3b58
Improve reference documentation
2 years ago
Duncan Ogilvie
5a0eda7abc
Automatically generate release notes
2 years ago
Duncan Ogilvie
f17923c18b
Bump to 0.2.18
2 years ago
Duncan Ogilvie
ad17890e23
Merge pull request #85 from build-cpp/settings-rename
...
Rename `[settings]` to `[variables]`
2 years ago
Duncan Ogilvie
c0b98b3ef4
Add documentation for the [variables] section
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
1d95fab0ce
Switch to giscus for documentation comments
2 years ago
Duncan Ogilvie
44a77329bf
Merge pull request #83 from build-cpp/document-basics
...
Document basics
2 years ago
Duncan Ogilvie
e68c5fccdc
Add utteranc.es comments
2 years ago
Duncan Ogilvie
e2722d2c09
Initial draft of new documentation
2 years ago
Duncan Ogilvie
2627864383
Merge pull request #78 from build-cpp/fix-tests
...
Successfully fail when running cmkr subcommands
2 years ago
Duncan Ogilvie
05e21f734a
Fix the tests
2 years ago
Duncan Ogilvie
1fd18503cd
Successfully fail when running cmkr subcommands
2 years ago
Duncan Ogilvie
8b19441d34
Bump to 0.2.17
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
6e4006ec07
Fix typo in the docs
2 years ago
Duncan Ogilvie
697b638723
Fix warning on macos
2 years ago
Duncan Ogilvie
109c4bc99f
Bump to 0.2.16
2 years ago
Duncan Ogilvie
cad85f0bb1
Merge pull request #70 from build-cpp/fix-msvc-runtime
...
Actually generate the set(CMAKE_MSVC_RUNTIME_LIBRARY)
2 years ago
Duncan Ogilvie
53c88ceafa
Actually generate the set(CMAKE_MSVC_RUNTIME_LIBRARY)
...
Closes #69 (nice)
2 years ago
Duncan Ogilvie
d2aa15b1c7
Bump to 0.2.15
2 years ago
Duncan Ogilvie
e6ded077cf
Merge pull request #65 from gmh5225/feature-msvc-static
...
[feature] msvc-static
2 years ago
Duncan Ogilvie
3615ccab94
Document msvc-runtime feature
2 years ago
Duncan Ogilvie
73622aa5ba
Remove the add_test hook to generate tests the same on all platforms
2 years ago
Duncan Ogilvie
69d844a152
Refactor msvc-static to msvc-runtime
2 years ago
gmh5225
af9a117f50
Fix merge
2 years ago
gmh5225
5fe8220728
Merge branch 'feature-msvc-static' of https://github.com/gmh5225/cmkr into feature-msvc-static
2 years ago
gmh5225
28f541cd3c
[feature] add CMP0091
2 years ago
gmh5225
2f3fd7b95e
Merge branch 'main' into feature-msvc-static
2 years ago
Duncan Ogilvie
07d99c582d
Merge pull request #68 from build-cpp/headers-crash
...
Fix the way target.headers is merged into target.sources
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
153bdbe591
Bump to 0.2.14
2 years ago
Duncan Ogilvie
97f1c5c1cc
Fix a bug when there are regex characters in the path
...
Closes #61
2 years ago
Duncan Ogilvie
5b6d9c3826
Replace illegal characters in the project name with _ when doing cmkr init
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
3a1298f4e8
Merge pull request #60 from pmeerw/fix-warning
...
error: fix warning, signedness of comparison
2 years ago
Peter Meerwald-Stadler
534f955827
error: fix warning, signedness of comparison
...
cmkr/src/error.cpp:23:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
23 | assert(i >= 0 && i < (sizeof(err_string) / sizeof(*(err_string))));
2 years ago
Duncan Ogilvie
ef537ce084
Bump to 0.2.13
3 years ago
Duncan Ogilvie
9cdd0f7344
Escape lists when generating commands
3 years ago
Duncan Ogilvie
e69cf4d2b9
Add install.optional flag
3 years ago
Duncan Ogilvie
e98a906231
Document the install.component option
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
13255c68cf
Use FetchContent_MakeAvailable for vcpkg in case they add CMakeLists.txt
3 years ago