mirror of
https://github.com/reactos/CMake.git
synced 2024-11-29 06:20:23 +00:00
ENH: use full source name for c code as well as c++
This commit is contained in:
parent
e7616c5b92
commit
72d683e0ee
@ -1457,7 +1457,10 @@ void cmUnixMakefileGenerator::OutputSourceObjectBuildRules(std::ostream& fout)
|
|||||||
{
|
{
|
||||||
compileCommand += "$(CMAKE_SHLIB_CFLAGS) ";
|
compileCommand += "$(CMAKE_SHLIB_CFLAGS) ";
|
||||||
}
|
}
|
||||||
compileCommand += "$(INCLUDE_FLAGS) -c $< -o $@";
|
compileCommand += "$(INCLUDE_FLAGS) -c ";
|
||||||
|
compileCommand += source->GetFullPath();
|
||||||
|
compileCommand +=+ " -o ";
|
||||||
|
compileCommand += objectFile;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user