Repository: thrift
Updated Branches:
  refs/heads/master 7daf00ceb -> 211b82de1


THRIFT-2850 CMake for Apache Thrift

Change project name to "Apache Thrift" and add test/py


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

Branch: refs/heads/master
Commit: 211b82de11c3c5bb83f669a95373b3ea6601d666
Parents: 7daf00c
Author: Roger Meier <[email protected]>
Authored: Thu Jun 4 12:47:31 2015 +0200
Committer: Roger Meier <[email protected]>
Committed: Thu Jun 4 12:47:31 2015 +0200

----------------------------------------------------------------------
 CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/211b82de/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index afdd746..4db182e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,7 @@
 
 cmake_minimum_required(VERSION 2.8.12)
 
-project(thrift)
+project("Apache Thrift")
 
 set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" 
"${CMAKE_CURRENT_SOURCE_DIR}/build/cmake")
 
@@ -92,6 +92,9 @@ endif()
 
 if(BUILD_PYTHON)
     add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/lib/py)
+    if(BUILD_TESTING)
+        add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/test/py)
+    endif()
 endif()
 
 PRINT_CONFIG_SUMMARY()

Reply via email to