Hi slymz-9073,
I found a similar issue: https://stackoverflow.com/questions/11383314/how-to-configure-cmake-target-or-command-to-preprocess-c-file, hope it could help you.
And since cmake is beyond our support, we suggest you could redirect to stack overflow with cmake tag, and the community members will provide dedicated support for you.
Best Regards,
Dylan
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our **documentation to enable e-mail notifications if you want to receive the related email notification for this thread.**