From e4444b71b96c896690817a02cf66199183b68a19 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 19 Aug 2016 08:06:17 +0200 Subject: o Adding complete documentation for the kicad_generate_header goal. kicad_generate_header: Append the global variable `KICAD_GEN_TEMPLATE_LIBS` to the template search list. o Adding back the examples. --- examples/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 2cb3286..daa2b4d 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -8,7 +8,11 @@ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) if (NOT KicadUtils_FOUND) message(FATAL_ERROR "The KicadUtils CMake package was not found. Did you pass the correct value for KicadUtils_DIR?\nIt should probably be something like KicadUtils_DIR=$HOME/opt/kicad-utils/lib/cmake/KicadUtils") endif () +else () + include(../cmake/kicad_generate_header.cmake) + list(APPEND KICAD_GEN_TEMPLATE_LIBS ${CMAKE_CURRENT_SOURCE_DIR}/../templates) + set(kicad_generate_header_cmd generate-header) endif () -#add_subdirectory(arduino-led) -#add_subdirectory(intel-quark-d2000) +add_subdirectory(arduino-led) +add_subdirectory(intel-quark-d2000) -- cgit v1.2.3