mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2024-11-25 09:25:01 +00:00
1506beecbc
ADDED: Add support in Pcbnew for exporting ODB++ files under Fabrication Outputs, base on ODB++Design Format Specification (Release v8.1 Update 3 February 2021). Note: There is still a lot of work to do if we will make the feature as complete as the ODB++ spec. However, the current functionality's completeness is already sufficient to cover general production scenarios. I have compared the output results with Gerber files by DFM tool and the accuracy at the graphic level should be able to cover most usage scenarios. Additionally, I am very grateful to the great open-source project Horizon EDA for giving me a lot of inspiration in terms of ideas. The feature can be enabled by adding "EnableODB=1" to the kicad_advanced configuration file. Fixes https://gitlab.com/kicad/code/kicad/-/issues/2019
39 lines
1.2 KiB
CMake
39 lines
1.2 KiB
CMake
# This program source code file is part of KiCad, a free EDA CAD application.
|
|
#
|
|
# Copyright (C) 2024 KiCad Developers, see AUTHORS.TXT for contributors.
|
|
# Author: SYSUEric <jzzhuang666@gmail.com>.
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published by the
|
|
# Free Software Foundation, either version 3 of the License, or (at your
|
|
# option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful, but
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License along
|
|
# with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# Sources for the pcbnew pcb_io called ODB++
|
|
|
|
include_directories( ${CMAKE_CURRENT_SOURCE_DIR} )
|
|
|
|
|
|
set( ODBPP_SRCS
|
|
odb_util.cpp
|
|
odb_attribute.cpp
|
|
odb_feature.cpp
|
|
odb_component.cpp
|
|
odb_netlist.cpp
|
|
odb_eda_data.cpp
|
|
odb_fonts.cpp
|
|
odb_entity.cpp
|
|
pcb_io_odbpp.cpp
|
|
)
|
|
|
|
add_library( odbpp STATIC ${ODBPP_SRCS} )
|
|
|
|
target_link_libraries( odbpp pcbcommon )
|