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