Don't generate romdisks on PC
This commit is contained in:
parent
79bbfbf704
commit
6efb90f28c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user