mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
BUG: Create an exe's implib output dir for VS 6
VS 6 forgets to create the output directory for an executable's import library in case the exe dllexport-s symbols. We work around this VS bug by creating a pre-link event on the executable target to make the directory.
This commit is contained in:
parent
5129c23cba
commit
962bbbec95
@ -845,6 +845,12 @@ cmLocalVisualStudio6Generator::CreateTargetRules(cmTarget &target,
|
|||||||
event.Start("PreLink");
|
event.Start("PreLink");
|
||||||
event.Write(target.GetPreBuildCommands());
|
event.Write(target.GetPreBuildCommands());
|
||||||
event.Write(target.GetPreLinkCommands());
|
event.Write(target.GetPreLinkCommands());
|
||||||
|
cmsys::auto_ptr<cmCustomCommand> pcc(
|
||||||
|
this->MaybeCreateImplibDir(target, configName));
|
||||||
|
if(pcc.get())
|
||||||
|
{
|
||||||
|
event.Write(*pcc);
|
||||||
|
}
|
||||||
event.Finish();
|
event.Finish();
|
||||||
|
|
||||||
// Write the post-build rules.
|
// Write the post-build rules.
|
||||||
|
Loading…
Reference in New Issue
Block a user