From c7194b9b07a9c80344b52e002d0863fd258f0b38 Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Sat, 28 Mar 2026 19:03:45 +0530 Subject: basic backup system, which utlizies regex for ignore files --- CMakeLists.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100755 index 0000000..0125655 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 3.10) +project(backbencher) + +file(GLOB SOURCES "src/**/*.c") +file(GLOB SRC_FILES "src/*.c") +set(SOURCES ${SOURCES} ${SRC_FILES}) + +if(SOURCES) + add_executable(backbencher ${SOURCES}) +else() + message(FATAL_ERROR "No .c files found in source") +endif() + +target_compile_options(backbencher PRIVATE -Ofast) -- cgit v1.2.3