Browse Source

Build plPageInfo app.

Darryl Pogue 13 years ago
parent
commit
c1f5d5102d
  1. 1
      Sources/Plasma/Apps/CMakeLists.txt
  2. 18
      Sources/Plasma/Apps/plPageInfo/CMakeLists.txt
  3. 21
      Sources/Plasma/Apps/plPageInfo/plAllCreatables.cpp
  4. 23
      Sources/Plasma/Apps/plPageInfo/plPageInfo.cpp

1
Sources/Plasma/Apps/CMakeLists.txt

@ -5,3 +5,4 @@ add_subdirectory(plUruLauncher)
add_subdirectory(plFileSecure) add_subdirectory(plFileSecure)
add_subdirectory(plFileEncrypt) add_subdirectory(plFileEncrypt)
add_subdirectory(plLogDecrypt) add_subdirectory(plLogDecrypt)
add_subdirectory(plPageInfo)

18
Sources/Plasma/Apps/plPageInfo/CMakeLists.txt

@ -0,0 +1,18 @@
include_directories("../../Apps")
include_directories("../../CoreLib")
include_directories("../../FeatureLib/inc")
include_directories("../../FeatureLib")
include_directories("../../NucleusLib/inc")
include_directories("../../NucleusLib")
include_directories("../../PubUtilLib/inc")
include_directories("../../PubUtilLib")
set(plPageInfo_SOURCES
plAllCreatables.cpp
plPageInfo.cpp
)
add_executable(plPageInfo ${plPageInfo_SOURCES})
target_link_libraries(plPageInfo CoreLib CoreLibExe pnProduct plResMgr plAudioCore)
source_group("Source Files" FILES ${plPageInfo_SOURCES})

21
Sources/Plasma/Apps/plPageInfo/plAllCreatables.cpp

@ -41,7 +41,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/ *==LICENSE==*/
#include "hsTypes.h" #include "hsTypes.h"
#include "../pnFactory/plCreator.h" #include "pnFactory/plCreator.h"
#include "plAudible.h" #include "plAudible.h"
REGISTER_NONCREATABLE( plAudible ); REGISTER_NONCREATABLE( plAudible );
@ -55,16 +55,17 @@ REGISTER_NONCREATABLE( plPhysical );
#include "plgDispatch.h" #include "plgDispatch.h"
REGISTER_NONCREATABLE( plDispatchBase ); REGISTER_NONCREATABLE( plDispatchBase );
#include "../pnDispatch/pnDispatchCreatable.h" #include "pnDispatch/pnDispatchCreatable.h"
#include "../pnKeyedObject/pnKeyedObjectCreatable.h" #include "pnKeyedObject/pnKeyedObjectCreatable.h"
#include "../pnMessage/pnMessageCreatable.h" #include "pnMessage/pnMessageCreatable.h"
#include "../pnModifier/pnModifierCreatable.h" #include "pnModifier/pnModifierCreatable.h"
#include "../pnNetCommon/pnNetCommonCreatable.h" #include "pnNetCommon/pnNetCommonCreatable.h"
#include "../pnTimer/pnTimerCreatable.h" #include "pnTimer/pnTimerCreatable.h"
#include "pnUUID/pnUUIDCreatable.h"
#include "../plResMgr/plResMgrCreatable.h" #include "plResMgr/plResMgrCreatable.h"
#include "../plMessage/plResMgrHelperMsg.h" #include "plMessage/plResMgrHelperMsg.h"
REGISTER_CREATABLE(plResMgrHelperMsg); REGISTER_CREATABLE(plResMgrHelperMsg);
#include "../plAudioCore/plAudioCoreCreatable.h" #include "plAudioCore/plAudioCoreCreatable.h"

23
Sources/Plasma/Apps/plPageInfo/plPageInfo.cpp

@ -41,21 +41,20 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
*==LICENSE==*/ *==LICENSE==*/
#include "hsUtils.h" #include "hsUtils.h"
#include "hsTimer.h" #include "hsTimer.h"
#include "../plFile/hsFiles.h" #include "plFile/hsFiles.h"
#include "../plFile/plFileUtils.h" #include "plFile/plFileUtils.h"
#include "../plResMgr/plResManager.h" #include "plResMgr/plResManager.h"
#include "../plResMgr/plResMgrSettings.h" #include "plResMgr/plResMgrSettings.h"
#include "../plAgeDescription/plAgeManifest.h" #include "plAgeDescription/plAgeManifest.h"
#include "../plResMgr/plRegistryHelpers.h" #include "plResMgr/plRegistryHelpers.h"
#include "../plResMgr/plRegistryNode.h" #include "plResMgr/plRegistryNode.h"
#include "../plAudioCore/plSoundBuffer.h" #include "plAudioCore/plSoundBuffer.h"
#include "hsStream.h" #include "hsStream.h"
#include "../pnUtils/pnUtils.h" #include "pnProduct/pnProduct.h"
#include "../pnProduct/pnProduct.h"
//// Globals ///////////////////////////////////////////////////////////////// //// Globals /////////////////////////////////////////////////////////////////
@ -70,7 +69,7 @@ void PrintVersion()
{ {
wchar productString[256]; wchar productString[256];
ProductString(productString, arrsize(productString)); ProductString(productString, arrsize(productString));
_putws(productString); printf("%S\n\n", productString);
} }
//// PrintHelp /////////////////////////////////////////////////////////////// //// PrintHelp ///////////////////////////////////////////////////////////////
@ -267,4 +266,4 @@ bool DumpStats(const char* patchDir)
plStatDumpIterator statDump(patchDir); plStatDumpIterator statDump(patchDir);
gResMgr->IterateAllPages(&statDump); gResMgr->IterateAllPages(&statDump);
return true; return true;
} }

Loading…
Cancel
Save