diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2016-08-19 08:06:17 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2016-08-19 08:06:17 +0200 |
commit | e4444b71b96c896690817a02cf66199183b68a19 (patch) | |
tree | 37d1fc4a80487edc1baec87911ba8c4aabc5f5de /examples | |
parent | a870407b91ef5a38c76bfb975fcc84f7225dd6d2 (diff) | |
download | kicad-utils-e4444b71b96c896690817a02cf66199183b68a19.tar.gz kicad-utils-e4444b71b96c896690817a02cf66199183b68a19.tar.bz2 kicad-utils-e4444b71b96c896690817a02cf66199183b68a19.tar.xz kicad-utils-e4444b71b96c896690817a02cf66199183b68a19.zip |
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.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
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) |