Skip to main content

file_paths

convert_paths_to_absolute(OUTPUT_LIST)

This function converts relative paths to absolute paths relative to ${CMAKE_CURRENT_SOURCE_DIR} It replicates the behaviour of target_sources() CMake Function

Parameters

NameTypeDescription
OUTPUT_LISTstringThe variable to store the output file list
ARGNpathlist of files to convert