0
|
1 # Name of the subproject
|
|
2 Project("libfreediameter" C)
|
|
3
|
|
4 SET(PROJECT_COPYRIGHT "Copyright (c) 2008-2009, WIDE Project (www.wide.ad.jp) and NICT (www.nict.go.jp)")
|
|
5
|
|
6 # List of source files for the library
|
|
7 SET(LFD_SRC
|
|
8 libfd.h
|
|
9 init.c
|
|
10 log.c
|
|
11 lists.c
|
|
12 dictionary.c
|
|
13 messages.c
|
|
14 mqueues.c
|
|
15 )
|
|
16
|
|
17 # Build as a shared library
|
|
18 ADD_LIBRARY(libfreediameter SHARED ${LFD_SRC})
|
|
19
|
|
20 # Avoid the liblib name
|
|
21 SET_TARGET_PROPERTIES(libfreediameter PROPERTIES OUTPUT_NAME "freediameter")
|
|
22
|
|
23 # The library itself needs other libraries
|
|
24 TARGET_LINK_LIBRARIES(libfreediameter ${FD_LIBS})
|
|
25
|