| 1 |
# The test_sip extension |
| 2 |
PROJECT("Diameter-SIP client Test Application (RFC4740)" C) |
| 3 |
|
| 4 |
FIND_PACKAGE(MySQL REQUIRED) |
| 5 |
INCLUDE_DIRECTORIES(${MySQL_INCLUDE_DIR}) |
| 6 |
|
| 7 |
# List of source files |
| 8 |
SET( TEST_SIP_SRC |
| 9 |
test_sip.c |
| 10 |
test_sip.h |
| 11 |
multimediaauth.c |
| 12 |
locationinfo.c |
| 13 |
locationinfosl.c |
| 14 |
registrationtermination.c |
| 15 |
userauthorization.c |
| 16 |
serverassignment.c |
| 17 |
) |
| 18 |
|
| 19 |
# Compile as a module |
| 20 |
FD_ADD_EXTENSION(test_sip ${TEST_SIP_SRC}) |
| 21 |
|
| 22 |
TARGET_LINK_LIBRARIES(test_sip ${MySQL_LIBRARIES}) |
| 23 |
|
| 24 |
|
| 25 |
#### |
| 26 |
## INSTALL section ## |
| 27 |
|
| 28 |
INSTALL(TARGETS test_sip |
| 29 |
LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX} |
| 30 |
COMPONENT freeDiameter-debug-tools) |