mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
A few minor tweaks (apparently the -DCLIENT is not needed, and is ignored by plVault anyway :( )
This commit is contained in:
@ -20,10 +20,6 @@ set(PLASMA_TARGETS Client
|
|||||||
set_property(CACHE PLASMA_TARGETS PROPERTY STRINGS
|
set_property(CACHE PLASMA_TARGETS PROPERTY STRINGS
|
||||||
"Client" "Server" "Patcher" "Ethereal" "NoAvMsgs")
|
"Client" "Server" "Patcher" "Ethereal" "NoAvMsgs")
|
||||||
|
|
||||||
if(PLASMA_TARGETS STREQUAL "Client")
|
|
||||||
add_definitions(-DCLIENT)
|
|
||||||
endif(PLASMA_TARGETS STREQUAL "Client")
|
|
||||||
|
|
||||||
if(PLASMA_TARGETS STREQUAL "Patcher")
|
if(PLASMA_TARGETS STREQUAL "Patcher")
|
||||||
add_definitions(-DPATCHER)
|
add_definitions(-DPATCHER)
|
||||||
endif(PLASMA_TARGETS STREQUAL "Patcher")
|
endif(PLASMA_TARGETS STREQUAL "Patcher")
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
add_definitions(-D_LIB)
|
||||||
|
|
||||||
add_subdirectory(pnAddrInfo)
|
add_subdirectory(pnAddrInfo)
|
||||||
add_subdirectory(pnAsyncCore)
|
add_subdirectory(pnAsyncCore)
|
||||||
add_subdirectory(pnAsyncCoreExe)
|
add_subdirectory(pnAsyncCoreExe)
|
||||||
|
@ -3,10 +3,10 @@ include_directories(../../NucleusLib)
|
|||||||
|
|
||||||
set(pnAsyncCore_HEADERS
|
set(pnAsyncCore_HEADERS
|
||||||
Pch.h
|
Pch.h
|
||||||
|
pnAsyncCore.h
|
||||||
)
|
)
|
||||||
|
|
||||||
set(pnAsyncCore_PRIVATE
|
set(pnAsyncCore_PRIVATE
|
||||||
pnAsyncCore.h
|
|
||||||
Private/pnAcAllIncludes.h
|
Private/pnAcAllIncludes.h
|
||||||
Private/pnAcCore.h
|
Private/pnAcCore.h
|
||||||
Private/pnAcIo.h
|
Private/pnAcIo.h
|
||||||
@ -19,4 +19,4 @@ set(pnAsyncCore_PRIVATE
|
|||||||
add_library(pnAsyncCore STATIC ${pnAsyncCore_PRIVATE} ${pnAsyncCore_HEADERS})
|
add_library(pnAsyncCore STATIC ${pnAsyncCore_PRIVATE} ${pnAsyncCore_HEADERS})
|
||||||
|
|
||||||
source_group("Header Files" FILES ${pnAsyncCore_HEADERS})
|
source_group("Header Files" FILES ${pnAsyncCore_HEADERS})
|
||||||
source_group("Private" FILES ${pnAsyncCore_PRIVATE})
|
source_group("Private" FILES ${pnAsyncCore_PRIVATE})
|
||||||
|
@ -777,7 +777,7 @@ static void ProcessDeadlock_CS (const char occasion[], bool crashIt = true) {
|
|||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
static void DeadlockCheckProc (void *) {
|
static void DeadlockCheckProc (void *) {
|
||||||
while (s_running) {
|
while (s_running) {
|
||||||
Sleep(5 * 1000);
|
Sleep(5 * 1000);
|
||||||
|
|
||||||
if (!s_deadlockEnabled)
|
if (!s_deadlockEnabled)
|
||||||
|
Reference in New Issue
Block a user