|
Revision 20, 0.9 kB
(checked in by smidl, 18 years ago)
|
|
priprava Cmake pro win
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | # The name of our project is "BDM". CMakeLists files in this project can |
|---|
| 2 | # refer to the root source directory of the project as ${BDM_SOURCE_DIR} and |
|---|
| 3 | # to the root binary directory of the project as ${BDM_BINARY_DIR}. |
|---|
| 4 | project (BDM) |
|---|
| 5 | |
|---|
| 6 | ###################### |
|---|
| 7 | #Platform specific |
|---|
| 8 | IF(WIN32) |
|---|
| 9 | ########### TOHLE BY BYLO HEZKE JAKO MODUL DO CMakeu.... |
|---|
| 10 | # najdi knihovny a include... |
|---|
| 11 | FIND_PATH(ITPP_INCLUDE_DIR itpp/itbase.h |
|---|
| 12 | C:\\ |
|---|
| 13 | # a dalsi |
|---|
| 14 | ) |
|---|
| 15 | FIND_LIBRARY(ITPP_LIB_DIR |
|---|
| 16 | libitpp |
|---|
| 17 | ${ITPP_INCLUDE}/lib |
|---|
| 18 | C:\\ |
|---|
| 19 | C:\\Program Files |
|---|
| 20 | # a dalsi |
|---|
| 21 | ) |
|---|
| 22 | INCLUDE_DIRECTORY(ITPP_INCLUDE) |
|---|
| 23 | ELSE(WIN32) |
|---|
| 24 | #This is for UNIX makefile which does only one release at a time. |
|---|
| 25 | SET(CMAKE_BUILD_TYPE Debug) |
|---|
| 26 | ENDIF(WIN32) |
|---|
| 27 | |
|---|
| 28 | # Recurse into the "dbm" and "tests" subdirectories. This does not actually |
|---|
| 29 | # cause another cmake executable to run. The same process will walk through |
|---|
| 30 | # the project's entire directory structure. |
|---|
| 31 | add_subdirectory (bdm) |
|---|
| 32 | add_subdirectory (tests) |
|---|