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 2015/09/28 01:27:47 UTC
[08/20] mesos git commit: CMake: Added `Versions.cmake` as an analog
to `versions.am`.
CMake: Added `Versions.cmake` as an analog to `versions.am`.
As we prepare to add more third-party dependencies, it will be helpful
to have all the version information of our third-party dependencies in
one place, rather than scattered everywhere in the project.
This commit will introduce `Versions.cmake`, which will hold all this
information.
Review: https://reviews.apache.org/r/38541
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b610deba
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b610deba
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b610deba
Branch: refs/heads/master
Commit: b610deba0441b81acd77745b72540f257883fb7d
Parents: 8125f40
Author: Alex Clemmer <cl...@gmail.com>
Authored: Sun Sep 27 15:41:22 2015 -0700
Committer: Joris Van Remoortere <jo...@gmail.com>
Committed: Sun Sep 27 16:10:20 2015 -0700
----------------------------------------------------------------------
3rdparty/cmake/Versions.cmake | 8 ++++++++
CMakeLists.txt | 6 +++++-
2 files changed, 13 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/b610deba/3rdparty/cmake/Versions.cmake
----------------------------------------------------------------------
diff --git a/3rdparty/cmake/Versions.cmake b/3rdparty/cmake/Versions.cmake
new file mode 100644
index 0000000..b3b94f2
--- /dev/null
+++ b/3rdparty/cmake/Versions.cmake
@@ -0,0 +1,8 @@
+set(BOOST_VERSION "1.53.0")
+set(CURL_VERSION "7.43.0")
+set(GLOG_VERSION "0.3.3")
+set(GMOCK_VERSION "1.7.0")
+set(HTTP_PARSER_VERSION "1c3624a")
+set(LIBEV_VERSION "4.15")
+set(PICOJSON_VERSION "1.3.0")
+set(PROTOBUF_VERSION "2.5.0")
http://git-wip-us.apache.org/repos/asf/mesos/blob/b610deba/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8136acb..de02c2c 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -36,13 +36,17 @@ set(CMAKE_VERBOSE_MAKEFILE ${VERBOSE})
# CMAKE MODULE SETUP.
#####################
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
+list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/3rdparty/cmake)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/3rdparty/libprocess/cmake)
-list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/3rdparty/libprocess/cmake/macros)
+list(
+ APPEND
+ CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/3rdparty/libprocess/cmake/macros)
# Macros.
include(Common)
include(External)
include(PatchCommand)
+include(Versions)
include(VsBuildCommand)
# Configuration.