Skip to content

Releases: golxzn/filesystem

Release v1.6.0

23 Jul 06:03
09339c2
Compare
Choose a tag to compare

The main changes:

  • Linux implementation + tests;
  • Documentation deployment;

Release v1.4.0

19 Jul 14:50
Compare
Choose a tag to compare

golxzn::resman is a fully static library which requires C++20. To link it to your project, follow those steps:

1. Clone this repository:

git clone https://github.com/golxzn/resman.git

2. Add subdirectory:

add_subdirectory(resman)

target_link_libraries(YourProjectName PUBLIC golxzn::resman)

3. Include header & initialize:

#include <golxzn/resman.hpp>

class ColorTheme {
public:
	explicit YourClass(std::string &&data) ...
};

int main() {
	golxzn::resman::initialize("your_app_name");

	ThemeManager thememan;

	for (auto &&entry : golxzn::resman::entries("res://themes")) {
		thememan.emplace(entry, golxzn::resman::load_shared_text<ColorTheme>(entry));
	}
}