OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-atomspace / opencog / atoms / flow / CMakeLists.txt

63 lines · txt ref:

# The atom_types.h file is written to the build directory
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR})

ADD_LIBRARY (atomflow
	AtomSpaceOfLink.cc
	CollectionOfLink.cc
	ConcatenateLink.cc
	DrainLink.cc
	FilterLink.cc
	IncomingOfLink.cc
	IncrementValueLink.cc
	JsonSplitLink.cc
	KeysOfLink.cc
	LinkSignatureLink.cc
	LiteralValueOfLink.cc
	MessagesOfLink.cc
	SetValueLink.cc
	SizeOfLink.cc
	SplitLink.cc
	StreamValueOfLink.cc
	TypeOfLink.cc
	ValueOfLink.cc
	ValueShimLink.cc
)

# Without this, parallel make will race and crap up the generated files.
ADD_DEPENDENCIES(atomflow opencog_atom_types)

TARGET_LINK_LIBRARIES(atomflow
	signature
	atomcore
	atombase
	${COGUTIL_LIBRARY}
)

INSTALL (TARGETS atomflow EXPORT AtomSpaceTargets
	DESTINATION "${CMAKE_INSTALL_LIBDIR}/opencog"
)

INSTALL (FILES
	AtomSpaceOfLink.h
	CollectionOfLink.h
	ConcatenateLink.h
	DrainLink.h
	FilterLink.h
	IncomingOfLink.h
	IncrementValueLink.h
	JsonSplitLink.h
	KeysOfLink.h
	LinkSignatureLink.h
	LiteralValueOfLink.h
	MessagesOfLink.h
	SetValueLink.h
	SizeOfLink.h
	SplitLink.h
	StreamValueOfLink.h
	TypeOfLink.h
	ValueOfLink.h
	ValueShimLink.h
	DESTINATION "include/opencog/atoms/flow"
)