Removed autotools cruft.
[libsex.git] / CMakeLists.txt
blobc97cb5bce39f1081c226f9763657dfdad97d8cf2
1 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
3 PROJECT(sex)
4 SET(LIBRARY_NAME     lib${PROJECT_NAME})
5 SET(PROJECT_BRIEF    "Simple Exception Library")
6 SET(PROJECT_VERSION  "3.0.0")
10 # Compiler Options
12 ADD_DEFINITIONS("-Werror -Wfatal-errors -Wall -Wextra -ansi -pedantic-errors")
13 ADD_DEFINITIONS("-Wno-variadic-macros")
16 # Project Tree
18 # Only one include directory, for uniformity's sake.
19 # Hence this one is the only candidate possible.
20 INCLUDE_DIRECTORIES(.)
22 # This one contains our code.
23 ADD_SUBDIRECTORY(source)
25 # That one the documentation.
26 ADD_SUBDIRECTORY(doc EXCLUDE_FROM_ALL)
28 # That one the programmer tests (not build by default).
29 ADD_SUBDIRECTORY(tests EXCLUDE_FROM_ALL)