passwdgen/CMakeLists.txt
Gregory Gauthier 55475c4f6f
All checks were successful
CMake / build (push) Successful in 47s
refactor(structure): reorganize project with src/ and include/ directories
Moved source files to src/ and headers to include/.
Updated CMakeLists.txt and include paths accordingly.
Added and updated test files in tests/.
Included generated CMake cache and compiler ID files.
2026-03-06 16:15:21 +00:00

19 lines
412 B
CMake

cmake_minimum_required(VERSION 3.10)
project(passwdgen VERSION 1.0)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# Create a library with the core functionality
add_library(passwdgen_lib src/passwdgen.cpp)
# Main application
add_executable(passwdgen src/main.cpp)
target_link_libraries(passwdgen passwdgen_lib)
# Enable testing
enable_testing()
# Add test directory
add_subdirectory(tests)