From 677fa91e376b98d871bb238ecb84685dd4f33ebd Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Sun, 26 Apr 2009 20:33:29 +0200 Subject: Hello, world! --- CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') 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}) + -- cgit v1.1-32-gdbae