| summaryrefslogtreecommitdiff |
path: root/CMakeLists.txt
diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..ba70690 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 2.8 FATAL_ERROR) + +project("Zero of One") + +include(FindPkgConfig) + +add_subdirectory(src) +set(CMAKE_C_FLAGS "-D_POSIX_SOURCE -std=c99 -O2") +# ${SRC_FILES} is recursively defined in the subdirectories. +# Each subdirectory only adds the source files that are present at its level. +add_executable(zero_of_one ${SRC_FILES}) |


