Mercurial > hg > freeDiameter
annotate libfreeDiameter/CMakeLists.txt @ 304:ad3c46016584
Added install directives for cmake; also allow default directory to seek for extensions and configuration files
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Fri, 14 May 2010 17:26:53 +0900 |
parents | 71e508379671 |
children | 61f78fdbacc2 |
rev | line source |
---|---|
0 | 1 # Name of the subproject |
1
bafb831ba688
Fix names to proper case for freeDiameter
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
0
diff
changeset
|
2 Project("libfreeDiameter" C) |
0 | 3 |
4 # List of source files for the library | |
5 SET(LFD_SRC | |
1
bafb831ba688
Fix names to proper case for freeDiameter
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
0
diff
changeset
|
6 libfD.h |
7
e5af94b04946
Added dispatch module and tests
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
3
diff
changeset
|
7 dictionary.c |
e5af94b04946
Added dispatch module and tests
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
3
diff
changeset
|
8 dispatch.c |
10
c5c99c73c2bf
Added some extensions and functions in the daemon
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
8
diff
changeset
|
9 fifo.c |
0 | 10 init.c |
7
e5af94b04946
Added dispatch module and tests
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
3
diff
changeset
|
11 lists.c |
0 | 12 log.c |
13 messages.c | |
83
c662d3eb6ff6
Started support for routing module
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
10
diff
changeset
|
14 rt_data.c |
3
ef303f1078ab
Progress; added session module; testsess to be completed
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
2
diff
changeset
|
15 sessions.c |
235
8773740401a5
Centralized signal handlers management in the library
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
83
diff
changeset
|
16 signal.c |
0 | 17 ) |
18 | |
19 # Build as a shared library | |
1
bafb831ba688
Fix names to proper case for freeDiameter
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
0
diff
changeset
|
20 ADD_LIBRARY(libfreeDiameter SHARED ${LFD_SRC}) |
0 | 21 |
22 # Avoid the liblib name | |
1
bafb831ba688
Fix names to proper case for freeDiameter
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
0
diff
changeset
|
23 SET_TARGET_PROPERTIES(libfreeDiameter PROPERTIES OUTPUT_NAME "freeDiameter") |
0 | 24 |
25 # The library itself needs other libraries | |
1
bafb831ba688
Fix names to proper case for freeDiameter
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
0
diff
changeset
|
26 TARGET_LINK_LIBRARIES(libfreeDiameter ${FD_LIBS}) |
0 | 27 |
304
ad3c46016584
Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
300
diff
changeset
|
28 # Save the list of files for testcases in the daemon's directory |
ad3c46016584
Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
300
diff
changeset
|
29 SET(LFD_SRC ${LFD_SRC} PARENT_SCOPE) |
ad3c46016584
Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
300
diff
changeset
|
30 |
ad3c46016584
Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
300
diff
changeset
|
31 |
ad3c46016584
Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
300
diff
changeset
|
32 #### |
ad3c46016584
Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
300
diff
changeset
|
33 ## INSTALL section ## |
ad3c46016584
Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
300
diff
changeset
|
34 |
300
71e508379671
Initial test for 'make install' command
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
235
diff
changeset
|
35 INSTALL(TARGETS libfreeDiameter |
71e508379671
Initial test for 'make install' command
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
235
diff
changeset
|
36 LIBRARY DESTINATION lib |
71e508379671
Initial test for 'make install' command
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
235
diff
changeset
|
37 COMPONENT freeDiameter-common) |
71e508379671
Initial test for 'make install' command
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
235
diff
changeset
|
38 |