commit | 27378fa34e616a4dc40d943fea358eb29d1dcd56 | [log] [tgz] |
---|---|---|
author | Nobuaki Sukegawa <nsuke@apache.org> | Thu Oct 29 00:41:39 2015 +0900 |
committer | Nobuaki Sukegawa <nsuke@apache.org> | Thu Oct 29 00:41:52 2015 +0900 |
tree | f6733b9b1b2c9faca7c5bbdc29c888ac37b60787 | |
parent | 6748993dcbd7e1b1a3cdce3b0cb3b80d24dd4a24 [diff] [blame] |
THRIFT-3398 Add CMake build for Haskell library and tests Client: Build, Haskell Patch: Nobuaki Sukegawa This closes #660
diff --git a/CMakeLists.txt b/CMakeLists.txt index 44f65af..f3005f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -100,4 +100,11 @@ endif() endif() +if(BUILD_HASKELL) + add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/lib/hs) + if(BUILD_TESTING) + add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/test/hs) + endif() +endif() + PRINT_CONFIG_SUMMARY()