view libfreeDiameter/CMakeLists.txt @ 7:e5af94b04946

Added dispatch module and tests
author Sebastien Decugis <sdecugis@nict.go.jp>
date Fri, 04 Sep 2009 18:05:25 +0900
parents ef303f1078ab
children 3e143f047f78
line wrap: on
line source

# Name of the subproject
Project("libfreeDiameter" C)

SET(PROJECT_COPYRIGHT "Copyright (c) 2008-2009, WIDE Project (www.wide.ad.jp) and NICT (www.nict.go.jp)")

# List of source files for the library
SET(LFD_SRC
	libfD.h
	dictionary.c
	dispatch.c
	init.c
	lists.c
	log.c
	messages.c
	mqueues.c
	sessions.c
	)

# Build as a shared library
ADD_LIBRARY(libfreeDiameter SHARED ${LFD_SRC})

# Avoid the liblib name
SET_TARGET_PROPERTIES(libfreeDiameter PROPERTIES OUTPUT_NAME "freeDiameter")

# The library itself needs other libraries 
TARGET_LINK_LIBRARIES(libfreeDiameter ${FD_LIBS})

# Save the list of files for testcases in the daemon's directory
SET(LFD_SRC ${LFD_SRC} PARENT_SCOPE)

"Welcome to our mercurial repository"