mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-23 15:11:01 -06:00
If an executable marks symbols with __declspec(dllexport) then VS creates an import library for it. However, it forgets to create the directory that will contain the import library if it is different from the location of the executable. We work around this VS bug by creating a pre-build event on the executable target to make the directory.