Make cmake happier about my target declariation order
[mussa.git] / CMakeLists.txt
1 PROJECT(mussa)
2
3 ENABLE_TESTING()
4 CMAKE_MINIMUM_REQUIRED(VERSION 2.2)
5
6 # try to include our cmake modules
7 SET (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/makelib)
8
9 IF(NOT CMAKE_BUILD_TYPE)
10   SET (CMAKE_BUILD_TYPE Debug CACHE STRING
11       "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
12       FORCE)
13 ENDIF(NOT CMAKE_BUILD_TYPE)
14
15 # all of our source files al relative to the root of our project
16 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
17 ADD_SUBDIRECTORY( alg )
18 ADD_SUBDIRECTORY( gui )
19 ADD_SUBDIRECTORY( qui )
20 ADD_SUBDIRECTORY( py )
21