This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/pl/CMakeLists.txt

77 lines
1.2 KiB
CMake
Raw Normal View History

set(PL_SOURCES
absf.yap
arith.yap
arithpreds.yap
arrays.yap
attributes.yap
atoms.yap
boot.yap
callcount.yap
checker.yap
consult.yap
control.yap
corout.yap
debug.yap
dbload.yap
depth_bound.yap
dialect.yap
directives.yap
eam.yap
eval.yap
errors.yap
flags.yap
grammar.yap
ground.yap
hacks.yap
init.yap
listing.yap
lists.yap
load_foreign.yap
2016-01-03 02:06:09 +00:00
messages.yap
meta.yap
modules.yap
os.yap
preddecls.yap
2016-01-03 02:06:09 +00:00
preddyns.yap
preds.yap
profile.yap
protect.yap
qly.yap
save.yap
setof.yap
signals.yap
sort.yap
statistics.yap
strict_iso.yap
tabling.yap
threads.yap
udi.yap
undefined.yap
utils.yap
history.pl
swi.yap
yapor.yap
yio.yap
2015-10-22 12:00:27 +01:00
../os/chartypes.yap
../os/edio.yap
)
2015-06-19 01:30:13 +01:00
add_custom_target (${YAP_STARTUP} ALL SOURCES ${PL_SOURCES} ) # WORKING_DIRECTORY ${CMAKE_BINARY_DIR} )
# 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}
2015-06-19 01:30:13 +01:00
DEPENDS yap-bin ${PL_SOURCES}
USES_TERMINAL
)
install (FILES ${PL_SOURCES}
DESTINATION ${libpl}/boot
)
2015-06-19 01:30:13 +01:00
install (FILES ${CMAKE_TOP_BINARY_DIR}/${YAP_STARTUP}
DESTINATION ${dlls}
)