You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
include_directories("../../CoreLib")
|
|
|
|
include_directories("../../NucleusLib")
|
|
|
|
include_directories("../../NucleusLib/inc")
|
|
|
|
include_directories("../../PubUtilLib")
|
|
|
|
|
|
|
|
set(pnNetCommon_HEADERS
|
|
|
|
plCreatableUuid.h
|
|
|
|
plGenericVar.h
|
|
|
|
plNetAddress.h
|
|
|
|
plNetApp.h
|
|
|
|
plNetGroup.h
|
|
|
|
plNetResManager.h
|
|
|
|
plNetServers.h
|
|
|
|
plNetSharedState.h
|
|
|
|
plSDLTypes.h
|
|
|
|
plSynchedObject.h
|
|
|
|
plSynchedValue.h
|
|
|
|
pnNetCommon.h
|
|
|
|
pnNetCommonCreatable.h
|
|
|
|
)
|
|
|
|
|
|
|
|
set(pnNetCommon_SOURCES
|
|
|
|
plGenericVar.cpp
|
|
|
|
plNetAddress.cpp
|
|
|
|
plNetApp.cpp
|
|
|
|
plNetGroup.cpp
|
|
|
|
plNetResManager.cpp
|
|
|
|
plNetServers.cpp
|
|
|
|
plNetSharedState.cpp
|
|
|
|
plSDLTypes.cpp
|
|
|
|
plSynchedObject.cpp
|
|
|
|
plSynchedValue.cpp
|
|
|
|
pnNetCommon.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(pnNetCommon STATIC ${pnNetCommon_HEADERS} ${pnNetCommon_SOURCES})
|
|
|
|
target_link_libraries(pnNetCommon pnNucleusInc)
|
|
|
|
target_link_libraries(pnNetCommon pnDispatch)
|
|
|
|
target_link_libraries(pnNetCommon pnFactory)
|
|
|
|
target_link_libraries(pnNetCommon pnKeyedObject)
|
|
|
|
target_link_libraries(pnNetCommon pnUUID)
|
|
|
|
if(WIN32)
|
|
|
|
target_link_libraries(pnNetCommon ws2_32)
|
|
|
|
endif(WIN32)
|
|
|
|
|
|
|
|
source_group("Header Files" FILES ${pnNetCommon_HEADERS})
|
|
|
|
source_group("Source Files" FILES ${pnNetCommon_SOURCES})
|