Skip to content

crea7or/resources-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Resources compiler can be used to compile binary files into an executable with easy access from code

use this to generate resources:

resources_compiler --sources=file1,file2 --output=full/path/to/file_without_extension

without supplying --sources param, an empty resources holder classes will be generated note: spaces are not allowed in paths nor between the tags nor the equal signs!

use this to access resources from code:

#include "full/path/to/file_without_extension.h"

...

const resources::manager resources;
const auto resource_file = resources.get("file1");
if (nullptr != resource_file.data()) {
	// resource exist
} else {
	// no such resource
}

MIT License Copyright (c) 2021 pavel.sokolov@gmail.com / CEZEO software Ltd.. All rights reserved.

About

Resources compiler can be used to compile binary files into executable with easy access from code

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors