ENH: get the build type specific location
Alex
This commit is contained in:
parent
2247aca9cf
commit
c0ad998619
@ -558,7 +558,8 @@ void cmExtraCodeBlocksGenerator::AppendTarget(cmGeneratedFileStream& fout,
|
||||
if (target!=0)
|
||||
{
|
||||
int cbTargetType = this->GetCBTargetType(target);
|
||||
fout<<" <Option output=\"" << target->GetLocation(0)
|
||||
const char* buildType = makefile->GetDefinition("CMAKE_BUILD_TYPE");
|
||||
fout<<" <Option output=\"" << target->GetLocation(buildType)
|
||||
<< "\" prefix_auto=\"0\" extension_auto=\"0\" />\n"
|
||||
" <Option working_dir=\""
|
||||
<< makefile->GetStartOutputDirectory() << "\" />\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user