OverviewFilesCommitsIssuesDocsReleasesPeers

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

30 lines · txt ref:

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

ADD_LIBRARY (foreign
#	DatalogAST.cc
	ForeignAST.cc
	SexprAST.cc
)

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

TARGET_LINK_LIBRARIES(foreign
	#datalog
	atombase
	${COGUTIL_LIBRARY}
)

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

INSTALL (FILES
	DatalogAST.h
	ForeignAST.h
	SexprAST.h
	DESTINATION "include/opencog/atoms/foreign"
)