Skip to content

Conversation

@belyshevdenis
Copy link
Collaborator

Add cmake
Add Hex test to prove buildability
Fix compilation and linkage

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds CMake build support to a kernel framework (kf) project, enabling compilation and testing of the codebase. The changes introduce CMake configuration files, test infrastructure, and fix compilation issues to make the project buildable.

  • Adds comprehensive CMake build system with WDK integration for kernel development
  • Implements a hex encoding/decoding test suite to validate build functionality
  • Fixes compilation issues by removing assertions and adding necessary includes

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
CMakeLists.txt Root CMake configuration with compiler flags and WDK setup
include/CMakeLists.txt Library target definition for the kf framework
test/CMakeLists.txt Test driver configuration
test/pch.h Precompiled header with STL compatibility shims for kernel mode
test/HexTest.cpp Test cases for hex encoding/decoding functionality
include/kf/Hex.h Enhanced hex utilities with Unicode support and magic number elimination
include/kf/ScopedBuffer.h Removed assertions from getter methods
.gitmodules Git submodule configuration for test dependencies

belyshevdenis and others added 4 commits July 21, 2025 18:40
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@SergiusTheBest SergiusTheBest merged commit 41967f1 into main Jul 25, 2025
@SergiusTheBest SergiusTheBest deleted the add-cmake branch July 25, 2025 20:27
@SergiusTheBest
Copy link
Member

@belyshevdenis Hurrah! 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants