Skip to content

Commit

Permalink
Added CMakeLists.txt. Fixed svfdumper for its new home.
Browse files Browse the repository at this point in the history
  • Loading branch information
awygle committed Mar 5, 2018
1 parent 3db7b4c commit adadf16
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
9 changes: 9 additions & 0 deletions jtagclient/CMakeLists.txt
@@ -0,0 +1,9 @@
# CMake build script for jtagclient.

set(JTAGCLIENT_SOURCES main.cpp)

add_executable(jtagclient
${JTAGCLIENT_SOURCES})
target_link_libraries(jtagclient jtaghal)
install(TARGETS jtagclient RUNTIME DESTINATION /usr/bin)

11 changes: 11 additions & 0 deletions jtagd/CMakeLists.txt
@@ -0,0 +1,11 @@
# CMake build script for jtagd.

set(JTAGD_SOURCES main.cpp ConnectionThread.cpp)

add_executable(jtagd
${JTAGD_SOURCES})
target_link_libraries(jtagd jtaghal)
target_include_directories(jtagd
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
install(TARGETS jtagd RUNTIME DESTINATION /usr/bin)

8 changes: 8 additions & 0 deletions svfdumper/CMakeLists.txt
@@ -0,0 +1,8 @@
# CMake build script for svfdumper.

set(SVFDUMPER_SOURCES main.cpp)

add_executable(svfdumper ${SVFDUMPER_SOURCES})
target_link_libraries(svfdumper jtaghal)
install(TARGETS svfdumper RUNTIME DESTINATION /usr/bin)

2 changes: 1 addition & 1 deletion svfdumper/main.cpp
Expand Up @@ -39,7 +39,7 @@
#include <string>
#include <list>

#include "../../../src/jtaghal/jtaghal.h"
#include "../../../lib/jtaghal/jtaghal.h"
#include <signal.h>

using namespace std;
Expand Down

0 comments on commit adadf16

Please sign in to comment.