Initial project scaffold for Setec Partition Wizard
C++17/Qt6 application for disk recovery, repair, flashing, formatting, and USB security key creation on Windows. Includes CMake build system, tabbed UI shell with 6 main tabs, core type system with Result<T> monadic error handling, admin elevation, and dark Catppuccin theme.
This commit is contained in:
13
cmake/CompilerWarnings.cmake
Normal file
13
cmake/CompilerWarnings.cmake
Normal file
@@ -0,0 +1,13 @@
|
||||
# Compiler warning settings for MSVC and GCC/Clang
|
||||
if(MSVC)
|
||||
add_compile_options(/W4 /permissive- /utf-8)
|
||||
# Treat warnings as errors in CI builds
|
||||
if(DEFINED ENV{CI})
|
||||
add_compile_options(/WX)
|
||||
endif()
|
||||
else()
|
||||
add_compile_options(-Wall -Wextra -Wpedantic)
|
||||
if(DEFINED ENV{CI})
|
||||
add_compile_options(-Werror)
|
||||
endif()
|
||||
endif()
|
||||
Reference in New Issue
Block a user