Michael Fabian 'Xaymar' Dirks
e442dea08d
code: Add REQUIRE to GENERATE command
...
Allows generating versions which contain all necessary components
2022-08-21 07:24:42 +02:00
Michael Fabian 'Xaymar' Dirks
e240967c27
code: Add support for requiring PATCH and TWEAK components
...
These will be set to 0 if required instead of leaving them blank.
2022-07-22 13:50:54 +02:00
Michael Fabian 'Xaymar' Dirks
e5b1376772
code: Fix MODIFY and GENERATE command behavior
...
These problems were discovered by users.
2022-07-05 22:22:58 +02:00
Michael Fabian 'Xaymar' Dirks
2b80fbc79c
code: Don't modify <out-var> unless necessary
...
Prevents odd cases which were unintended.
2022-07-05 04:51:59 +02:00
Michael Fabian 'Xaymar' Dirks
ad06e9cc75
code: Fix errors hidden by parent scope leaking into function
...
The variable scope in CMake is unlike other languages, and simply prevents functions from unintentionally polluting the parent scope. Unfortunately this also means that we need to take extra measurements to guarantee a good default state, and that 'DEFINED' is a useless keyword. Therefore by using a random prefix, we can prevent unintentional pollution of the function scope by the caller.
2022-07-05 02:21:43 +02:00
Michael Fabian 'Xaymar' Dirks
ccd1afb22a
code, docs, tests: Add support for dot-separation
2022-07-04 22:44:59 +02:00
Michael Fabian 'Xaymar' Dirks
9fe3d44d54
code: Add documentation to the file itself
...
This is a duplicate of index.rst, and should be considered secondary to the actual documentation at https://xaymar.github.io/cmake-version/ .
2022-07-04 07:47:10 +02:00
Michael Fabian 'Xaymar' Dirks
f46025f26c
Version 0.1
2022-07-04 04:50:55 +02:00