Don't generate romdisks on PC

This commit is contained in:
Luke Benstead 2021-04-08 22:16:23 +01:00
parent 79bbfbf704
commit 6efb90f28c

View File

@ -73,6 +73,7 @@ function(gen_sample sample)
add_executable(${sample} ${SAMPLE_SRCS}) add_executable(${sample} ${SAMPLE_SRCS})
if(PLATFORM_DREAMCAST)
if(EXISTS "${CMAKE_SOURCE_DIR}/samples/${sample}/romdisk") if(EXISTS "${CMAKE_SOURCE_DIR}/samples/${sample}/romdisk")
message("Generating romdisk for sample: ${sample}") message("Generating romdisk for sample: ${sample}")
add_custom_command( add_custom_command(
@ -94,6 +95,7 @@ function(gen_sample sample)
else() else()
message("No such romdisk for sample: ${sample} at 'samples/${sample}/romdisk'") message("No such romdisk for sample: ${sample} at 'samples/${sample}/romdisk'")
endif() endif()
endif()
endfunction() endfunction()
gen_sample(blend_test samples/blend_test/main.c) gen_sample(blend_test samples/blend_test/main.c)