mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-30 12:30:33 +00:00
another attempt at fixing dependencies
This commit is contained in:
parent
7d8b6140d6
commit
f16edcfbef
@ -30,6 +30,15 @@ add_executable(SystemExtension
|
|||||||
SystemExtension.r
|
SystemExtension.r
|
||||||
ShowInitIcon.h)
|
ShowInitIcon.h)
|
||||||
|
|
||||||
|
if(TARGET retrocrt)
|
||||||
|
# Hack: if we are building as part of the Retro68 source tree,
|
||||||
|
# make sure the run-time library is already compiled
|
||||||
|
# (not needed for standalone projects)
|
||||||
|
add_dependencies(SystemExtension retrocrt)
|
||||||
|
endif(TARGET retrocrt)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
set_target_properties(SystemExtension PROPERTIES
|
set_target_properties(SystemExtension PROPERTIES
|
||||||
OUTPUT_NAME SystemExtension.flt
|
OUTPUT_NAME SystemExtension.flt
|
||||||
|
|
||||||
|
@ -29,6 +29,15 @@
|
|||||||
# First, let's build a separate code resource:
|
# First, let's build a separate code resource:
|
||||||
add_executable(WDEF wdef.c)
|
add_executable(WDEF wdef.c)
|
||||||
|
|
||||||
|
|
||||||
|
if(TARGET retrocrt)
|
||||||
|
# Hack: if we are building as part of the Retro68 source tree,
|
||||||
|
# make sure the run-time library is already compiled
|
||||||
|
# (not needed for standalone projects)
|
||||||
|
add_dependencies(WDEF retrocrt)
|
||||||
|
endif(TARGET retrocrt)
|
||||||
|
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES Retro68)
|
if(CMAKE_SYSTEM_NAME MATCHES Retro68)
|
||||||
set_target_properties(WDEF PROPERTIES
|
set_target_properties(WDEF PROPERTIES
|
||||||
# tell wdef.c that it is being compiled as a code resource
|
# tell wdef.c that it is being compiled as a code resource
|
||||||
|
@ -78,7 +78,7 @@ function(add_application name)
|
|||||||
|
|
||||||
|
|
||||||
if(TARGET retrocrt)
|
if(TARGET retrocrt)
|
||||||
target_link_libraries(${name} retrocrt)
|
add_dependencies(${name} retrocrt)
|
||||||
endif(TARGET retrocrt)
|
endif(TARGET retrocrt)
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES Retro68)
|
if(CMAKE_SYSTEM_NAME MATCHES Retro68)
|
||||||
|
Loading…
Reference in New Issue
Block a user