# The name of our project is "BDM".  CMakeLists files in this project can
# refer to the root source directory of the project as ${BDM_SOURCE_DIR} and
# to the root binary directory of the project as ${BDM_BINARY_DIR}.
project (BDM)

######################
#Platform specific
IF(WIN32)
	########### TOHLE BY BYLO HEZKE JAKO MODUL DO CMakeu....
  # najdi knihovny a include...
  FIND_PATH(ITPP_INCLUDE_DIR itpp/itbase.h
	C:\\
	# a dalsi
	)
  FIND_LIBRARY(ITPP_LIB_DIR
	libitpp
	${ITPP_INCLUDE}/lib
	C:\\
	C:\\Program Files
# a dalsi
	)
  INCLUDE_DIRECTORY(ITPP_INCLUDE)
ELSE(WIN32)
	#This is for UNIX makefile which does only one release at a time.
	SET(CMAKE_BUILD_TYPE Debug)
ENDIF(WIN32)

# Recurse into the "dbm" and "tests" subdirectories.  This does not actually
# cause another cmake executable to run.  The same process will walk through
# the project's entire directory structure.
add_subdirectory (bdm)
add_subdirectory (tests)
