Refinement of tech management and MAG reading

- The MAG reader now has access to the details of the proposed
  technology (set in KLayout), specifically inside library paths
  ($(tech_name), $(tech_dir)). This allows setting the MAG reader
  path relative to the technology path.
- If no specific technology is set before MAG files are read and
  the technology listed there is found in KLayout, KLayout will
  attach the layout to this technology.
This commit is contained in:
Matthias Koefferlein
2019-12-01 18:19:55 +01:00
parent baffb940d1
commit 904bbf15a1
3 changed files with 39 additions and 7 deletions
+3
View File
@@ -226,6 +226,9 @@ LayoutHandle::set_tech_name (const std::string &tn)
} else {
m_tech_name = std::string ();
}
if (mp_layout) {
mp_layout->add_meta_info (db::MetaInfo ("technology", tl::to_string (tr ("Technology name")), tn));
}
technology_changed_event ();
}
}