Mercurial > hg > freeDiameter
annotate libfreeDiameter/CMakeLists.txt @ 320:53f912ce0f4e
Add shared object version information
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Wed, 19 May 2010 15:09:27 +0900 |
parents | aa8f41bca657 |
children |
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 | |
320
53f912ce0f4e
Add shared object version information
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
316
diff
changeset
|
19 # Save the list of files for testcases in the daemon's directory |
53f912ce0f4e
Add shared object version information
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
316
diff
changeset
|
20 SET(LFD_SRC ${LFD_SRC} PARENT_SCOPE) |
53f912ce0f4e
Add shared object version information
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
316
diff
changeset
|
21 |
0 | 22 # Build as a shared library |
1
bafb831ba688
Fix names to proper case for freeDiameter
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
0
diff
changeset
|
23 ADD_LIBRARY(libfreeDiameter SHARED ${LFD_SRC}) |
0 | 24 |
320
53f912ce0f4e
Add shared object version information
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
316
diff
changeset
|
25 # Avoid the liblib name, and set the version |
53f912ce0f4e
Add shared object version information
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
316
diff
changeset
|
26 SET_TARGET_PROPERTIES(libfreeDiameter PROPERTIES |
53f912ce0f4e
Add shared object version information
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
316
diff
changeset
|
27 OUTPUT_NAME "freeDiameter" |
53f912ce0f4e
Add shared object version information
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
316
diff
changeset
|
28 SOVERSION ${FD_PROJECT_VERSION_API} |
53f912ce0f4e
Add shared object version information
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
316
diff
changeset
|
29 VERSION ${FD_PROJECT_VERSION_MAJOR}.${FD_PROJECT_VERSION_MINOR}.${FD_PROJECT_VERSION_REV}) |
0 | 30 |
31 # The library itself needs other libraries | |
316
aa8f41bca657
Fixed libraries dependencies
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
313
diff
changeset
|
32 TARGET_LINK_LIBRARIES(libfreeDiameter ${LFD_LIBS}) |
0 | 33 |
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
|
34 |
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
|
35 #### |
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
|
36 ## 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
|
37 |
300
71e508379671
Initial test for 'make install' command
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
235
diff
changeset
|
38 INSTALL(TARGETS libfreeDiameter |
313
6fd1e6f56af5
Completed initial debianization
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
305
diff
changeset
|
39 LIBRARY DESTINATION ${INSTALL_LIBRARY_SUFFIX} |
300
71e508379671
Initial test for 'make install' command
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
235
diff
changeset
|
40 COMPONENT freeDiameter-common) |
71e508379671
Initial test for 'make install' command
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
235
diff
changeset
|
41 |