-
Notifications
You must be signed in to change notification settings - Fork 2
Add cmake #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add cmake #13
Conversation
There was a problem hiding this 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 |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@belyshevdenis Hurrah! 🥳 |
Add cmake
Add Hex test to prove buildability
Fix compilation and linkage