diff options
author | Hector Martin | 2010-01-23 22:55:53 +0100 |
---|---|---|
committer | Hector Martin | 2010-01-24 00:19:34 +0100 |
commit | 54ffb743aca10dbc0eef567bcc06ee84b4261f9b (patch) | |
tree | d5bd8690b2891bdb4221966f253476e6ccf212c1 | |
parent | 7ad89bbc51be40403f9a5fd80c4ecad706a204ab (diff) | |
download | usbmuxd-54ffb743aca10dbc0eef567bcc06ee84b4261f9b.tar.gz usbmuxd-54ffb743aca10dbc0eef567bcc06ee84b4261f9b.tar.bz2 |
Use -Wall globally
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | daemon/CMakeLists.txt | 3 | ||||
-rw-r--r-- | tools/CMakeLists.txt | 4 |
3 files changed, 6 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a5e8f1c..01dda18 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,8 @@ ENDIF(NOT DEFINED LIB_SUFFIX) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/Modules/") +add_definitions(-Wall) + add_subdirectory (libusbmuxd) add_subdirectory (daemon) add_subdirectory (tools) diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt index 52e33bc..1ba052c 100644 --- a/daemon/CMakeLists.txt +++ b/daemon/CMakeLists.txt @@ -6,7 +6,8 @@ include_directories (${CMAKE_SOURCE_DIR}/common) include_directories (${CMAKE_SOURCE_DIR}/daemon) include_directories (${CMAKE_SOURCE_DIR}/libusbmuxd) -add_definitions(-Wall -O2 -g -DUSBMUXD_DAEMON -DUSBMUXD_VERSION="${USBMUXD_VERSION}") +add_definitions(-O2 -g) +add_definitions(-DUSBMUXD_DAEMON -DUSBMUXD_VERSION="${USBMUXD_VERSION}") add_executable(usbmuxd main.c usb-linux.c log.c ../common/utils.c device.c client.c) target_link_libraries(usbmuxd ${LIBS}) diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 70ec3b3..47ffa90 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -1,8 +1,8 @@ include_directories (${CMAKE_SOURCE_DIR}/libusbmuxd) link_directories (${CMAKE_BINARY_DIR}/libusbmuxd) -add_definitions(-Wall -O2 -g) +add_definitions(-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 +install(TARGETS iproxy RUNTIME DESTINATION bin) |