From d0bd9a78ba7160da3336fc0cf7d2a7d82cd6b929 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timo=20R=C3=B6hling?= Date: Wed, 26 Jan 2022 13:31:12 +0100 Subject: [PATCH] Rename resgen executable to avoid conflict with mono-devel Gbp-Pq: Name 0010-Rename-resgen-executable-to-avoid-conflict-with-mono.patch --- tools/resgen/CMakeLists.txt | 1 + tools/resgen/src/main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/resgen/CMakeLists.txt b/tools/resgen/CMakeLists.txt index 701931c..25721fd 100644 --- a/tools/resgen/CMakeLists.txt +++ b/tools/resgen/CMakeLists.txt @@ -13,6 +13,7 @@ set(SRCS src/main.cpp) # ================================================================================================== add_executable(${TARGET} ${SRCS}) target_link_libraries(${TARGET} PRIVATE utils getopt) +set_target_properties(${TARGET} PROPERTIES OUTPUT_NAME filament-${TARGET}) # ================================================================================================= # Licenses diff --git a/tools/resgen/src/main.cpp b/tools/resgen/src/main.cpp index 8cae171..e126b34 100644 --- a/tools/resgen/src/main.cpp +++ b/tools/resgen/src/main.cpp @@ -41,7 +41,7 @@ static bool g_quietMode = false; static bool g_embedJson = false; static const char* USAGE = R"TXT( -RESGEN aggregates a sequence of binary blobs, each of which becomes a "resource" whose id +filament-resgen aggregates a sequence of binary blobs, each of which becomes a "resource" whose id is the basename of the input file. It produces the following set of files: resources.h ......... declares sizes and offsets for each resource @@ -50,7 +50,7 @@ is the basename of the input file. It produces the following set of files: resources.bin ....... the aggregated binary blob that the incbin refers to Usage: - RESGEN [options] ... + filament-resgen [options] ... Options: --help, -h -- 2.30.2