2015-07-17 23:14:43 +00:00
|
|
|
add_executable(SystemExtension
|
|
|
|
SystemExtension.c
|
|
|
|
SystemExtension.r
|
|
|
|
ShowInitIcon.c
|
|
|
|
ShowInitIcon.h)
|
|
|
|
|
|
|
|
set_target_properties(SystemExtension PROPERTIES OUTPUT_NAME SystemExtension.flt)
|
|
|
|
|
|
|
|
add_custom_command(
|
2015-07-18 21:58:41 +00:00
|
|
|
OUTPUT SystemExtension.bin SystemExtension.dsk
|
2015-07-20 19:38:01 +00:00
|
|
|
COMMAND ${REZ} -I ${REZ_INCLUDE_PATH}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/SystemExtension.r
|
2015-07-17 23:14:43 +00:00
|
|
|
--copy ${CMAKE_CURRENT_SOURCE_DIR}/Icons.rsrc.bin
|
2015-07-18 21:58:41 +00:00
|
|
|
-o SystemExtension.bin
|
|
|
|
-t INIT
|
|
|
|
COMMAND ${REZ} --copy SystemExtension.bin
|
2015-07-17 23:14:43 +00:00
|
|
|
-o SystemExtension.dsk
|
|
|
|
-t INIT
|
2015-07-18 21:58:41 +00:00
|
|
|
COMMAND ${REZ} --copy SystemExtension.bin
|
|
|
|
-o SystemExtension
|
|
|
|
-t INIT
|
2015-07-17 23:14:43 +00:00
|
|
|
DEPENDS SystemExtension SystemExtension.r Icons.rsrc.bin)
|
2015-07-18 21:58:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2015-07-17 23:14:43 +00:00
|
|
|
add_custom_target(SystemExtension_INIT ALL DEPENDS SystemExtension.dsk)
|