# Make sure the compiler can find include files from our Bdm library.
include_directories (${BDM_SOURCE_DIR}/bdm)

# Make sure the linker can find the Hello library once it is built.
link_directories (${BDM_BINARY_DIR}/bdm)

## Save all needed libraries in variable BdmLibs
SET(BdmLibs bdm itpp)

IF(WIN32)
	IF(ITPP_INCLUDE_DIR)
		include_directories(${ITPP_INCLUDE_DIR})
	ENDIF(ITPP_INCLUDE_DIR)
	IF(ITPP_LIB_DIR)
		link_directories(${ITPP_LIB_DIR})
	ENDIF(ITPP_LIB_DIR)
ENDIF(WIN32)

# Add executable called "helloDemo" that is built from the source files
# "demo.cxx" and "demo_b.cxx".  The extensions are automatically found.
add_executable (test0 test0.cpp)
add_executable (testKF testKF.cpp)
add_executable (testPF testPF.cpp)

# Link the executable to the Hello library.
target_link_libraries (test0 ${BdmLibs})
target_link_libraries (testKF ${BdmLibs})
target_link_libraries (testPF ${BdmLibs})
