# The atom_types.h file is written to the build directory
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR})
ADD_LIBRARY (grant
DefinedProcedureNode.cc
DefineLink.cc
GrantLink.cc
NameNode.cc
PipeLink.cc
StateLink.cc
TypedAtomLink.cc
UniqueLink.cc
)
ADD_DEPENDENCIES(grant opencog_atom_types)
TARGET_LINK_LIBRARIES(grant
free
atomcore
${COGUTIL_LIBRARY}
)
INSTALL (TARGETS grant EXPORT AtomSpaceTargets
DESTINATION "${CMAKE_INSTALL_LIBDIR}/opencog"
)
INSTALL (FILES
DefinedProcedureNode.h
DefineLink.h
GrantLink.h
NameNode.h
PipeLink.h
StateLink.h
TypedAtomLink.h
UniqueLink.h
DESTINATION "include/opencog/atoms/grant"
)