Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Failing after 7s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Failing after 6s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Failing after 6s
19 lines
375 B
CMake
19 lines
375 B
CMake
cmake_minimum_required (VERSION 3.6)
|
|
project(auth_service LANGUAGES C)
|
|
|
|
set(CMAKE_C_STANDARD 23)
|
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|
|
|
include_directories(./src/lib/ ${SQLite3_INCLUDE_DIRS})
|
|
|
|
FILE(GLOB_RECURSE SOURCES src/*.c)
|
|
|
|
find_package(SQLite3 REQUIRED)
|
|
|
|
add_executable(
|
|
auth_service
|
|
${SOURCES}
|
|
)
|
|
|
|
target_link_libraries(auth_service ssl crypto sqlite3 pthread)
|