forked from osmocom/wireshark
editcap and capinfos compile now with cmake
svn path=/trunk/; revision=52382
This commit is contained in:
parent
8b4c5a53e0
commit
eb1ee413e3
|
@ -10,6 +10,8 @@ if( WIN32 )
|
|||
# We might need something like "if (CMAKE_COMPILER_ID MATCHES "MSVC")"
|
||||
# here to support other compilers on Windows.
|
||||
|
||||
set( WIN_WSOCK32_LIBRARY wsock32.lib )
|
||||
|
||||
set( WIN_SETARGV_OBJECT setargv.obj )
|
||||
|
||||
set( WS_LINK_FLAGS ${WS_LINK_FLAGS} "${WIN_SETARGV_OBJECT}" )
|
||||
|
|
|
@ -24,17 +24,17 @@
|
|||
IF(WIN32)
|
||||
set(WSUTIL_PLATFORM_FILES
|
||||
file_util.c
|
||||
inet_aton.c
|
||||
inet_ntop.c
|
||||
inet_pton.c
|
||||
strncasecmp.c
|
||||
strptime.c
|
||||
unicode-utils.c
|
||||
wsgetopt.c
|
||||
)
|
||||
ENDIF(WIN32)
|
||||
|
||||
set(WSUTIL_FILES
|
||||
# @GETOPT_LO@ # wsgetopt.c
|
||||
# @INET_ATON_LO@ # inet_aton.c
|
||||
# @INET_NTOP_LO@ # inet_ntop.c
|
||||
# @INET_PTON_LO@ # inet_pton.c
|
||||
# @STRNCASECMP_LO@ # strncasecmp.c
|
||||
# @STRPTIME_LO@ # strptime.c
|
||||
aes.c
|
||||
airpdcap_wep.c
|
||||
crash_info.c
|
||||
|
@ -71,6 +71,7 @@ set(wsutil_LIBS
|
|||
${GMODULE2_LIBRARIES}
|
||||
${GLIB2_LIBRARIES}
|
||||
${GCRYPT_LIBRARIES}
|
||||
${WIN_WSOCK32_LIBRARY}
|
||||
)
|
||||
|
||||
set(CLEAN_FILES
|
||||
|
|
|
@ -16,7 +16,6 @@ License along with the GNU C Library; see the file COPYING.LIB. If
|
|||
not, write to the Free Software Foundation, Inc., 51 Franklin Street,
|
||||
Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||
|
||||
#include <ansidecl.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue