initial commit: WIP debugging PAM module
This commit is contained in:
16
CMakeLists.txt
Normal file
16
CMakeLists.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
project(usercontainer2 LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
add_subdirectory(pam-module)
|
||||
|
||||
# Rust backend build integration
|
||||
add_custom_target(rust_backend_build
|
||||
COMMAND cargo build --release --manifest-path=${CMAKE_SOURCE_DIR}/rust-backend/Cargo.toml --target-dir ${CMAKE_BINARY_DIR}/rust-backend/target
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/rust-backend
|
||||
)
|
||||
|
||||
add_subdirectory(tests/app)
|
||||
Reference in New Issue
Block a user