mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 11:19:10 +00:00
Replace pnProduct with a (very) thin CoreLib plProduct wrapper around CMake-defined product ID values
This commit is contained in:
@ -12,7 +12,7 @@ set(plFileSecure_SOURCES
|
||||
)
|
||||
|
||||
add_executable(plFileSecure ${plFileSecure_SOURCES})
|
||||
target_link_libraries(plFileSecure CoreLib pnProduct plFile)
|
||||
target_link_libraries(plFileSecure CoreLib plFile)
|
||||
|
||||
if(USE_VLD)
|
||||
target_link_libraries(plFileSecure ${VLD_LIBRARY})
|
||||
|
@ -42,16 +42,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "plFile/hsFiles.h"
|
||||
#include "plFile/plFileUtils.h"
|
||||
#include "plFile/plSecureStream.h"
|
||||
#include "pnProduct/pnProduct.h"
|
||||
#include "plProduct.h"
|
||||
|
||||
|
||||
#include <time.h>
|
||||
#include <string>
|
||||
|
||||
void print_version() {
|
||||
wchar_t productString[256];
|
||||
ProductString(productString, arrsize(productString));
|
||||
printf("%S\n\n", productString);
|
||||
printf("%s\n\n", plProduct::ProductString().c_str());
|
||||
}
|
||||
|
||||
void print_help() {
|
||||
|
Reference in New Issue
Block a user