
ADD_LIBRARY (attentionbank
	AFImplicator.cc
	AtomBins.cc
	AttentionalFocusCB.cc
	AttentionBank.cc
	AttentionSCM.cc
	AVUtils.cc
	ImportanceIndex.cc
	StochasticImportanceDiffusion.cc
)

TARGET_LINK_LIBRARIES(attentionbank
#	${NO_AS_NEEDED}
	query
	smob
	atombase
	truthvalue
	${COGUTIL_LIBRARY}
)

IF(CMAKE_BUILD_TYPE MATCHES DEBUG)
    ADD_DEFINITIONS(-DECAN_EXPERIMENT)
ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG)

INSTALL (TARGETS attentionbank
	DESTINATION "lib${LIB_DIR_SUFFIX}/opencog"
)

INSTALL (FILES
	AtomBins.h
	AttentionBank.h
	AVUtils.h
	ImportanceIndex.h
	StochasticImportanceDiffusion.h
	DESTINATION "include/opencog/attentionbank"
)


ADD_LIBRARY (attentionbank
	AFImplicator.cc
	AtomBins.cc
	AttentionalFocusCB.cc
	AttentionBank.cc
	AttentionSCM.cc
	AVUtils.cc
	ImportanceIndex.cc
	StochasticImportanceDiffusion.cc
)

TARGET_LINK_LIBRARIES(attentionbank
#	${NO_AS_NEEDED}
	query
	execution
	smob
	atombase
	truthvalue
	${COGUTIL_LIBRARY}
)

IF(CMAKE_BUILD_TYPE MATCHES DEBUG)
    ADD_DEFINITIONS(-DECAN_EXPERIMENT)
ENDIF(CMAKE_BUILD_TYPE MATCHES DEBUG)

INSTALL (TARGETS attentionbank
	DESTINATION "lib${LIB_DIR_SUFFIX}/opencog"
)

INSTALL (FILES
	AtomBins.h
	AttentionBank.h
	AVUtils.h
	ImportanceIndex.h
	StochasticImportanceDiffusion.h
	DESTINATION "include/opencog/attentionbank"
)

Fix unresolved symbols in attentionbank by adding execution dep
Fix unresolved symbols in attentionbank by adding execution dep
