Téléverser les fichiers vers "workstation-setup"

This commit is contained in:
2026-08-19 08:48:00 +02:00
parent 1654c8eb54
commit d37ca8fafe
+8 -4
View File
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.21)
project(
nixos-workstations-setup
VERSION 1.0.0
VERSION 1.1.0
LANGUAGES CXX
)
@@ -28,9 +28,13 @@ if(NOT DEFINED PIN_HELPER_PATH)
message(FATAL_ERROR "PIN_HELPER_PATH is required")
endif()
if(NOT DEFINED TARGET_USER)
message(FATAL_ERROR "TARGET_USER is required")
endif()
# Les chemins Nix sont générés dans un header au lieu d'être injectés avec
# -D...=\"...\". Cela supprime toute ambiguïté d'échappement CMake/compilateur.
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/src/Config.h.in
${CMAKE_CURRENT_BINARY_DIR}/generated/Config.h
@ONLY
)
add_subdirectory(src)