[cmake-developers] The Borland compiler dashboard errors

David Cole david.cole at kitware.com
Thu Jun 14 13:43:15 EDT 2012


I've got a fix locally in the ninja normal target generator:

  std::string flags = (targetType == cmTarget::EXECUTABLE
                               ? vars["FLAGS"]
                               : vars["ARCH_FLAGS"]);
  locGtor->AddArchitectureFlags(flags,
                             this->GetTarget(),
                             this->TargetLinkLanguage,
                             this->GetConfigName());
  if (targetType == cmTarget::EXECUTABLE) {
    vars["FLAGS"] = flags;
  } else {
    vars["ARCH_FLAGS"] = flags;
  }

That should fix the Borland compilers.

OK with you if I push it on top of the stage/ninja-cldeps branch? Or do you
already have something similar planned?


Thanks,
David C.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120614/f65a9979/attachment.html>


More information about the cmake-developers mailing list