From 804eebf180c41eb671bc3fdf500194acba6b1e94 Mon Sep 17 00:00:00 2001 From: Tom Collins Date: Wed, 24 Jun 2020 18:21:34 -0700 Subject: [PATCH] Revert "dont compile examples" This reverts commit d681054a1d9ffada4228523ecb45da8487c28f8a. --- CMakeLists.txt | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 09fcc54..81661fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -252,18 +252,18 @@ if(PINPROC_BUILD_TOOLS) # Create a target for the test tool #TODO: use add_subdirectory() and separate CMakeLists.txt (like yaml-cpp) # see http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:add_subdirectory -#add_executable(pinproctest -# examples/pinproctest/pinproctest.cpp -# examples/pinproctest/drivers.cpp -# examples/pinproctest/dmd.cpp -# examples/pinproctest/switches.cpp -# examples/pinproctest/alphanumeric.cpp -#) -#target_link_libraries(pinproctest -# pinproc -# optimized ${YAML_CPP_LIB} -# debug ${YAML_CPP_LIB_DBG} -#) +add_executable(pinproctest + examples/pinproctest/pinproctest.cpp + examples/pinproctest/drivers.cpp + examples/pinproctest/dmd.cpp + examples/pinproctest/switches.cpp + examples/pinproctest/alphanumeric.cpp +) +target_link_libraries(pinproctest + pinproc + optimized ${YAML_CPP_LIB} + debug ${YAML_CPP_LIB_DBG} +) # Create a target for the firmware tool #TODO: use add_subdirectory() and separate CMakeLists.txt (like yaml-cpp)