diff options
| author | Alexey Gavrilov <alexey.gavrilov@mail.com> | 2026-07-23 14:37:44 +0700 |
|---|---|---|
| committer | Alexey Gavrilov <alexey.gavrilov@mail.com> | 2026-07-23 17:55:20 +0700 |
| commit | ccb9dbd3f78d9f06826560bd54519bab3477947a (patch) | |
| tree | 70a5a4ddb9ff59ba334000c0c87d1e0299b408a7 /cmake/module/cmaketodo | |
| parent | bfab70232fb99d08131c0da3a95b98174e107999 (diff) | |
Include cmake feature module in the build routine
Add predicate `ifFeatureEnables` that checks feature is define or not,
and return accordingly boolean value.
Consider some cmake objective targets as features. Populate information
to these targets, and provides in particular file `CMakeFeatures.txt`.
Cpuid, MSR, ACPI and driver VGA in text mode they are.
Signed-off-by: Alexey Gavrilov <alexey.gavrilov@mail.com>
Diffstat (limited to 'cmake/module/cmaketodo')
| -rw-r--r-- | cmake/module/cmaketodo | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmake/module/cmaketodo b/cmake/module/cmaketodo new file mode 100644 index 0000000..9ccad77 --- /dev/null +++ b/cmake/module/cmaketodo @@ -0,0 +1,10 @@ +1.(DONE) Don't create a feature with duplicating name + Add checks in create and save feature functions + +2.(DONE) Add processing for FEATURES_SUSPEND variable features functions to suspend +this module variables populating. + +3.(DONE) Are Features accord toolchain? Implement this check. Maybe to process a cache cmake +variable. FEATURES_TIE_BUILD + +4. find_package() support for modules, and write documentation. |
