1. LibrecadLibreCAD is a cross-platform 2D CAD program written in C++11 using the Qt framework. It can read DXF and DWG files and can write DXF, PDF and SVG files. The user interface is highly customizable, and has dozens of translations.
2. Librecad 3LibreCAD 3 is a next generation 2D CAD application written to be modular, with a core independent from GUI toolkits. Scripting is possible with Lua.
3. LibdxfrwCopy of https://sourceforge.net/projects/libdxfrw/ with a additional cmake file