加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 616 Bytes
一键复制 编辑 原始数据 按行查看 历史
bittomix 提交于 2015-11-28 23:50 . cmake makefiles added
# The environment variable PCAPDIR allows to specficy where to find
# libpcap in non standard location.
cmake_minimum_required (VERSION 2.8)
project (kdd99extractor CXX C)
# Distributed CMake Find modules
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
# libpcap / WinPcap
find_package(PCAP)
include_directories(BEFORE ${PCAP_INCLUDE_DIR})
set(LIBS ${PCAP_LIBRARIES})
message(STATUS "ENV{PCAPDIR}=$ENV{PCAPDIR}")
message(STATUS "PCAP_FOUND=${PCAP_FOUND}")
message(STATUS "PCAP_LIBRARIES=${PCAP_LIBRARIES}")
message(STATUS "PCAP_INCLUDE_DIR=${PCAP_INCLUDE_DIR}")
add_subdirectory(src)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化