diff options
| author | 2009-08-20 01:19:09 +0200 | |
|---|---|---|
| committer | 2009-08-21 03:08:18 +0200 | |
| commit | c46062aca98f2f077b3bab5c5f72ff2cb57b9dc2 (patch) | |
| tree | 0934caaa277436a42c515c9ccc86acb004620c7a /usbmuxd/CMakeLists.txt | |
| parent | 886d4014509d64023ecf99b57d0fd39818e85bd4 (diff) | |
| download | usbmuxd-c46062aca98f2f077b3bab5c5f72ff2cb57b9dc2.tar.gz usbmuxd-c46062aca98f2f077b3bab5c5f72ff2cb57b9dc2.tar.bz2 | |
Updated usbmuxd protocol definition and public header.
[Hector] Merged by putting utils.c into a common dir,
avoiding log.c dependency for libusbmuxd, adding CMake
magic to tie things up.
Diffstat (limited to 'usbmuxd/CMakeLists.txt')
| -rw-r--r-- | usbmuxd/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usbmuxd/CMakeLists.txt b/usbmuxd/CMakeLists.txt index b982dc0..7d0d3d8 100644 --- a/usbmuxd/CMakeLists.txt +++ b/usbmuxd/CMakeLists.txt | |||
| @@ -2,8 +2,12 @@ find_package(USB REQUIRED) | |||
| 2 | include_directories(${USB_INCLUDE_DIRS}) | 2 | include_directories(${USB_INCLUDE_DIRS}) |
| 3 | set(LIBS ${LIBS} ${USB_LIBRARIES}) | 3 | set(LIBS ${LIBS} ${USB_LIBRARIES}) |
| 4 | 4 | ||
| 5 | add_definitions(-Wall -O2 -g) | 5 | include_directories (${CMAKE_SOURCE_DIR}/common) |
| 6 | add_executable(usbmuxd main.c usb-linux.c log.c utils.c device.c client.c) | 6 | include_directories (${CMAKE_SOURCE_DIR}/usbmuxd) |
| 7 | include_directories (${CMAKE_SOURCE_DIR}/libusbmuxd) | ||
| 8 | |||
| 9 | add_definitions(-Wall -O2 -g -DUSBMUXD_DAEMON) | ||
| 10 | add_executable(usbmuxd main.c usb-linux.c log.c ../common/utils.c device.c client.c) | ||
| 7 | target_link_libraries(usbmuxd ${LIBS}) | 11 | target_link_libraries(usbmuxd ${LIBS}) |
| 8 | 12 | ||
| 9 | install(TARGETS usbmuxd RUNTIME DESTINATION sbin) \ No newline at end of file | 13 | install(TARGETS usbmuxd RUNTIME DESTINATION sbin) \ No newline at end of file |
