# 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 bdm library once it is built. link_directories (${BDM_BINARY_DIR}/bdm) ## Save all needed libraries in variable BdmLibs IF(WIN32) SET(AddLib 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 (k1 k1.cpp) # Link the executable to the Hello library. target_link_libraries (k1 debug itpp_debug) target_link_libraries (k1 optimized itpp) target_link_libraries (k1 bdm ${AddLib})