mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-29 12:50:35 +00:00
INTERFACE_O should be a cached CMake variable
This commit is contained in:
parent
dad26c5f3a
commit
853031fa31
@ -25,6 +25,8 @@ cmake_minimum_required(VERSION 2.8)
|
|||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES Retro68)
|
if(CMAKE_SYSTEM_NAME MATCHES Retro68)
|
||||||
find_program(CONVERT_OBJ ConvertObj PATH "${CMAKE_INSTALL_PREFIX}/../bin/")
|
find_program(CONVERT_OBJ ConvertObj PATH "${CMAKE_INSTALL_PREFIX}/../bin/")
|
||||||
|
|
||||||
|
set(INTERFACE_O InterfaceO_NOTFOUND CACHE STRING "path to MPW Interface.o file")
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/Interface.s
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/Interface.s
|
||||||
COMMAND ${CONVERT_OBJ} ${INTERFACE_O} > ${CMAKE_CURRENT_BINARY_DIR}/Interface.s
|
COMMAND ${CONVERT_OBJ} ${INTERFACE_O} > ${CMAKE_CURRENT_BINARY_DIR}/Interface.s
|
||||||
|
Loading…
Reference in New Issue
Block a user