Add full implementation: core engine, UI, build fixes, and compilation
- Implement all core modules: disk I/O, partition tables, filesystem formatting, recovery, imaging, diagnostics, security, and maintenance - Implement all UI tabs with full widget layouts and backend integration - Fix MSVC compilation: NOMINMAX, WIN32_LEAN_AND_MEAN, missing includes (winioctl.h, bcrypt.h, shellapi.h, cwctype), type mismatches, and POSIX macro conflicts - Add Guid implementation (Types.cpp), move DiskAccessMode to Types.h - Add CMake presets with embedded MSVC/SDK environment for Git Bash builds - Add build scripts, key generation, icon resources, and windeployqt - Include pre-built hwdiag library and third-party integration
This commit is contained in:
@@ -7,12 +7,19 @@ set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
|
||||
# Platform defines — NOMINMAX prevents windows.h from defining min/max macros
|
||||
add_compile_definitions(NOMINMAX WIN32_LEAN_AND_MEAN)
|
||||
|
||||
# Find Qt6
|
||||
find_package(Qt6 REQUIRED COMPONENTS Widgets Core)
|
||||
|
||||
# CMake helpers
|
||||
include(cmake/CompilerWarnings.cmake)
|
||||
include(cmake/Version.cmake)
|
||||
include(cmake/GenerateKey.cmake)
|
||||
|
||||
# Tests option (declared before third_party so FetchContent sees it)
|
||||
option(SPW_BUILD_TESTS "Build tests" ON)
|
||||
|
||||
# Third-party dependencies
|
||||
add_subdirectory(third_party)
|
||||
@@ -21,7 +28,6 @@ add_subdirectory(third_party)
|
||||
add_subdirectory(src)
|
||||
|
||||
# Tests
|
||||
option(SPW_BUILD_TESTS "Build tests" ON)
|
||||
if(SPW_BUILD_TESTS)
|
||||
enable_testing()
|
||||
add_subdirectory(tests)
|
||||
|
||||
Reference in New Issue
Block a user