diff options
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) |
