aboutsummaryrefslogtreecommitdiff
path: root/examples/intel-quark-d2000
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2016-07-29 00:39:45 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2016-07-29 00:39:45 +0200
commitc307e9f234e544386fa3ae53083c7510668e1716 (patch)
treebfca2e97330c05cc5d40e3193b2a138eb6c5a963 /examples/intel-quark-d2000
parentf9c8c5da8de36b0f95bc92e37e15d299b434c03f (diff)
downloadkicad-utils-c307e9f234e544386fa3ae53083c7510668e1716.tar.gz
kicad-utils-c307e9f234e544386fa3ae53083c7510668e1716.tar.bz2
kicad-utils-c307e9f234e544386fa3ae53083c7510668e1716.tar.xz
kicad-utils-c307e9f234e544386fa3ae53083c7510668e1716.zip
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.
Diffstat (limited to 'examples/intel-quark-d2000')
-rw-r--r--examples/intel-quark-d2000/CMakeLists.txt4
-rw-r--r--examples/intel-quark-d2000/schematic.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/examples/intel-quark-d2000/CMakeLists.txt b/examples/intel-quark-d2000/CMakeLists.txt
index e139440..1822996 100644
--- a/examples/intel-quark-d2000/CMakeLists.txt
+++ b/examples/intel-quark-d2000/CMakeLists.txt
@@ -1,5 +1,5 @@
-kicad_gen(
- TARGET schematic.h
+kicad_generate_header(
+ OUTPUT schematic.h
NET schematic/intel-quark-d2000.net
REF U1
IN_SOURCE)
diff --git a/examples/intel-quark-d2000/schematic.h b/examples/intel-quark-d2000/schematic.h
index 62545f0..8bc46ae 100644
--- a/examples/intel-quark-d2000/schematic.h
+++ b/examples/intel-quark-d2000/schematic.h
@@ -48,5 +48,4 @@ qm_rc_t schematic_PUSH_BUTTON_direction(enum schematic_direction dir) {
return qm_gpio_set_config(QM_GPIO_0, &cfg);
}
-
#endif // SCHEMATIC_H