TDME2 1.9.121
Classes | Namespaces | Macros | Functions
createinstaller-main.cpp File Reference
#include <cassert>
#include <fstream>
#include <string>
#include <vector>
#include <ext/zlib/zlib.h>
#include <tdme/tdme.h>
#include <tdme/application/Application.h>
#include <tdme/engine/Version.h>
#include <tdme/os/filesystem/ArchiveFileSystem.h>
#include <tdme/os/filesystem/FileNameFilter.h>
#include <tdme/os/filesystem/FileSystem.h>
#include <tdme/os/filesystem/FileSystemInterface.h>
#include <tdme/utilities/Console.h>
#include <tdme/utilities/Exception.h>
#include <tdme/utilities/Properties.h>
#include <tdme/utilities/StringTokenizer.h>
#include <tdme/utilities/StringTools.h>
#include <tdme/utilities/Time.h>
Include dependency graph for createinstaller-main.cpp:

Go to the source code of this file.

Classes

struct  FileInformation
 

Namespaces

namespace  tdme
 
namespace  tdme::tools
 
namespace  tdme::tools::cli
 
namespace  tdme::tools::cli::installer
 

Macros

#define CHUNK   16384
 

Functions

static void scanPathResources (const string &path, vector< string > &totalFiles)
 
static void scanPathLibraries (const string &path, vector< string > &totalFiles)
 
static void scanPathHeaders (const string &path, vector< string > &totalFiles)
 
static void scanPathExecutables (const string &path, vector< string > &totalFiles)
 
void processFile (const string &fileName, vector< FileInformation > &fileInformations, const string &archiveFileName, bool executableFile, const string &basePath, const string &executablePath=string())
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ CHUNK

#define CHUNK   16384

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 475 of file createinstaller-main.cpp.

◆ processFile()

void processFile ( const string &  fileName,
vector< FileInformation > &  fileInformations,
const string &  archiveFileName,
bool  executableFile,
const string &  basePath,
const string &  executablePath = string() 
)

Definition at line 311 of file createinstaller-main.cpp.

◆ scanPathExecutables()

static void scanPathExecutables ( const string &  path,
vector< string > &  totalFiles 
)
static

Definition at line 241 of file createinstaller-main.cpp.

◆ scanPathHeaders()

static void scanPathHeaders ( const string &  path,
vector< string > &  totalFiles 
)
static

Definition at line 201 of file createinstaller-main.cpp.

◆ scanPathLibraries()

static void scanPathLibraries ( const string &  path,
vector< string > &  totalFiles 
)
static

Definition at line 144 of file createinstaller-main.cpp.

◆ scanPathResources()

static void scanPathResources ( const string &  path,
vector< string > &  totalFiles 
)
static

Definition at line 59 of file createinstaller-main.cpp.