Changeset 658:f198d16fa7f4 in freeDiameter for libfdproto/CMakeLists.txt
- Timestamp:
- Jan 14, 2011, 3:15:23 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
libfdproto/CMakeLists.txt
r320 r658 1 1 # Name of the subproject 2 Project("libf reeDiameter" C)2 Project("libfdproto" C) 3 3 4 4 # List of source files for the library 5 SET(LFD _SRC6 libfD.h5 SET(LFDPROTO_SRC 6 fdproto-internal.h 7 7 dictionary.c 8 8 dispatch.c … … 14 14 rt_data.c 15 15 sessions.c 16 signal.c17 16 ) 18 17 19 # Save the list of files for testcases in the daemon's directory20 SET(LFD _SRC ${LFD_SRC} PARENT_SCOPE)18 # Save the list of files for testcases in the core's directory 19 SET(LFDPROTO_SRC ${LFDPROTO_SRC} PARENT_SCOPE) 21 20 22 21 # Build as a shared library 23 ADD_LIBRARY(libf reeDiameter SHARED ${LFD_SRC})22 ADD_LIBRARY(libfdproto SHARED ${LFDPROTO_SRC}) 24 23 25 24 # Avoid the liblib name, and set the version 26 SET_TARGET_PROPERTIES(libf reeDiameterPROPERTIES27 OUTPUT_NAME "f reeDiameter"25 SET_TARGET_PROPERTIES(libfdproto PROPERTIES 26 OUTPUT_NAME "fdproto" 28 27 SOVERSION ${FD_PROJECT_VERSION_API} 29 28 VERSION ${FD_PROJECT_VERSION_MAJOR}.${FD_PROJECT_VERSION_MINOR}.${FD_PROJECT_VERSION_REV}) 30 29 31 30 # The library itself needs other libraries 32 TARGET_LINK_LIBRARIES(libf reeDiameter ${LFD_LIBS})31 TARGET_LINK_LIBRARIES(libfdproto ${LFDPROTO_LIBS}) 33 32 34 33 … … 36 35 ## INSTALL section ## 37 36 38 INSTALL(TARGETS libf reeDiameter37 INSTALL(TARGETS libfdproto 39 38 LIBRARY DESTINATION ${INSTALL_LIBRARY_SUFFIX} 40 39 COMPONENT freeDiameter-common)
Note: See TracChangeset
for help on using the changeset viewer.