cmake.utils/file_paths¶
- cmake.utils/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:
OUTPUT_LIST (string) – The variable to store the output file list
ARGN (path) – list of files to convert