You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2017/09/03 12:52:00 UTC

[38/42] mesos git commit: CMake: Normalized trailing parentheses style (libprocess).

CMake: Normalized trailing parentheses style (libprocess).

This removes dangling parentheses from CMake files setting variables
or calling functions.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/21f7837d
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/21f7837d
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/21f7837d

Branch: refs/heads/master
Commit: 21f7837d1084520ff9b66de7f5203482376203cb
Parents: 8ef80cf
Author: Joseph Wu <jo...@apache.org>
Authored: Sun Sep 3 00:43:51 2017 -0700
Committer: Joseph Wu <jo...@apache.org>
Committed: Sun Sep 3 05:51:09 2017 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/src/CMakeLists.txt       | 39 +++++++++--------------
 3rdparty/libprocess/src/tests/CMakeLists.txt | 10 ++----
 2 files changed, 18 insertions(+), 31 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/21f7837d/3rdparty/libprocess/src/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/CMakeLists.txt b/3rdparty/libprocess/src/CMakeLists.txt
index 348398a..dae057b 100644
--- a/3rdparty/libprocess/src/CMakeLists.txt
+++ b/3rdparty/libprocess/src/CMakeLists.txt
@@ -24,21 +24,7 @@ endif ()
 
 # SOURCE FILES FOR THE PROCESS LIBRARY.
 #######################################
-
-if (WIN32)
-  set(PROCESS_SRC
-    ${PROCESS_SRC}
-    subprocess_windows.cpp
-    )
-else ()
-  set(PROCESS_SRC
-    ${PROCESS_SRC}
-    subprocess_posix.cpp
-    )
-endif ()
-
 set(PROCESS_SRC
-  ${PROCESS_SRC}
   authenticator_manager.cpp
   authenticator_manager.hpp
   authenticator.cpp
@@ -69,23 +55,30 @@ set(PROCESS_SRC
   socket.cpp
   subprocess.cpp
   time.cpp
-  timeseries.cpp
-  )
+  timeseries.cpp)
+
+if (WIN32)
+  set(PROCESS_SRC
+    ${PROCESS_SRC}
+    subprocess_windows.cpp)
+else ()
+  set(PROCESS_SRC
+    ${PROCESS_SRC}
+    subprocess_posix.cpp)
+endif ()
 
 if (ENABLE_LIBEVENT)
   set(PROCESS_SRC
     ${PROCESS_SRC}
     libevent.hpp
     libevent.cpp
-    libevent_poll.cpp
-    )
+    libevent_poll.cpp)
 else ()
   set(PROCESS_SRC
     ${PROCESS_SRC}
     libev.hpp
     libev.cpp
-    libev_poll.cpp
-    )
+    libev_poll.cpp)
 endif ()
 
 if (ENABLE_SSL)
@@ -94,14 +87,12 @@ if (ENABLE_SSL)
     jwt.cpp
     jwt_authenticator.cpp
     openssl.cpp
-    ssl/utilities.cpp
-    )
+    ssl/utilities.cpp)
 
   if (ENABLE_LIBEVENT)
     set(PROCESS_SRC
       ${PROCESS_SRC}
-      libevent_ssl_socket.cpp
-      )
+      libevent_ssl_socket.cpp)
   endif ()
 endif ()
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/21f7837d/3rdparty/libprocess/src/tests/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/tests/CMakeLists.txt b/3rdparty/libprocess/src/tests/CMakeLists.txt
index c96db50..28396bd 100644
--- a/3rdparty/libprocess/src/tests/CMakeLists.txt
+++ b/3rdparty/libprocess/src/tests/CMakeLists.txt
@@ -17,7 +17,6 @@
 # PROCESS TESTS.
 ################
 set(PROCESS_TESTS_SRC
-  ${PROCESS_TESTS_SRC}
   main.cpp
   after_tests.cpp
   collect_tests.cpp
@@ -40,23 +39,20 @@ set(PROCESS_TESTS_SRC
   subprocess_tests.cpp
   system_tests.cpp
   time_tests.cpp
-  timeseries_tests.cpp
-  )
+  timeseries_tests.cpp)
 
 if (NOT WIN32)
   set(PROCESS_TESTS_SRC
     ${PROCESS_TESTS_SRC}
     io_tests.cpp
-    reap_tests.cpp
-    )
+    reap_tests.cpp)
 endif ()
 
 if (ENABLE_SSL)
   set(PROCESS_TESTS_SRC
     ${PROCESS_TESTS_SRC}
     jwt_tests.cpp
-    ssl_tests.cpp
-    )
+    ssl_tests.cpp)
 endif ()
 
 add_library(process-interface INTERFACE)