46 Commits

Author SHA1 Message Date
Duncan Ogilvie c76956450a Initial draft of [package] support 2022-03-20 21:19:07 +01: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
Mohammed Alyousef 4e55489845 update 0.1.1 2020-11-19 01:11:33 +03:00
MoAlyousef 18034af6ce update readme 2020-11-02 03:09:32 +03:00
MoAlyousef 9c347b2851 remove test for now from template 2020-09-16 11:04:10 +03:00
Mohammed Alyousef ef166277ea support testing 2020-09-15 22:18:45 +03:00
Mohammed Alyousef b8fbdb2bed create include dir by default 2020-09-15 20:49:43 +03:00
Mohammed Alyousef 221003f199 support interfaces and aliases 2020-09-15 20:25:58 +03:00
MoAlyousef e6219d6571 add option comments 2020-09-14 16:39:57 +03:00
MoAlyousef 3b09103d98 add globbing, package components and options 2020-09-14 15:22:41 +03:00
MoAlyousef 606d942ca0 add clean command 2020-09-12 18:08:36 +03:00
MoAlyousef ff53b00f28 add include 2020-09-12 17:08:05 +03:00