What’s the idiomatic way to compile the same file twice, with different compile definitions?
This answer offers to declare different properties on two different targets but I’m building an old library which needs to compile the same file with two different compile definitions. How to can it with CMake?
What’s the idiomatic way to compile the same file twice, with different compile definitions?
This answer offers to declare different properties on two different targets but I’m building an old library which needs to compile the same file with two different compile definitions. How to can it with CMake?
“Unhandled exception: Unhandled Promise rejection: build Error: Build failed: Unable to configure the project” Error on VSCode
So I’m trying to use CMake with the presets.json and keep getting this error above. I’ve installed CMake and everything.