diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..9e4345f --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,16 @@ +PROJECT(usbmuxd) + +cmake_minimum_required(VERSION 2.6) + +set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/Modules/") + +find_package(USB REQUIRED) +include_directories(${USB_INCLUDE_DIRS}) +set(LIBS ${LIBS} ${USB_LIBRARIES}) + +#set(CMAKE_VERBOSE_MAKEFILE ON) + +add_definitions(-Wall -O2) +add_executable(usbmuxd usbmuxd.c usb-linux.c) +target_link_libraries(usbmuxd ${LIBS}) + |