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/library/dialect/CMakeLists.txt
Vitor Santos Costa e89bc55b9f cmake
2018-11-16 14:02:56 +00:00

19 lines
368 B
CMake

set (DIALECTS_PL
bprolog.yap
commons.yap
hprolog.yap
swi.yap
)
add_custom_target( dialects
DEPENDS visited
SOURCES ${DIALECTS_PL} )
add_custom_command (OUTPUT visited
COMMAND ${CMAKE_COMMAND} -E touch visited
DEPENDS ${DIALECTS_PL} ) # WORKING_DIRECTORY ${CMAKE_BINARY_DIR} )
install(FILES ${DIALECTS_PL}
DESTINATION ${YAP_INSTALL_DATADIR}/dialect
)