# 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)

IF(WIN32)
	SET(AddLib libacml_dll)
ENDIF(WIN32)

# Define macro for testing a file
MACRO(TEST FN)
	add_executable (${FN} ${FN}.cpp)
	target_link_libraries (${FN} debug itpp_debug)
	target_link_libraries (${FN} optimized itpp)
	target_link_libraries (${FN} bdm ${AddLib})
ENDMACRO(TEST)

# Add executable called "helloDemo" that is built from the source files
# "demo.cxx" and "demo_b.cxx".  The extensions are automatically found.
TEST(merg_pred)
TEST(merg_giw)
TEST(merger_iter_cond)
TEST(merg_2a)
