summaryrefslogtreecommitdiffstats
path: root/tools/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/CMakeLists.txt')
-rw-r--r--tools/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
new file mode 100644
index 0000000..70ec3b3
--- /dev/null
+++ b/tools/CMakeLists.txt
@@ -0,0 +1,8 @@
+include_directories (${CMAKE_SOURCE_DIR}/libusbmuxd)
+link_directories (${CMAKE_BINARY_DIR}/libusbmuxd)
+
+add_definitions(-Wall -O2 -g)
+add_executable(iproxy iproxy.c)
+target_link_libraries(iproxy libusbmuxd pthread)
+
+install(TARGETS iproxy RUNTIME DESTINATION bin) \ No newline at end of file