editcap and capinfos compile now with cmake

svn path=/trunk/; revision=52382
This commit is contained in:
Jörg Mayer 2013-10-05 20:49:44 +00:00
parent 8b4c5a53e0
commit eb1ee413e3
3 changed files with 9 additions and 7 deletions

View File

@ -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}" )

View File

@ -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

View File

@ -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>