1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-22 18:15:25 +01:00

Revert "dont compile examples"

This reverts commit d681054a1d.
This commit is contained in:
Tom Collins
2020-06-24 18:21:34 -07:00
parent ce7e4f0f4a
commit 804eebf180

View File

@@ -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)