Changeset 20 for CMakeLists.txt

Show
Ignore:
Timestamp:
02/16/08 16:29:52 (16 years ago)
Author:
smidl
Message:

priprava Cmake pro win

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r19 r20  
    44project (BDM) 
    55 
    6 #This is for UNIX makefile which does only one release at a time. 
    7 SET(CMAKE_BUILD_TYPE Debug) 
     6###################### 
     7#Platform specific 
     8IF(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) 
     23ELSE(WIN32) 
     24        #This is for UNIX makefile which does only one release at a time. 
     25        SET(CMAKE_BUILD_TYPE Debug) 
     26ENDIF(WIN32) 
    827 
    928# Recurse into the "dbm" and "tests" subdirectories.  This does not actually