From c307e9f234e544386fa3ae53083c7510668e1716 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 29 Jul 2016 00:39:45 +0200 Subject: o Renaming cmake function from kicad_gen to kicad_generate_header, more to the point. o Renaming binary from kicad_gen to generate-header too. Should probably be kicad-utils-generate-header or somesuch later. o Moving the cmake code used by the examples into its own file, should be part of the installation target later on. --- examples/arduino-led/CMakeLists.txt | 4 ++-- examples/arduino-led/schematic.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'examples/arduino-led') diff --git a/examples/arduino-led/CMakeLists.txt b/examples/arduino-led/CMakeLists.txt index 7bd82af..06ef920 100644 --- a/examples/arduino-led/CMakeLists.txt +++ b/examples/arduino-led/CMakeLists.txt @@ -1,5 +1,5 @@ -kicad_gen( - TARGET schematic.h +kicad_generate_header( + OUTPUT schematic.h NET schematic/arduino-led.net REF U1 IN_SOURCE) diff --git a/examples/arduino-led/schematic.h b/examples/arduino-led/schematic.h index f41a300..c935528 100644 --- a/examples/arduino-led/schematic.h +++ b/examples/arduino-led/schematic.h @@ -11,5 +11,4 @@ namespace schematic { static const int STATUS_LED = 3; static const int ANALOG_LIGHT_1 = 2; } // namespace schematic - #endif // SCHEMATIC_H -- cgit v1.2.3