# The name of our project is "HELLO". CMakeLists files in this project can
# refer to the root source directory of the project as ${HELLO_SOURCE_DIR} and
# to the root binary directory of the project as ${HELLO_BINARY_DIR}.




project(ANOMALYDETECTION)

include_directories(${ANOMALYDETECTION_SOURCE_DIR}/clustering
~/include ${ANOMALYDETECTION_SOURCE_DIR}/timeseries /usr/include/libxml2/)


link_directories (${ANOMALYDETECTION_BINARY_DIR}/clustering ~/lib
${ANOMALYDETECTION_BINARY_DIR}/timeseries )


IF(APPLE)
MESSAGE(STATUS "Found Apple system")
SET(Boost_ADDITIONAL_VERSIONS "1.40.0")
SET(BOOST_ROOT "/opt/local/include/")

ENDIF(APPLE)
find_package( Boost REQUIRED)



SET(CMAKE_BUILD_TYPE debug)
SET(CMAKE_C_FLAGS_DEBUG "-pedantic -Wall -g -std=c99")
SET(CMAKE_CXX_FLAGS_DEBUG "-pedantic -Wall -g -std=c++0x")

include_directories ( ${Boost_INCLUDE_DIRS} )

cmake_minimum_required (VERSION 2.6)
project (anomalydetection)

# Recurse into the "Hello" and "Demo" 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 (clustering)
add_subdirectory (input) 
add_subdirectory (timeseries)
add_subdirectory (tools)
