Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled
22 lines
604 B
CMake
22 lines
604 B
CMake
cmake_minimum_required (VERSION 3.5)
|
|
project(auth_service)
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
include_directories(./src/libs/ ./src)
|
|
add_executable(
|
|
auth_service
|
|
src/auth_service.cpp
|
|
src/auth/auth.cpp
|
|
src/auth/verify_auth.cpp
|
|
src/users/access_request.cpp
|
|
src/users/change_password.cpp
|
|
src/users/delete_user.cpp
|
|
src/users/add_user.cpp
|
|
src/users/get_all_users.cpp
|
|
src/users/get_user.cpp
|
|
src/users/change_user.cpp
|
|
src/security/cors.cpp
|
|
src/AuthService/AuthService.cpp
|
|
)
|
|
target_link_libraries(auth_service ssl crypto)
|
|
install(TARGETS auth_service DESTINATION bin)
|