Complete Command Line Used By The Compiler?

In order to incorporate a CRC into my microcontroller application, I am required to execute the linker twice. Currently, I have implemented all the necessary build procedures and CRC calculations from the generated files. However, I am facing difficulties in finding a way to execute the linker a second time, including the CRC. Previously, when using Makefile scripts, I would copy the Makefile, modify it accordingly, and execute the modified file as a post-compile step. Is there a means to retrieve the exact command line used by cmake to execute the linker?

Hey Bertram,
Try utilizing the _LINKER_LAUNCHER as a script that internally performs the double linking process with the provided arguments.