diff --git a/Sources/Plasma/Apps/CMakeLists.txt b/Sources/Plasma/Apps/CMakeLists.txt index ede23503..a2e648d3 100644 --- a/Sources/Plasma/Apps/CMakeLists.txt +++ b/Sources/Plasma/Apps/CMakeLists.txt @@ -5,3 +5,4 @@ add_subdirectory(plUruLauncher) add_subdirectory(plFileSecure) add_subdirectory(plFileEncrypt) add_subdirectory(plLogDecrypt) +add_subdirectory(plPageInfo) diff --git a/Sources/Plasma/Apps/plPageInfo/CMakeLists.txt b/Sources/Plasma/Apps/plPageInfo/CMakeLists.txt new file mode 100644 index 00000000..8fe28883 --- /dev/null +++ b/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}) diff --git a/Sources/Plasma/Apps/plPageInfo/plAllCreatables.cpp b/Sources/Plasma/Apps/plPageInfo/plAllCreatables.cpp index 2fccd6a2..c814d1a0 100644 --- a/Sources/Plasma/Apps/plPageInfo/plAllCreatables.cpp +++ b/Sources/Plasma/Apps/plPageInfo/plAllCreatables.cpp @@ -41,7 +41,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "hsTypes.h" -#include "../pnFactory/plCreator.h" +#include "pnFactory/plCreator.h" #include "plAudible.h" REGISTER_NONCREATABLE( plAudible ); @@ -55,16 +55,17 @@ REGISTER_NONCREATABLE( plPhysical ); #include "plgDispatch.h" REGISTER_NONCREATABLE( plDispatchBase ); -#include "../pnDispatch/pnDispatchCreatable.h" -#include "../pnKeyedObject/pnKeyedObjectCreatable.h" -#include "../pnMessage/pnMessageCreatable.h" -#include "../pnModifier/pnModifierCreatable.h" -#include "../pnNetCommon/pnNetCommonCreatable.h" -#include "../pnTimer/pnTimerCreatable.h" +#include "pnDispatch/pnDispatchCreatable.h" +#include "pnKeyedObject/pnKeyedObjectCreatable.h" +#include "pnMessage/pnMessageCreatable.h" +#include "pnModifier/pnModifierCreatable.h" +#include "pnNetCommon/pnNetCommonCreatable.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); -#include "../plAudioCore/plAudioCoreCreatable.h" +#include "plAudioCore/plAudioCoreCreatable.h" diff --git a/Sources/Plasma/Apps/plPageInfo/plPageInfo.cpp b/Sources/Plasma/Apps/plPageInfo/plPageInfo.cpp index eef6865d..77ea680f 100644 --- a/Sources/Plasma/Apps/plPageInfo/plPageInfo.cpp +++ b/Sources/Plasma/Apps/plPageInfo/plPageInfo.cpp @@ -41,21 +41,20 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com *==LICENSE==*/ #include "hsUtils.h" #include "hsTimer.h" -#include "../plFile/hsFiles.h" -#include "../plFile/plFileUtils.h" -#include "../plResMgr/plResManager.h" -#include "../plResMgr/plResMgrSettings.h" +#include "plFile/hsFiles.h" +#include "plFile/plFileUtils.h" +#include "plResMgr/plResManager.h" +#include "plResMgr/plResMgrSettings.h" -#include "../plAgeDescription/plAgeManifest.h" +#include "plAgeDescription/plAgeManifest.h" -#include "../plResMgr/plRegistryHelpers.h" -#include "../plResMgr/plRegistryNode.h" +#include "plResMgr/plRegistryHelpers.h" +#include "plResMgr/plRegistryNode.h" -#include "../plAudioCore/plSoundBuffer.h" +#include "plAudioCore/plSoundBuffer.h" #include "hsStream.h" -#include "../pnUtils/pnUtils.h" -#include "../pnProduct/pnProduct.h" +#include "pnProduct/pnProduct.h" //// Globals ///////////////////////////////////////////////////////////////// @@ -70,7 +69,7 @@ void PrintVersion() { wchar productString[256]; ProductString(productString, arrsize(productString)); - _putws(productString); + printf("%S\n\n", productString); } //// PrintHelp /////////////////////////////////////////////////////////////// @@ -267,4 +266,4 @@ bool DumpStats(const char* patchDir) plStatDumpIterator statDump(patchDir); gResMgr->IterateAllPages(&statDump); return true; -} \ No newline at end of file +}