arreglos en make i cmake per estandaritzar amb la resta de projectes

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-17 12:59:31 +02:00
parent 52369be7ae
commit 9d86137203
5 changed files with 199 additions and 30 deletions

View File

@@ -15,9 +15,9 @@ void showHelp() {
std::cout << " --list List contents of an existing pack file\n\n";
std::cout << "Arguments:\n";
std::cout << " input_dir Directory to pack (default: data)\n";
std::cout << " output_file Pack file name (default: resource.pack)\n\n";
std::cout << " output_file Pack file name (default: resources.pack)\n\n";
std::cout << "Examples:\n";
std::cout << " pack_resources # Pack 'data' to 'resource.pack'\n";
std::cout << " pack_resources # Pack 'data' to 'resources.pack'\n";
std::cout << " pack_resources mydata mypack.pack # Pack 'mydata' to 'mypack.pack'\n";
std::cout << " pack_resources --list my.pack # List contents of 'my.pack'\n";
}
@@ -38,7 +38,7 @@ void listPackContents(const std::string& pack_file) {
int main(int argc, char* argv[]) {
std::string data_dir = "data";
std::string output_file = "resource.pack";
std::string output_file = "resources.pack";
bool list_mode = false;
bool data_dir_set = false;