From: Jerry Jacobs Date: Fri, 11 Mar 2016 21:13:09 +0000 (+0100) Subject: Add st-info to CMakeLists.txt X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=61b41b03aaafc9ca11c076127ce2c19b323ba914;p=fw%2Fstlink Add st-info to CMakeLists.txt --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 2358898..6f5be17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,7 +38,10 @@ add_executable(st-util gdbserver/gdb-remote.c gdbserver/gdb-server.h) target_link_libraries(st-util stlink) -install(TARGETS stlink st-flash st-util +add_executable(st-info src/st-info.c) +target_link_libraries(st-info stlink) + +install(TARGETS stlink st-flash st-util st-info RUNTIME DESTINATION bin ARCHIVE DESTINATION lib)