OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-cogserver / opencog / network / CMakeLists.txt

33 lines · txt ref:
# ------------------------------------------------------------

ADD_LIBRARY (network SHARED
	ConsoleSocket.cc
	GenericShell.cc
	NetworkServer.cc
	ServerSocket.cc
	SocketManager.cc
	WebSocket.cc
)

TARGET_LINK_LIBRARIES(network
	${COGUTIL_LIBRARY}
)

# The EXPORT is needed to autogenerate CMake boilerplate files in the
# lib directory that lets other packages FIND_PACKAGE(CogServer)
INSTALL (TARGETS network
	EXPORT CogServerTargets
	DESTINATION "${CMAKE_INSTALL_LIBDIR}/opencog"
)

# ------------------------------------------------------------

INSTALL (FILES
	ConsoleSocket.h
	GenericShell.h
	NetworkServer.h
	ServerSocket.h
	SocketManager.h
	DESTINATION "include/opencog/network"
)