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

90 lines
1.2 KiB
CMake
Raw Normal View History

2016-08-30 14:29:40 +01:00
set(PL_SOURCES
2016-09-21 21:01:26 +01:00
absf.yap
arith.yap
arithpreds.yap
arrays.yap
atoms.yap
attributes.yap
boot.yap
bootlists.yap
callcount.yap
checker.yap
consult.yap
control.yap
corout.yap
dbload.yap
debug.yap
depth_bound.yap
dialect.yap
directives.yap
eam.yap
error.yap
errors.yap
2017-05-08 18:51:29 +01:00
2016-09-21 21:01:26 +01:00
eval.yap
flags.yap
grammar.yap
ground.yap
hacks.yap
init.yap
listing.yap
load_foreign.yap
messages.yap
meta.yap
modules.yap
newmod.yap
os.yap
pathconf.yap
preddecls.yap
preddyns.yap
preds.yap
profile.yap
protect.yap
qly.yap
save.yap
setof.yap
signals.yap
sort.yap
spy.yap
statistics.yap
strict_iso.yap
swi.yap
tabling.yap
threads.yap
udi.yap
undefined.yap
utils.yap
yapor.yap
yio.yap
)
2017-05-02 04:07:23 +01:00
add_to_group( pl_boot_library PL_SOURCES )
2017-05-08 18:51:29 +01:00
add_custom_target (STARTUP ALL SOURCES
DEPENDS ${CMAKE_BINARY_DIR}/startup.yss
)
2017-05-08 18:51:29 +01:00
if ( NOT CMAKE_CROSSCOMPILING )
# Create a startup.yss on the top directory.
add_custom_command (OUTPUT ${CMAKE_BINARY_DIR}/startup.yss
COMMAND yap-bin -B
VERBATIM
WORKING_DIRECTORY ${CMAKE_TOP_BINARY_DIR}
DEPENDS yap-bin ${PL_SOURCES}
)
2017-01-09 15:00:03 +00:00
endif ( NOT CMAKE_CROSSCOMPILING )
2015-06-19 01:30:13 +01:00
install (FILES ${CMAKE_TOP_BINARY_DIR}/${YAP_STARTUP}
DESTINATION ${dlls}
)
2016-04-05 08:03:19 +01:00
2016-07-31 16:43:31 +01:00
2016-04-05 08:03:19 +01:00
install (FILES ${PL_SOURCES}
DESTINATION ${libpl}/pl
)