mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
ENH: make sure custom commands depend on full path files only: Bill as Andy
This commit is contained in:
parent
a6abb79776
commit
fac61306a2
@ -834,8 +834,14 @@ cmGlobalXCodeGenerator::AddCommandsToBuildPhase(cmXCodeObject* buildphase,
|
|||||||
if(!this->FindTarget(m_CurrentProject.c_str(),
|
if(!this->FindTarget(m_CurrentProject.c_str(),
|
||||||
d->c_str()))
|
d->c_str()))
|
||||||
{
|
{
|
||||||
makefileStream << "\\\n" << this
|
// if the depend is not a target but
|
||||||
->ConvertToRelativeForMake(d->c_str());
|
// is a full path then use it, if not then
|
||||||
|
// just skip it
|
||||||
|
if(cmSystemTools::FileIsFullPath(d->c_str()))
|
||||||
|
{
|
||||||
|
makefileStream << "\\\n" << this
|
||||||
|
->ConvertToRelativeForMake(d->c_str());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user