3 ms·
Cool. I wish CMake included an option to use a custom preprocessor like this.
by ncake 4y ago
Cool. I wish CMake included an option to use a custom preprocessor like this.
- Matheus28 4y agoIt isn't CMake's job to do this. Just have it pass a flag to your compiler to use a custom pre-processor (--no-integrated-cpp -B<path>). Should work... hopefully. Might also have to pipe through the preprocessor again since OP's most likely won't be processing #includes and such