mirror of
https://github.com/reactos/CMake.git
synced 2024-12-03 17:11:04 +00:00
ENH: fix java for ide builds again
This commit is contained in:
parent
1e608c912c
commit
8fa5ed7300
@ -458,6 +458,7 @@ void cmLocalGenerator::AddCustomCommandToCreateObject(const char* ofname,
|
||||
cmTarget& )
|
||||
{
|
||||
std::string objectDir = cmSystemTools::GetFilenamePath(std::string(ofname));
|
||||
objectDir = this->Convert(objectDir.c_str(),START_OUTPUT,SHELL);
|
||||
std::string objectFile = this->Convert(ofname,START_OUTPUT,SHELL);
|
||||
std::string sourceFile =
|
||||
this->Convert(source.GetFullPath().c_str(),START_OUTPUT,SHELL,true);
|
||||
@ -570,10 +571,7 @@ void cmLocalGenerator::AddBuildTargetRule(const char* llang, cmTarget& target)
|
||||
cmLocalGenerator::RuleVariables vars;
|
||||
vars.Language = llang;
|
||||
vars.Objects = objs.c_str();
|
||||
std::string objdir = "CMakeFiles/";
|
||||
objdir += targetName;
|
||||
objdir += ".dir";
|
||||
vars.ObjectDir = objdir.c_str();
|
||||
vars.ObjectDir = ".";
|
||||
vars.Target = targetName.c_str();
|
||||
vars.LinkLibraries = linkLibs.c_str();
|
||||
vars.Flags = flags.c_str();
|
||||
|
Loading…
Reference in New Issue
Block a user