From 48d803911f629f5c7b0ea60cac897258b3602516 Mon Sep 17 00:00:00 2001 From: josch Date: Tue, 2 Dec 2014 07:36:00 +0100 Subject: [PATCH] CMakeLists.txt: break long lines --- CMakeLists.txt | 57 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 53 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 709436e..b1fd111 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,16 +10,65 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra -Werror") # the following is until we learn how to reorder the gcc arguments to correctly link on Ubuntu set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-as-needed") -add_library(mfapi SHARED mfapi/mfconn.c mfapi/file.c mfapi/folder.c mfapi/patch.c mfapi/apicalls/file_get_info.c mfapi/apicalls/user_get_info.c mfapi/apicalls/file_get_links.c mfapi/apicalls/user_session.c mfapi/apicalls/folder_get_info.c mfapi/apicalls/folder_create.c mfapi/apicalls/folder_get_content.c mfapi/apicalls/folder_delete.c mfapi/apicalls/device_get_status.c mfapi/apicalls/device_get_changes.c mfapi/apicalls/device_get_patch.c mfapi/apicalls/device_get_updates.c) +add_library(mfapi SHARED + mfapi/mfconn.c + mfapi/file.c + mfapi/folder.c + mfapi/patch.c + mfapi/apicalls/file_get_info.c + mfapi/apicalls/user_get_info.c + mfapi/apicalls/file_get_links.c + mfapi/apicalls/user_session.c + mfapi/apicalls/folder_get_info.c + mfapi/apicalls/folder_create.c + mfapi/apicalls/folder_get_content.c + mfapi/apicalls/folder_delete.c + mfapi/apicalls/device_get_status.c + mfapi/apicalls/device_get_changes.c + mfapi/apicalls/device_get_patch.c + mfapi/apicalls/device_get_updates.c) -add_library(mfutils SHARED utils/http.c utils/json.c utils/strings.c utils/stringv.c utils/xdelta3.c utils/hash.c) +add_library(mfutils SHARED + utils/http.c + utils/json.c + utils/strings.c + utils/stringv.c + utils/xdelta3.c + utils/hash.c) -add_executable(mediafire-shell mfshell/main.c mfshell/mfshell.c mfshell/commands/folder.c mfshell/commands/auth.c mfshell/commands/chdir.c mfshell/commands/debug.c mfshell/commands/file.c mfshell/commands/get.c mfshell/commands/help.c mfshell/commands/host.c mfshell/commands/lcd.c mfshell/commands/links.c mfshell/commands/list.c mfshell/commands/lpwd.c mfshell/commands/mkdir.c mfshell/commands/pwd.c mfshell/commands/whoami.c mfshell/commands/rmdir.c mfshell/commands/status.c mfshell/commands/changes.c mfshell/config.c mfshell/options.c mfshell/commands/updates.c) +add_executable(mediafire-shell + mfshell/main.c + mfshell/mfshell.c + mfshell/commands/folder.c + mfshell/commands/auth.c + mfshell/commands/chdir.c + mfshell/commands/debug.c + mfshell/commands/file.c + mfshell/commands/get.c + mfshell/commands/help.c + mfshell/commands/host.c + mfshell/commands/lcd.c + mfshell/commands/links.c + mfshell/commands/list.c + mfshell/commands/lpwd.c + mfshell/commands/mkdir.c + mfshell/commands/pwd.c + mfshell/commands/whoami.c + mfshell/commands/rmdir.c + mfshell/commands/status.c + mfshell/commands/changes.c + mfshell/config.c + mfshell/options.c + mfshell/commands/updates.c) target_link_libraries(mediafire-shell curl ssl crypto jansson mfapi mfutils) enable_testing() -add_executable(mediafire-fuse fuse/main.c fuse/hashtbl.c fuse/filecache.c fuse/operations.c) +add_executable(mediafire-fuse + fuse/main.c + fuse/hashtbl.c + fuse/filecache.c + fuse/operations.c) set_target_properties(mediafire-fuse PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64") target_link_libraries(mediafire-fuse curl ssl fuse jansson mfapi mfutils)