From ccb9dbd3f78d9f06826560bd54519bab3477947a Mon Sep 17 00:00:00 2001 From: Alexey Gavrilov Date: Thu, 23 Jul 2026 14:37:44 +0700 Subject: 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 --- cmake/module/cmaketodo | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cmake/module/cmaketodo (limited to 'cmake/module/cmaketodo') 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. -- cgit v1.2.3