<commit_before>#
#
# stunclient, network path trace


set (ADDITIONAL_LIBS "")

if(NOT APPLE)
 list(APPEND ADDITIONAL_LIBS "uuid")
endif()

#find_package( OpenSSL )
#if( OPENSSL_FOUND )
#  include_directories( ${OPENSSL_INCLUDE_DIR} )
#  list(APPEND ADDITIONAL_LIBS ${OPENSSL_LIBRARIES})
#endif( OPENSSL_FOUND )



add_executable ( stunclient
                 ${version_file}
                 iphelper.c
                 sockethelper.c
                 utils.c
                 stunclient.c )

target_link_libraries ( stunclient PRIVATE
                        sockaddrutil
                        stunlib
                        pthread
                        ${ADDITIONAL_LIBS})

set_target_properties(stunclient PROPERTIES INSTALL_RPATH "${install_dir}/lib")
set_target_properties(stunclient PROPERTIES BUILD_WITH_INSTALL_RPATH ON)

include_directories ( ../include )
link_directories ( ${CHECK_LIBRARY_DIRS} )

set (crusty_files
     stunclient.c
     iphelper.c
     sockethelper.c)

UncrustifyDir(crusty_files)
<commit_msg>Do not link with libuv.<commit_after>#
#
# stunclient, network path trace


set (ADDITIONAL_LIBS "")

#find_package( OpenSSL )
#if( OPENSSL_FOUND )
#  include_directories( ${OPENSSL_INCLUDE_DIR} )
#  list(APPEND ADDITIONAL_LIBS ${OPENSSL_LIBRARIES})
#endif( OPENSSL_FOUND )



add_executable ( stunclient
                 ${version_file}
                 iphelper.c
                 sockethelper.c
                 utils.c
                 stunclient.c )

target_link_libraries ( stunclient PRIVATE
                        sockaddrutil
                        stunlib
                        pthread
                        ${ADDITIONAL_LIBS})

set_target_properties(stunclient PROPERTIES INSTALL_RPATH "${install_dir}/lib")
set_target_properties(stunclient PROPERTIES BUILD_WITH_INSTALL_RPATH ON)

include_directories ( ../include )
link_directories ( ${CHECK_LIBRARY_DIRS} )

set (crusty_files
     stunclient.c
     iphelper.c
     sockethelper.c)

UncrustifyDir(crusty_files)

{'fraction_non_alphanumeric': 0.07711442786069651, 'fraction_numerical': 0.0, 'mean_word_length': 2.431740614334471, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4289223', 'n_tokens_mistral': 664, 'n_tokens_neox': 630, 'n_words': 110}