diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-23 14:30:12 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-23 14:30:12 +0300 |
commit | 3b31ab31eb52578693acee07fdcf84fbeff72707 (patch) | |
tree | 954933c8f2db93aebe855a9a2d3baed3ae48a8a8 /Embed.cmake | |
parent | 863adf9118ae98a42bbbbd556087a437aba62329 (diff) |
Cleanup: Use ".binary" for binary files
Diffstat (limited to 'Embed.cmake')
-rw-r--r-- | Embed.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Embed.cmake b/Embed.cmake index ce2c5ff8..242002f0 100644 --- a/Embed.cmake +++ b/Embed.cmake | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | option (EMBED_IN_EXECUTABLE "Embed resources inside the executable" OFF) | 5 | option (EMBED_IN_EXECUTABLE "Embed resources inside the executable" OFF) |
6 | # Note: If disabled, the Unix "cat" tool is required for concatenating | 6 | # Note: If disabled, the Unix "cat" tool is required for concatenating |
7 | # the resources into a single "resources.bin" file. | 7 | # the resources into a single "resources.binary" file. |
8 | 8 | ||
9 | function (embed_getname output fn) | 9 | function (embed_getname output fn) |
10 | get_filename_component (name ${fn} NAME_WE) | 10 | get_filename_component (name ${fn} NAME_WE) |
@@ -78,7 +78,7 @@ function (embed_make) | |||
78 | endforeach (fn) | 78 | endforeach (fn) |
79 | else () | 79 | else () |
80 | # Collect resources in a single binary file. | 80 | # Collect resources in a single binary file. |
81 | set (EMB_BIN ${CMAKE_CURRENT_BINARY_DIR}/resources.bin) | 81 | set (EMB_BIN ${CMAKE_CURRENT_BINARY_DIR}/resources.binary) |
82 | file (REMOVE ${EMB_BIN}) | 82 | file (REMOVE ${EMB_BIN}) |
83 | execute_process (COMMAND cat ${ARGV} OUTPUT_FILE ${EMB_BIN} | 83 | execute_process (COMMAND cat ${ARGV} OUTPUT_FILE ${EMB_BIN} |
84 | WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) | 84 | WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) |