Knitschi / CPFCMake

A component of the CMakeProjectFramework. It provides the CMake code that implements a CI-pipeline.
MIT License
2 stars 2 forks source link

VersionRcFile creation does not work when using Ninja and MSVC #63

Closed Knitschi closed 3 years ago

Knitschi commented 3 years ago

The cpfAddVersionRcPreBuildEvent() function uses PRE_BUILD events which only is done before the compilation when using the Visual Studio Generator. We need to add an extra helper target for that.

Knitschi commented 3 years ago

I replaced the pre-build event with an extra custom target.