Revision 406, 0.8 kB
(checked in by smidl, 15 years ago)
|
Build system restructuring
|
-
Property svn:eol-style set to
native
|
Line | |
---|
1 | # Compulsory line |
---|
2 | cmake_minimum_required(VERSION 2.6) |
---|
3 | |
---|
4 | # The name of our project is "BDM". CMakeLists files in this project can |
---|
5 | # refer to the root source directory of the project as ${BDM_SOURCE_DIR} and |
---|
6 | # to the root binary directory of the project as ${BDM_BINARY_DIR}. |
---|
7 | project (BDM) |
---|
8 | |
---|
9 | # In order to be able to use the newly written FindXXX package, the |
---|
10 | # location of the FindXXX.cmake file must be added to the cmake modules |
---|
11 | # list from within a CMakeLists.txt file as follows: |
---|
12 | set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}\\system\\") |
---|
13 | |
---|
14 | INCLUDE(SetBdmEnv) |
---|
15 | |
---|
16 | # Recurse into the "bdm" and "tests" subdirectories. This does not actually |
---|
17 | # cause another cmake executable to run. The same process will walk through |
---|
18 | # the project's entire directory structure. |
---|
19 | add_subdirectory (bdm) |
---|
20 | add_subdirectory (tests) |
---|