Rename resgen executable to avoid conflict with mono-devel
authorTimo Röhling <roehling@debian.org>
Wed, 26 Jan 2022 12:31:12 +0000 (13:31 +0100)
committerTimo Röhling <roehling@debian.org>
Sat, 12 Nov 2022 12:20:14 +0000 (12:20 +0000)
Gbp-Pq: Name 0010-Rename-resgen-executable-to-avoid-conflict-with-mono.patch

tools/resgen/CMakeLists.txt
tools/resgen/src/main.cpp

index 701931c66cecac630c13a70625cd5f1b732206cd..25721fd98cbbf0dc28b43904fba8fd6ee181aa64 100644 (file)
@@ -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
index 8cae171de37f38a53ce9291ffc5e5bd1503f0ed1..e126b344ff4a60f7026e8e9ce8a4f5852cb179e5 100644 (file)
@@ -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] <input_file_0> <input_file_1> ...
+    filament-resgen [options] <input_file_0> <input_file_1> ...
 
 Options:
    --help, -h