This commit is contained in:
Vítor Santos Costa 2016-03-05 12:40:59 +00:00
parent 59b1aa9129
commit 0f4448fdbe
1 changed files with 1 additions and 2 deletions

View File

@ -57,13 +57,12 @@ set(PL_SOURCES
add_custom_target (${YAP_STARTUP} ALL SOURCES ${PL_SOURCES} ) # WORKING_DIRECTORY ${CMAKE_BINARY_DIR} )
# create a startup.yss on the top directory.
# Create a startup.yss on the top directory.
add_custom_command (TARGET ${YAP_STARTUP}
COMMAND yap-bin -b ${CMAKE_SOURCE_DIR}/pl/boot.yap -L ${CMAKE_SOURCE_DIR}/pl/init.yap -z qend_program
VERBATIM
WORKING_DIRECTORY ${CMAKE_TOP_BINARY_DIR}
DEPENDS yap-bin ${PL_SOURCES}
USES_TERMINAL
)
install (FILES ${PL_SOURCES}