OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-sensory / opencog / atoms / terminal / CMakeLists.txt

30 lines · txt ref:

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

ADD_LIBRARY (sensory-terminal SHARED
	TerminalNode.cc
)

# Without this, parallel make will race and crap up the generated files.
ADD_DEPENDENCIES(sensory-terminal sensory_atom_types)

TARGET_LINK_LIBRARIES(sensory-terminal
	sensory
	sensory-types
	${ATOMSPACE_LIBRARIES}
	${COGUTIL_LIBRARY}
)

ADD_GUILE_EXTENSION(SCM_CONFIG sensory-terminal "opencog-ext-path-sensory-terminal")

INSTALL (TARGETS sensory-terminal EXPORT AtomSpaceTargets
	DESTINATION "${CMAKE_INSTALL_LIBDIR}/opencog"
)

INSTALL (FILES
	TerminalNode.h
	DESTINATION "include/opencog/atoms/sensory"
)