Disable CMake support for building process lib and tests on Windows.

We're in the process of adding Windows support for all these
libraries.

This commit will temporarily disable CMake from attempting to compile
these projects on Windows. Once we add support in the code, we will
enable them in the CMake build system as well. This is part of our
transition towards a CMake that incrementally builds up Windows
support.

Review: https://reviews.apache.org/r/36966


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

Branch: refs/heads/master
Commit: fce63566ead95f820ba1052270caf7fa943aefc8
Parents: 001a69a
Author: Alex Clemmer <[email protected]>
Authored: Sat Aug 1 15:10:38 2015 -0700
Committer: Benjamin Hindman <[email protected]>
Committed: Sat Aug 1 15:10:38 2015 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/CMakeLists.txt | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/fce63566/3rdparty/libprocess/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/CMakeLists.txt 
b/3rdparty/libprocess/CMakeLists.txt
index 6bc5a68..5633c39 100755
--- a/3rdparty/libprocess/CMakeLists.txt
+++ b/3rdparty/libprocess/CMakeLists.txt
@@ -21,8 +21,14 @@ add_subdirectory(3rdparty)
 
 # BUILD THE PROCESS LIBRARY.
 ############################
-add_subdirectory(src)
+if (NOT WIN32)
+  # TODO(hausdorff): add support for building the process library properly.
+  add_subdirectory(src)
+endif (NOT WIN32)
 
 # PROCESS TESTING INFRASTRUCTURE.
 #################################
-add_subdirectory(src/tests)
\ No newline at end of file
+if (NOT WIN32)
+  # TODO(hausdorff): add support for building the process lib tests properly.
+  add_subdirectory(src/tests)
+endif (NOT WIN32)
\ No newline at end of file

Reply via email to