mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-04-28 05:01:39 +00:00
Make building elf a target
This commit is contained in:
parent
72cdf12bf8
commit
0e561e3c0c
1 changed files with 2 additions and 1 deletions
|
|
@ -74,9 +74,10 @@ target_sources(PatchesLib PRIVATE
|
|||
set_source_files_properties(${CMAKE_SOURCE_DIR}/RecompiledPatches/patches.c PROPERTIES COMPILE_FLAGS -fno-strict-aliasing)
|
||||
|
||||
# Build patches elf
|
||||
add_custom_command(OUTPUT ${CMAKE_SOURCE_DIR}/patches/patches.bin
|
||||
add_custom_target(PatchesBin
|
||||
COMMAND make
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/patches
|
||||
BYPRODUCTS ${CMAKE_SOURCE_DIR}/patches/patches.bin
|
||||
)
|
||||
|
||||
# Generate patches_bin.c from patches.bin
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue