mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
Move plCmdParser to CoreLib.
This commit is contained in:
@ -50,6 +50,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include <curl/curl.h>
|
||||
|
||||
#include "hsStream.h"
|
||||
#include "plCmdParser.h"
|
||||
#include "plClient.h"
|
||||
#include "plClientResMgr/plClientResMgr.h"
|
||||
#include "pfCrashHandler/plCrashCli.h"
|
||||
@ -66,7 +67,6 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plProduct.h"
|
||||
#include "plNetGameLib/plNetGameLib.h"
|
||||
#include "plPhysX/plSimulationMgr.h"
|
||||
#include "pnUtils/plCmdParser.h"
|
||||
|
||||
#include "res/resource.h"
|
||||
|
||||
|
@ -46,9 +46,9 @@ Mead, WA 99021
|
||||
#include "plProduct.h"
|
||||
#include "hsThread.h"
|
||||
#include "hsTimer.h"
|
||||
#include "plCmdParser.h"
|
||||
|
||||
#include "pnUtils/pnUtils.h"
|
||||
#include "pnUtils/plCmdParser.h"
|
||||
#include "pnAsyncCore/pnAsyncCore.h"
|
||||
#include "plNetGameLib/plNetGameLib.h"
|
||||
#include "plStatusLog/plStatusLog.h"
|
||||
|
@ -28,6 +28,7 @@ set(CoreLib_SOURCES
|
||||
hsTemplates.cpp
|
||||
hsWide.cpp
|
||||
pcSmallRect.cpp
|
||||
plCmdParser.cpp
|
||||
plFileSystem.cpp
|
||||
plFormat.cpp
|
||||
plGeneric.cpp
|
||||
@ -74,6 +75,7 @@ set(CoreLib_HEADERS
|
||||
hsWide.h
|
||||
hsWindows.h
|
||||
pcSmallRect.h
|
||||
plCmdParser.h
|
||||
plFileSystem.h
|
||||
plFormat.h
|
||||
plGeneric.h
|
||||
|
@ -15,8 +15,6 @@ set(pnUtils_HEADERS
|
||||
pnUtSort.h
|
||||
pnUtStr.h
|
||||
pnUtTime.h
|
||||
|
||||
plCmdParser.h
|
||||
)
|
||||
|
||||
set(pnUtils_SOURCES
|
||||
@ -26,8 +24,6 @@ set(pnUtils_SOURCES
|
||||
pnUtList.cpp
|
||||
pnUtStr.cpp
|
||||
pnUtTime.cpp
|
||||
|
||||
plCmdParser.cpp
|
||||
)
|
||||
|
||||
add_library(pnUtils STATIC ${pnUtils_HEADERS} ${pnUtils_SOURCES})
|
||||
|
@ -4,6 +4,7 @@ include_directories(../../Plasma/CoreLib)
|
||||
|
||||
SET(CoreLibTest_SOURCES
|
||||
test_plString.cpp
|
||||
test_plCmdParser.cpp
|
||||
)
|
||||
|
||||
add_executable(test_CoreLib ${CoreLibTest_SOURCES})
|
||||
|
@ -42,7 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
#include <cstring>
|
||||
#include <gtest/gtest.h>
|
||||
#include "pnUtils/plCmdParser.h"
|
||||
#include "plCmdParser.h"
|
||||
|
||||
TEST(plCmdParser, basic_parsing)
|
||||
{
|
@ -1,2 +1 @@
|
||||
add_subdirectory(pnEncryptionTest)
|
||||
add_subdirectory(pnUtilsTest)
|
||||
|
@ -1,16 +0,0 @@
|
||||
include_directories(${GTEST_INCLUDE_DIR})
|
||||
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
|
||||
include_directories(../../../Plasma/CoreLib)
|
||||
include_directories(../../../Plasma/NucleusLib)
|
||||
|
||||
set(pnUtilsTest_SOURCES
|
||||
test_plCmdParser.cpp
|
||||
)
|
||||
|
||||
add_executable(test_pnUtils ${pnUtilsTest_SOURCES})
|
||||
target_link_libraries(test_pnUtils gtest gtest_main)
|
||||
target_link_libraries(test_pnUtils pnUtils)
|
||||
|
||||
add_test(NAME test_pnUtils COMMAND test_pnUtils)
|
||||
add_dependencies(check test_pnUtils)
|
||||
|
Reference in New Issue
Block a user