Fixed CMakeLists and BaseICMP.cpp.
This commit is contained in:
parent
eb3d345c5a
commit
ce225b2888
@ -193,12 +193,10 @@ set(EHS_SOURCES
|
||||
include/ehs/io/socket/ehc/NetClientCh.h
|
||||
src/io/socket/ehc/NetClientCh.cpp
|
||||
src/io/socket/ehc/NetServerCh.cpp
|
||||
src/io/socket/ehc/NetUtils.cpp
|
||||
src/io/socket/BaseICMP.cpp
|
||||
include/ehs/io/socket/ICMP_LNX.h
|
||||
src/io/socket/ICMP_LNX.cpp
|
||||
include/ehs/io/socket/ICMP.h
|
||||
src/io/socket/ICMP_LNX.cpp
|
||||
src/io/socket/ehc/NetUtils.cpp
|
||||
include/ehs/io/socket/BaseICMP.h src/io/socket/BaseICMP.cpp
|
||||
include/ehs/io/socket/ICMP_LNX.h src/io/socket/ICMP_LNX.cpp
|
||||
include/ehs/io/socket/ICMP.h
|
||||
)
|
||||
|
||||
if (IS_OS_WINDOWS)
|
||||
@ -262,8 +260,7 @@ endif()
|
||||
#message("${CMAKE_CXX_FLAGS}")
|
||||
|
||||
add_library(EHS_Stc STATIC ${EHS_SOURCES})
|
||||
add_library(EHS_Dyn SHARED ${EHS_SOURCES}
|
||||
include/ehs/io/socket/BaseICMP.h)
|
||||
add_library(EHS_Dyn SHARED ${EHS_SOURCES})
|
||||
add_executable(StrToHash src/StrToHash.cpp)
|
||||
|
||||
target_compile_definitions(EHS_Dyn PRIVATE EHS_LIB_EXPORT)
|
||||
|
@ -1,8 +1,6 @@
|
||||
#include "ehs/io/socket/BaseICMP.h"
|
||||
#include "ehs/Serializer.h"
|
||||
|
||||
#include <netinet/ip.h>
|
||||
|
||||
namespace ehs
|
||||
{
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user