diff options
| author | Aargh Rai <shubh2007rai@gmail.com> | 2026-03-28 19:03:45 +0530 |
|---|---|---|
| committer | Aargh Rai <shubh2007rai@gmail.com> | 2026-03-28 19:03:45 +0530 |
| commit | c7194b9b07a9c80344b52e002d0863fd258f0b38 (patch) | |
| tree | 258e0aae8fdbdce64d8df36e75138a186358cd6b /CMakeLists.txt | |
basic backup system, which utlizies regex for ignore files
Diffstat (limited to 'CMakeLists.txt')
| -rwxr-xr-x | CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
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) |
