2 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
4 # The name of this project, obviously.
10 # At least let the compiler think our code is perfect.
11 ADD_DEFINITIONS("-Werror -Wfatal-errors -Wall -Wextra -ansi -pedantic-errors")
12 ADD_DEFINITIONS("-Wno-variadic-macros")
17 # Only one include directory, for uniformity's sake.
18 # Hence this one is the only candidate possible.
19 INCLUDE_DIRECTORIES(.)
21 # This one contains our code.
22 ADD_SUBDIRECTORY(source)
24 # That one the programmer tests (not build by default).
25 ADD_SUBDIRECTORY(tests EXCLUDE_FROM_ALL)