Changed "double fault" message.
[libsex.git] / CMakeLists.txt
blobf8306321e6ad5d44b6b757a3a519a0873ec43b62
1 # Formalia...
2 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
4 # The name of this project, obviously.
5 PROJECT(libsex)
8 ### Compiler Options
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")
15 ### Project Tree
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)