mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-24 07:31:32 +00:00
26 lines
710 B
CMake
26 lines
710 B
CMake
add_executable(SystemExtension
|
|
SystemExtension.c
|
|
SystemExtension.r
|
|
ShowInitIcon.c
|
|
ShowInitIcon.h)
|
|
|
|
set_target_properties(SystemExtension PROPERTIES OUTPUT_NAME SystemExtension.flt)
|
|
|
|
add_custom_command(
|
|
OUTPUT SystemExtension.bin SystemExtension.dsk
|
|
COMMAND ${REZ} ${CMAKE_CURRENT_SOURCE_DIR}/SystemExtension.r
|
|
--copy ${CMAKE_CURRENT_SOURCE_DIR}/Icons.rsrc.bin
|
|
-o SystemExtension.bin
|
|
-t INIT
|
|
COMMAND ${REZ} --copy SystemExtension.bin
|
|
-o SystemExtension.dsk
|
|
-t INIT
|
|
COMMAND ${REZ} --copy SystemExtension.bin
|
|
-o SystemExtension
|
|
-t INIT
|
|
DEPENDS SystemExtension SystemExtension.r Icons.rsrc.bin)
|
|
|
|
|
|
|
|
add_custom_target(SystemExtension_INIT ALL DEPENDS SystemExtension.dsk)
|