# 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_debug)
SET(BdmLibs bdm itpp)
SET(ITppLibs itpp)

IF(WIN32)
	SET(BdmLibs ${BdmLibs} libacml_dll)
	SET(ITppLibs ${ITppLibs} libacml_dll)
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 (merg_pred merg_pred.cpp)
target_link_libraries (merg_pred ${BdmLibs})

add_executable (merger_iter_cond merger_iter_cond.cpp)
target_link_libraries (merger_iter_cond ${BdmLibs})
