Files
setec_fs_manager/CMakeLists.txt
DigiJ 179bb85c4f 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.
2026-03-12 12:54:46 -07:00

29 lines
599 B
CMake

cmake_minimum_required(VERSION 3.25)
project(SetecPartitionWizard VERSION 1.0.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
# Find Qt6
find_package(Qt6 REQUIRED COMPONENTS Widgets Core)
# CMake helpers
include(cmake/CompilerWarnings.cmake)
include(cmake/Version.cmake)
# Third-party dependencies
add_subdirectory(third_party)
# Main source tree
add_subdirectory(src)
# Tests
option(SPW_BUILD_TESTS "Build tests" ON)
if(SPW_BUILD_TESTS)
enable_testing()
add_subdirectory(tests)
endif()