If someone is interessted in this solution:
set(FilenameUsedFiles ${CMAKE_BINARY_DIR}/UsedFiles.lst)
file(WRITE ${FilenameUsedFiles} "")
function (parseArguments)
set(options)
set(oneValueArgs)
set(multiValueArgs)
cmake_parse_arguments(CFG "${options}""${oneValueArgs}"
"${mult
Hello,
is there a proper solution to get all used source files for all defined
librarys and executables?
My first idea was to overload the main functions such as add_executable() and
add_library() temporarily in the main CMakeLists.txt and write a text file or
whatever, but I thought there wer