blob: 94a6339e942323410dbf0e8325ec15c265914153 [file] [log] [blame]
# ------------------------------------------------------------------------------
# MADlib configuration files (these are configuration files used by the
# installer). End users are not supposed to make modifications.
# ------------------------------------------------------------------------------
# -- 1. Copy all *.yml files ---------------------------------------------------
file(GLOB_RECURSE CONFIG_FILES
RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}"
"*.yml"
)
add_files(CONFIG_TARGET_FILES . "${CMAKE_CURRENT_BINARY_DIR}" ${CONFIG_FILES})
add_custom_target(configFiles ALL DEPENDS ${CONFIG_TARGET_FILES})
# -- 2. Install config files to $MADLIB_ROOT/config ----------------------------
install(FILES ${CONFIG_TARGET_FILES}
DESTINATION config
COMPONENT core
)