Commit Graph

142 Commits

Author SHA1 Message Date
Duncan Ogilvie 7cdf36f317 Initial support for conditional arguments archive_7cdf36f3 2021-05-02 23:53:12 +02:00
Duncan Ogilvie bf14f069a7 Minor fixes (removed TODOs and rename checks) 2021-05-02 21:51:04 +02:00
Duncan Ogilvie 3b4bc919a1 Merge branch 'bootstrapper-upgrade' 2021-05-02 02:22:46 +02:00
Duncan Ogilvie c0bdbeb9d8 Merge branch 'array-properties' 2021-05-02 02:22:39 +02:00
Duncan Ogilvie 42725d0339 Update the README to be in sync with master 2021-05-02 02:12:24 +02:00
Duncan Ogilvie 8f393d967d Make cmkr bootstrapper more robust 2021-05-01 00:44:29 +02:00
Duncan Ogilvie 1cf9240579 Support an array of properties
[target.example.properties]
SOME_LIST = [
    "item1",
    "item2",
]
archive_1cf92405
2021-04-26 01:01:28 +02:00
Mohammed Alyousef 7b7b260379 Merge pull request #6 from MoAlyousef/develop
Ongoing development
archive_7b7b2603
2021-04-20 02:33:29 +03:00
Duncan Ogilvie 747bc8be00 Merge remote-tracking branch 'origin/master' into develop
# Conflicts:
#	CMakeLists.txt
#	README.md
#	cmake.toml
#	include/literals.h
#	src/cmake.cpp
#	src/cmake.hpp
#	src/gen.cpp
2021-04-19 16:22:08 +02:00
MoAlyousef 00121c261f 0.1.4 v0.1.4 2021-04-11 04:52:44 +03:00
Duncan Ogilvie 326647011b Initial attempt at adding tests 2021-04-06 15:02:01 +02:00
Duncan Ogilvie 598c9b9ba8 Sort globbed files alphabetically for consistent cross-OS generation 2021-04-06 14:42:07 +02:00
Duncan Ogilvie d62dff29b1 Implement stronger type checking for optional values 2021-04-06 14:08:31 +02:00
Duncan Ogilvie 783f343e40 Run GitHub Actions on a bigger matrix 2021-04-06 12:52:31 +02:00
Duncan Ogilvie 5312b44860 Fix warnings on AppleClang 12 2021-04-06 12:19:47 +02:00
Duncan Ogilvie 6162e86329 Respect default members while building archive_6162e863 2021-04-05 18:54:24 +02:00
Duncan Ogilvie 5a20c0fe42 Initial vcpkg support archive_5a20c0fe 2021-04-05 16:47:18 +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 5c942599a5 Recursively bootstrap cmkr.cmake 2021-04-04 17:12:24 +02:00
Duncan Ogilvie 84f6b39f35 Clean up cmkr bootstrapping archive_84f6b39f 2021-04-04 17:11:49 +02:00
Duncan Ogilvie 67ac9a4328 Add a hack to hide a warning while bootstrapping on Windows archive_67ac9a43 2021-04-04 15:49:45 +02:00
Duncan Ogilvie 8e163522c7 Add error checking for " at the end of injected cmake blocks 2021-04-03 22:22:11 +02:00
Duncan Ogilvie 555c2d04ef Make the first executable the startup project in Visual Studio 2021-04-03 17:35:24 +02:00
Duncan Ogilvie 6e48ec7782 Generate configure_file for every cmake.toml file 2021-04-03 16:05:32 +02:00
Duncan Ogilvie c51f9cd311 Fix typo in target type enum 2021-04-03 14:38:01 +02:00
Duncan Ogilvie 868d991c7c Fix path expansion for subdirectories 2021-04-02 19:08:24 +02:00
Duncan Ogilvie af0c42ba4a Allow putting cmkr.cmake in a subfolder 2021-03-31 22:05:15 +02:00
Duncan Ogilvie fd307dfb90 Fix weird compilation bug on latest CMake and Windows 2021-03-31 21:34:47 +02:00
Duncan Ogilvie 82338cd575 Fix compilation on Ubuntu 2021-03-31 21:18:36 +02:00
Duncan Ogilvie f2dbd1fcb8 Refactor cmake generation 2021-03-31 21:01:44 +02:00
Duncan Ogilvie 1af0b5f1cc Add supporrt for cmkr-include 2021-03-31 19:41:36 +02:00
Duncan Ogilvie 5c7f6c979e Clean up command generation 2021-03-31 19:38:31 +02:00
Duncan Ogilvie 105e0aaeb9 Add support for project.description and project.languages 2021-03-31 18:47:54 +02:00
Duncan Ogilvie 206c658294 Simplify toml deserialization a lot 2021-03-31 18:47:20 +02:00
Duncan Ogilvie d89baa46e2 Fix custom target support 2021-03-31 15:46:38 +02:00
Duncan Ogilvie 461f26d0c6 Bugfixes 2021-03-31 15:35:31 +02:00
Duncan Ogilvie 1e8b756276 Move target type handling to an enum for refactor 2021-03-31 14:55:47 +02:00
Duncan Ogilvie 7f349218fd Automatically generate folder names for subdirs 2021-03-31 13:55:47 +02:00
Duncan Ogilvie 028e202e61 Rename inject-after/before to cmake-after/before 2021-03-31 13:55:14 +02:00
Duncan Ogilvie 6000629f9a Properly quote CMake command arguments with the wrapper 2021-03-30 16:51:37 +02:00
Duncan Ogilvie f32ea490fe Support inject and include for targets 2021-03-30 13:39:56 +02:00
Duncan Ogilvie db4e710446 Fix source_group with subdirectories and move add_subdirectory calls to before the targets 2021-03-25 11:54:32 +01:00
Duncan Ogilvie f9de5c67ef Differentiate between root and subdirectory generation 2021-03-25 11:41:45 +01:00
Duncan Ogilvie 7828461a42 Minor improvements to property ordering 2021-03-25 11:22:42 +01:00
Duncan Ogilvie fdd9a3d134 Improve CMakeLists.txt generation to not touch the file when there are no changes 2021-03-19 20:37:30 +01:00
Duncan Ogilvie b6d629b9f4 Support more target_xxx commands 2021-03-18 01:07:07 +01:00
Duncan Ogilvie a7bdb93830 Require a lower CMake version for compatibility with slow distros 2021-03-17 00:44:05 +01:00
Duncan Ogilvie ad3869da11 Emit add_subdirectory calls after the project but before the targets 2021-03-17 00:43:46 +01:00
Duncan Ogilvie f905440871 Preserve ordering and switch target syntax to use tables 2021-03-16 20:07:18 +01:00
Duncan Ogilvie bd36e67d2e Change to vendored dependencies instead of using FetchContent 2021-03-16 19:35:22 +01:00