annotate freeDiameterd/CMakeLists.txt @ 1562:6219359a36a9 default tip

Merge latest changes from proposed branch
author Sebastien Decugis <sdecugis@freediameter.net>
date Mon, 21 Jun 2021 19:08:18 +0800
parents fdce8d4575b7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
13530e1f02e3 Initial files imported
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
1 # The subproject name
658
f198d16fa7f4 Initial commit for 1.1.0:
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 592
diff changeset
2 Project("freeDiameter simple daemon" C)
320
53f912ce0f4e Add shared object version information
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 316
diff changeset
3
667
1f7c7ce85db3 More cleanups in the CMakeLists files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 665
diff changeset
4 # Since it uses the libfdcore.h, it needs the include dependencies
1f7c7ce85db3 More cleanups in the CMakeLists files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 665
diff changeset
5 INCLUDE_DIRECTORIES(${LFDCORE_INCLUDES})
1f7c7ce85db3 More cleanups in the CMakeLists files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 665
diff changeset
6
320
53f912ce0f4e Add shared object version information
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 316
diff changeset
7 # Build the executable
658
f198d16fa7f4 Initial commit for 1.1.0:
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 592
diff changeset
8 ADD_EXECUTABLE(freeDiameterd main.c)
0
13530e1f02e3 Initial files imported
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
9
320
53f912ce0f4e Add shared object version information
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 316
diff changeset
10 # The version
53f912ce0f4e Add shared object version information
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 316
diff changeset
11 SET_TARGET_PROPERTIES(freeDiameterd PROPERTIES
53f912ce0f4e Add shared object version information
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 316
diff changeset
12 VERSION ${FD_PROJECT_VERSION_MAJOR}.${FD_PROJECT_VERSION_MINOR}.${FD_PROJECT_VERSION_REV})
53f912ce0f4e Add shared object version information
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 316
diff changeset
13
0
13530e1f02e3 Initial files imported
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
14 # The link command
677
fdce8d4575b7 Cleanup link commands for Fedora
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 671
diff changeset
15 TARGET_LINK_LIBRARIES(freeDiameterd libfdproto libfdcore ${GNUTLS_LIBRARIES})
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
16
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
17 ####
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
18 ## 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
19
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
20 INSTALL(TARGETS freeDiameterd
313
6fd1e6f56af5 Completed initial debianization
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 305
diff changeset
21 RUNTIME DESTINATION ${INSTALL_DAEMON_SUFFIX}
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
22 COMPONENT freeDiameter-daemon)
"Welcome to our mercurial repository"