view extensions/dict_sip/CMakeLists.txt @ 1493:a89913941dcf

extensions: hide symbols by default Hide extension.fdx symbols by default, by setting the target property <LANG>C_VISIBILITY_PRESET hidden. This requires cmake 2.8+ Explicitly export fd_ext_init() and fd_ext_fini(), using gcc or clang's __attribute__((visibility()))
author Luke Mewburn <luke@mewburn.net>
date Mon, 30 Mar 2020 15:31:48 +1100
parents 2bf587a8f6bc
children
line wrap: on
line source

# The dict_sip extension
PROJECT("Diameter SIP (RFC4740) dictionary definitions" C)

# Compile as a module
FD_ADD_EXTENSION(dict_sip dict_sip.c)


####
## INSTALL section ##

INSTALL(TARGETS dict_sip
	LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX}
	COMPONENT freeDiameter-dictionary-RFC4740)
"Welcome to our mercurial repository"