Removed redundant third party libraries shared by both Quickstep and TMB.
Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/a5454337 Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/a5454337 Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/a5454337 Branch: refs/heads/tmb-3rd-party Commit: a54543371e680aac07c3134c220f361654a8d2ff Parents: 942dc69 Author: Zuyu Zhang <zu...@apache.org> Authored: Tue Mar 7 13:41:11 2017 -0800 Committer: Zuyu Zhang <zu...@apache.org> Committed: Tue Mar 7 13:41:11 2017 -0800 ---------------------------------------------------------------------- third_party/src/tmb/CMakeLists.txt | 22 +- .../src/tmb/third_party/gflags/.gitattributes | 3 - .../src/tmb/third_party/gflags/.gitignore | 14 - .../src/tmb/third_party/gflags/AUTHORS.txt | 2 - .../src/tmb/third_party/gflags/CMakeLists.txt | 506 - .../src/tmb/third_party/gflags/COPYING.txt | 28 - .../src/tmb/third_party/gflags/ChangeLog.txt | 218 - .../src/tmb/third_party/gflags/INSTALL.md | 54 - .../src/tmb/third_party/gflags/README.md | 263 - .../third_party/gflags/cmake/README_runtime.txt | 4 - .../third_party/gflags/cmake/config.cmake.in | 23 - .../third_party/gflags/cmake/execute_test.cmake | 53 - .../third_party/gflags/cmake/package.cmake.in | 49 - .../tmb/third_party/gflags/cmake/utils.cmake | 96 - .../third_party/gflags/cmake/version.cmake.in | 21 - .../tmb/third_party/gflags/doc/designstyle.css | 115 - .../src/tmb/third_party/gflags/doc/index.html | 558 - .../src/tmb/third_party/gflags/src/config.h.in | 112 - .../src/tmb/third_party/gflags/src/gflags.cc | 1957 -- .../src/tmb/third_party/gflags/src/gflags.h.in | 572 - .../gflags/src/gflags_completions.cc | 769 - .../gflags/src/gflags_completions.h.in | 121 - .../gflags/src/gflags_completions.sh | 117 - .../third_party/gflags/src/gflags_declare.h.in | 141 - .../tmb/third_party/gflags/src/gflags_ns.h.in | 101 - .../third_party/gflags/src/gflags_reporting.cc | 441 - .../src/tmb/third_party/gflags/src/mutex.h | 351 - .../src/tmb/third_party/gflags/src/util.h | 373 - .../tmb/third_party/gflags/src/windows_port.cc | 71 - .../tmb/third_party/gflags/src/windows_port.h | 127 - .../tmb/third_party/gflags/test/CMakeLists.txt | 185 - .../gflags/test/config_for_unittests.h | 79 - .../src/tmb/third_party/gflags/test/flagfile.1 | 1 - .../src/tmb/third_party/gflags/test/flagfile.2 | 2 - .../src/tmb/third_party/gflags/test/flagfile.3 | 1 - .../gflags/test/gflags_declare_flags.cc | 9 - .../gflags/test/gflags_declare_test.cc | 12 - .../tmb/third_party/gflags/test/gflags_nc.py.in | 33 - .../gflags/test/gflags_strip_flags_test.cc | 61 - .../gflags/test/gflags_strip_flags_test.cmake | 7 - .../third_party/gflags/test/gflags_unittest.cc | 1536 -- .../gflags/test/gflags_unittest_flagfile | 2 - .../third_party/gflags/test/nc/CMakeLists.txt | 16 - .../tmb/third_party/gflags/test/nc/gflags_nc.cc | 73 - third_party/src/tmb/third_party/gtest/CHANGES | 157 - .../src/tmb/third_party/gtest/CMakeLists.txt | 252 - .../src/tmb/third_party/gtest/CONTRIBUTORS | 37 - third_party/src/tmb/third_party/gtest/LICENSE | 28 - .../src/tmb/third_party/gtest/Makefile.am | 306 - third_party/src/tmb/third_party/gtest/README | 435 - .../src/tmb/third_party/gtest/aclocal.m4 | 1198 - .../third_party/gtest/build-aux/config.guess | 1530 -- .../tmb/third_party/gtest/build-aux/config.h.in | 69 - .../tmb/third_party/gtest/build-aux/config.sub | 1773 -- .../src/tmb/third_party/gtest/build-aux/depcomp | 688 - .../tmb/third_party/gtest/build-aux/install-sh | 527 - .../tmb/third_party/gtest/build-aux/ltmain.sh | 9661 -------- .../src/tmb/third_party/gtest/build-aux/missing | 331 - .../gtest/cmake/internal_utils.cmake | 227 - .../tmb/third_party/gtest/codegear/gtest.cbproj | 138 - .../third_party/gtest/codegear/gtest.groupproj | 54 - .../tmb/third_party/gtest/codegear/gtest_all.cc | 38 - .../third_party/gtest/codegear/gtest_link.cc | 40 - .../gtest/codegear/gtest_main.cbproj | 82 - .../gtest/codegear/gtest_unittest.cbproj | 88 - third_party/src/tmb/third_party/gtest/configure | 18222 --------------- .../src/tmb/third_party/gtest/configure.ac | 68 - .../gtest/fused-src/gtest/gtest-all.cc | 9592 -------- .../third_party/gtest/fused-src/gtest/gtest.h | 20061 ----------------- .../gtest/fused-src/gtest/gtest_main.cc | 38 - .../gtest/include/gtest/gtest-death-test.h | 294 - .../gtest/include/gtest/gtest-message.h | 250 - .../gtest/include/gtest/gtest-param-test.h | 1421 -- .../gtest/include/gtest/gtest-param-test.h.pump | 487 - .../gtest/include/gtest/gtest-printers.h | 855 - .../third_party/gtest/include/gtest/gtest-spi.h | 232 - .../gtest/include/gtest/gtest-test-part.h | 179 - .../gtest/include/gtest/gtest-typed-test.h | 259 - .../tmb/third_party/gtest/include/gtest/gtest.h | 2291 -- .../gtest/include/gtest/gtest_pred_impl.h | 358 - .../gtest/include/gtest/gtest_prod.h | 58 - .../gtest/internal/gtest-death-test-internal.h | 319 - .../include/gtest/internal/gtest-filepath.h | 206 - .../include/gtest/internal/gtest-internal.h | 1158 - .../include/gtest/internal/gtest-linked_ptr.h | 233 - .../gtest/internal/gtest-param-util-generated.h | 5143 ----- .../internal/gtest-param-util-generated.h.pump | 301 - .../include/gtest/internal/gtest-param-util.h | 619 - .../gtest/include/gtest/internal/gtest-port.h | 1947 -- .../gtest/include/gtest/internal/gtest-string.h | 167 - .../gtest/include/gtest/internal/gtest-tuple.h | 1012 - .../include/gtest/internal/gtest-tuple.h.pump | 339 - .../include/gtest/internal/gtest-type-util.h | 3331 --- .../gtest/internal/gtest-type-util.h.pump | 297 - .../src/tmb/third_party/gtest/m4/acx_pthread.m4 | 363 - .../src/tmb/third_party/gtest/m4/gtest.m4 | 74 - .../src/tmb/third_party/gtest/m4/libtool.m4 | 8001 ------- .../src/tmb/third_party/gtest/m4/ltoptions.m4 | 384 - .../src/tmb/third_party/gtest/m4/ltsugar.m4 | 123 - .../src/tmb/third_party/gtest/m4/ltversion.m4 | 23 - .../src/tmb/third_party/gtest/m4/lt~obsolete.m4 | 98 - .../src/tmb/third_party/gtest/make/Makefile | 82 - .../src/tmb/third_party/gtest/msvc/gtest-md.sln | 45 - .../tmb/third_party/gtest/msvc/gtest-md.vcproj | 126 - .../src/tmb/third_party/gtest/msvc/gtest.sln | 45 - .../src/tmb/third_party/gtest/msvc/gtest.vcproj | 126 - .../third_party/gtest/msvc/gtest_main-md.vcproj | 129 - .../third_party/gtest/msvc/gtest_main.vcproj | 129 - .../gtest/msvc/gtest_prod_test-md.vcproj | 164 - .../gtest/msvc/gtest_prod_test.vcproj | 164 - .../gtest/msvc/gtest_unittest-md.vcproj | 147 - .../gtest/msvc/gtest_unittest.vcproj | 147 - .../third_party/gtest/samples/prime_tables.h | 123 - .../tmb/third_party/gtest/samples/sample1.cc | 68 - .../src/tmb/third_party/gtest/samples/sample1.h | 43 - .../gtest/samples/sample10_unittest.cc | 144 - .../gtest/samples/sample1_unittest.cc | 153 - .../tmb/third_party/gtest/samples/sample2.cc | 56 - .../src/tmb/third_party/gtest/samples/sample2.h | 85 - .../gtest/samples/sample2_unittest.cc | 109 - .../tmb/third_party/gtest/samples/sample3-inl.h | 172 - .../gtest/samples/sample3_unittest.cc | 151 - .../tmb/third_party/gtest/samples/sample4.cc | 46 - .../src/tmb/third_party/gtest/samples/sample4.h | 53 - .../gtest/samples/sample4_unittest.cc | 45 - .../gtest/samples/sample5_unittest.cc | 199 - .../gtest/samples/sample6_unittest.cc | 224 - .../gtest/samples/sample7_unittest.cc | 130 - .../gtest/samples/sample8_unittest.cc | 173 - .../gtest/samples/sample9_unittest.cc | 160 - .../gtest/scripts/fuse_gtest_files.py | 250 - .../gtest/scripts/gen_gtest_pred_impl.py | 730 - .../third_party/gtest/scripts/gtest-config.in | 274 - .../src/tmb/third_party/gtest/scripts/pump.py | 855 - .../tmb/third_party/gtest/scripts/test/Makefile | 59 - .../src/tmb/third_party/gtest/src/gtest-all.cc | 48 - .../third_party/gtest/src/gtest-death-test.cc | 1344 -- .../tmb/third_party/gtest/src/gtest-filepath.cc | 382 - .../third_party/gtest/src/gtest-internal-inl.h | 1218 - .../src/tmb/third_party/gtest/src/gtest-port.cc | 805 - .../tmb/third_party/gtest/src/gtest-printers.cc | 363 - .../third_party/gtest/src/gtest-test-part.cc | 110 - .../third_party/gtest/src/gtest-typed-test.cc | 110 - .../src/tmb/third_party/gtest/src/gtest.cc | 5015 ---- .../src/tmb/third_party/gtest/src/gtest_main.cc | 38 - .../gtest/test/gtest-death-test_ex_test.cc | 93 - .../gtest/test/gtest-death-test_test.cc | 1367 -- .../gtest/test/gtest-filepath_test.cc | 680 - .../gtest/test/gtest-linked_ptr_test.cc | 154 - .../gtest/test/gtest-listener_test.cc | 310 - .../gtest/test/gtest-message_test.cc | 159 - .../gtest/test/gtest-options_test.cc | 215 - .../gtest/test/gtest-param-test2_test.cc | 65 - .../gtest/test/gtest-param-test_test.cc | 904 - .../gtest/test/gtest-param-test_test.h | 57 - .../third_party/gtest/test/gtest-port_test.cc | 1253 - .../gtest/test/gtest-printers_test.cc | 1566 -- .../gtest/test/gtest-test-part_test.cc | 208 - .../third_party/gtest/test/gtest-tuple_test.cc | 320 - .../gtest/test/gtest-typed-test2_test.cc | 45 - .../gtest/test/gtest-typed-test_test.cc | 360 - .../gtest/test/gtest-typed-test_test.h | 66 - .../gtest/test/gtest-unittest-api_test.cc | 341 - .../third_party/gtest/test/gtest_all_test.cc | 47 - .../test/gtest_break_on_failure_unittest.py | 212 - .../test/gtest_break_on_failure_unittest_.cc | 88 - .../gtest/test/gtest_catch_exceptions_test.py | 237 - .../gtest/test/gtest_catch_exceptions_test_.cc | 311 - .../third_party/gtest/test/gtest_color_test.py | 130 - .../third_party/gtest/test/gtest_color_test_.cc | 71 - .../gtest/test/gtest_env_var_test.py | 103 - .../gtest/test/gtest_env_var_test_.cc | 126 - .../gtest/test/gtest_environment_test.cc | 192 - .../gtest/test/gtest_filter_unittest.py | 633 - .../gtest/test/gtest_filter_unittest_.cc | 140 - .../third_party/gtest/test/gtest_help_test.py | 172 - .../third_party/gtest/test/gtest_help_test_.cc | 46 - .../gtest/test/gtest_list_tests_unittest.py | 207 - .../gtest/test/gtest_list_tests_unittest_.cc | 157 - .../gtest/test/gtest_main_unittest.cc | 45 - .../gtest/test/gtest_no_test_unittest.cc | 56 - .../third_party/gtest/test/gtest_output_test.py | 335 - .../gtest/test/gtest_output_test_.cc | 1034 - .../gtest/test/gtest_output_test_golden_lin.txt | 720 - .../gtest/test/gtest_pred_impl_unittest.cc | 2427 -- .../gtest/test/gtest_premature_exit_test.cc | 141 - .../third_party/gtest/test/gtest_prod_test.cc | 57 - .../third_party/gtest/test/gtest_repeat_test.cc | 253 - .../gtest/test/gtest_shuffle_test.py | 325 - .../gtest/test/gtest_shuffle_test_.cc | 103 - .../gtest/test/gtest_sole_header_test.cc | 57 - .../third_party/gtest/test/gtest_stress_test.cc | 256 - .../third_party/gtest/test/gtest_test_utils.py | 320 - .../test/gtest_throw_on_failure_ex_test.cc | 92 - .../gtest/test/gtest_throw_on_failure_test.py | 171 - .../gtest/test/gtest_throw_on_failure_test_.cc | 72 - .../gtest/test/gtest_uninitialized_test.py | 70 - .../gtest/test/gtest_uninitialized_test_.cc | 43 - .../third_party/gtest/test/gtest_unittest.cc | 7415 ------ .../gtest/test/gtest_xml_outfile1_test_.cc | 49 - .../gtest/test/gtest_xml_outfile2_test_.cc | 49 - .../gtest/test/gtest_xml_outfiles_test.py | 132 - .../gtest/test/gtest_xml_output_unittest.py | 307 - .../gtest/test/gtest_xml_output_unittest_.cc | 181 - .../gtest/test/gtest_xml_test_utils.py | 194 - .../tmb/third_party/gtest/test/production.cc | 36 - .../src/tmb/third_party/gtest/test/production.h | 55 - .../gtest/xcode/Config/DebugProject.xcconfig | 30 - .../gtest/xcode/Config/FrameworkTarget.xcconfig | 17 - .../gtest/xcode/Config/General.xcconfig | 41 - .../gtest/xcode/Config/ReleaseProject.xcconfig | 32 - .../xcode/Config/StaticLibraryTarget.xcconfig | 18 - .../gtest/xcode/Config/TestTarget.xcconfig | 8 - .../gtest/xcode/Resources/Info.plist | 30 - .../xcode/Samples/FrameworkSample/Info.plist | 28 - .../WidgetFramework.xcodeproj/project.pbxproj | 457 - .../xcode/Samples/FrameworkSample/runtests.sh | 62 - .../xcode/Samples/FrameworkSample/widget.cc | 63 - .../xcode/Samples/FrameworkSample/widget.h | 59 - .../Samples/FrameworkSample/widget_test.cc | 68 - .../third_party/gtest/xcode/Scripts/runtests.sh | 65 - .../gtest/xcode/Scripts/versiongenerate.py | 100 - .../gtest/xcode/gtest.xcodeproj/project.pbxproj | 1135 - 223 files changed, 2 insertions(+), 149041 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/CMakeLists.txt b/third_party/src/tmb/CMakeLists.txt index a280a93..1404675 100644 --- a/third_party/src/tmb/CMakeLists.txt +++ b/third_party/src/tmb/CMakeLists.txt @@ -381,24 +381,6 @@ endif() set_gflags_lib_name () -# NOTE(chasseur): We only add gflags and gtest to the build if those targets -# don't already exist, so that TMB can be brought in to a build that already -# uses one or both of those libraries with add_subdirectory() and not cause -# name collisions. - -# Build GFlags command-line processing library if needed. -if ((NOT TARGET ${GFLAGS_LIB_NAME}) AND (BUILD_BENCHMARKS OR ENABLE_NATIVENET)) - add_subdirectory(third_party/gflags) - include_directories(${CMAKE_CURRENT_BINARY_DIR}/third_party/gflags/include) -endif() - -# Googletest Framework For Unit Testing -if (NOT TARGET gtest) - add_subdirectory(third_party/gtest) - include_directories(third_party/gtest/include) - enable_testing() -endif() - # Include path for TMB. include_directories(${PROJECT_SOURCE_DIR}/include) set(TMB_INCLUDE_DIRS ${TMB_INCLUDE_DIRS} CACHE STRING @@ -443,8 +425,8 @@ endif() if (ENABLE_NATIVENET) add_executable(tmb_net_server src/tmb_net_server.cc) target_link_libraries(tmb_net_server - gflags_nothreads-static - tmb) + tmb + ${GFLAGS_LIB_NAME}) endif() if (BUILD_BENCHMARKS) http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/third_party/gflags/.gitattributes ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/third_party/gflags/.gitattributes b/third_party/src/tmb/third_party/gflags/.gitattributes deleted file mode 100644 index 87fe9c0..0000000 --- a/third_party/src/tmb/third_party/gflags/.gitattributes +++ /dev/null @@ -1,3 +0,0 @@ -# treat all files in this repository as text files -# and normalize them to LF line endings when committed -* text http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/third_party/gflags/.gitignore ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/third_party/gflags/.gitignore b/third_party/src/tmb/third_party/gflags/.gitignore deleted file mode 100644 index 39cb957..0000000 --- a/third_party/src/tmb/third_party/gflags/.gitignore +++ /dev/null @@ -1,14 +0,0 @@ -.DS_Store -CMakeCache.txt -DartConfiguration.tcl -Makefile -CMakeFiles/ -/Testing/ -/include/gflags/config.h -/include/gflags/gflags_completions.h -/include/gflags/gflags_declare.h -/include/gflags/gflags.h -/lib/ -/test/gflags_unittest_main.cc -/test/gflags_unittest-main.cc -/packages/ http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/third_party/gflags/AUTHORS.txt ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/third_party/gflags/AUTHORS.txt b/third_party/src/tmb/third_party/gflags/AUTHORS.txt deleted file mode 100644 index 887918b..0000000 --- a/third_party/src/tmb/third_party/gflags/AUTHORS.txt +++ /dev/null @@ -1,2 +0,0 @@ -google-gfl...@googlegroups.com - http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/third_party/gflags/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/third_party/gflags/CMakeLists.txt b/third_party/src/tmb/third_party/gflags/CMakeLists.txt deleted file mode 100644 index 54b5c35..0000000 --- a/third_party/src/tmb/third_party/gflags/CMakeLists.txt +++ /dev/null @@ -1,506 +0,0 @@ -cmake_minimum_required (VERSION 2.8.4 FATAL_ERROR) - -if (POLICY CMP0042) - cmake_policy (SET CMP0042 NEW) -endif () - -# ---------------------------------------------------------------------------- -# includes -set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") -include (utils) - -# ---------------------------------------------------------------------------- -# package information -set (PACKAGE_NAME "gflags") -set (PACKAGE_VERSION "2.1.2") -set (PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") -set (PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}") -set (PACKAGE_BUGREPORT "https://github.com/schuhschuh/gflags/issues") - -project (${PACKAGE_NAME} CXX) -if (CMAKE_VERSION VERSION_LESS 100) - # C language still needed because the following required CMake modules - # (or their dependencies, respectively) are not correctly handling - # the case where only CXX is enabled. - # - CheckTypeSize.cmake (fixed in CMake 3.1, cf. http://www.cmake.org/Bug/view.php?id=14056) - # - FindThreads.cmake (--> CheckIncludeFiles.cmake <--) - enable_language (C) -endif () - -version_numbers ( - ${PACKAGE_VERSION} - PACKAGE_VERSION_MAJOR - PACKAGE_VERSION_MINOR - PACKAGE_VERSION_PATCH -) - -set (PACKAGE_SOVERSION "${PACKAGE_VERSION_MAJOR}") - -# ---------------------------------------------------------------------------- -# options -if (NOT GFLAGS_NAMESPACE) - # maintain binary backwards compatibility with gflags library version <= 2.0, - # but at the same time enable the use of the preferred new "gflags" namespace - set (GFLAGS_NAMESPACE "google;${PACKAGE_NAME}" CACHE STRING "Name(s) of library namespace (separate multiple options by semicolon)") - mark_as_advanced (GFLAGS_NAMESPACE) -endif () -set (GFLAGS_NAMESPACE_SECONDARY "${GFLAGS_NAMESPACE}") -list (REMOVE_DUPLICATES GFLAGS_NAMESPACE_SECONDARY) -if (NOT GFLAGS_NAMESPACE_SECONDARY) - message (FATAL_ERROR "GFLAGS_NAMESPACE must be set to one (or more) valid C++ namespace identifier(s separated by semicolon \";\").") -endif () -foreach (ns IN LISTS GFLAGS_NAMESPACE_SECONDARY) - if (NOT ns MATCHES "^[a-zA-Z][a-zA-Z0-9_]*$") - message (FATAL_ERROR "GFLAGS_NAMESPACE contains invalid namespace identifier: ${ns}") - endif () -endforeach () -list (GET GFLAGS_NAMESPACE_SECONDARY 0 GFLAGS_NAMESPACE) -list (REMOVE_AT GFLAGS_NAMESPACE_SECONDARY 0) - -option (BUILD_SHARED_LIBS "Request build of shared libraries." OFF) -option (BUILD_STATIC_LIBS "Request build of static libraries (default if BUILD_SHARED_LIBS is OFF)." OFF) -option (BUILD_gflags_LIB "Request build of the multi-threaded gflags library." ON) -option (BUILD_gflags_nothreads_LIB "Request build of the single-threaded gflags library." ON) -option (BUILD_PACKAGING "Enable build of distribution packages using CPack." OFF) -option (BUILD_TESTING "Enable build of the unit tests and their execution using CTest." OFF) -option (BUILD_NC_TESTS "Request addition of negative compilation tests." OFF) -option (INSTALL_HEADERS "Request packaging of headers and other development files." ON) - -mark_as_advanced (CLEAR CMAKE_INSTALL_PREFIX) -mark_as_advanced (CMAKE_CONFIGURATION_TYPES - BUILD_STATIC_LIBS - BUILD_NC_TESTS - INSTALL_HEADERS) -if (APPLE) - mark_as_advanced(CMAKE_OSX_ARCHITECTURES - CMAKE_OSX_DEPLOYMENT_TARGET - CMAKE_OSX_SYSROOT) -endif () - -if (NOT BUILD_SHARED_LIBS AND NOT BUILD_STATIC_LIBS) - set (BUILD_STATIC_LIBS ON) -endif () -if (NOT BUILD_gflags_LIB AND NOT BUILD_gflags_nothreads_LIB) - message (FATAL_ERROR "At least one of BUILD_gflags_LIB and BUILD_gflags_nothreads_LIB must be ON.") -endif () - -if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CXX_FLAGS) - set_property (CACHE CMAKE_BUILD_TYPE PROPERTY VALUE Release) -endif () - -if (NOT GFLAGS_INCLUDE_DIR) - set (GFLAGS_INCLUDE_DIR "${PACKAGE_NAME}" CACHE STRING "Name of include directory of installed header files") - mark_as_advanced (GFLAGS_INCLUDE_DIR) -else () - if (IS_ABSOLUTE GFLAGS_INCLUDE_DIR) - message (FATAL_ERROR "GFLAGS_INCLUDE_DIR must be a path relative to CMAKE_INSTALL_PREFIX/include") - endif () - if (GFLAGS_INCLUDE_DIR MATCHES "^\\.\\.[/\\]") - message (FATAL_ERROR "GFLAGS_INCLUDE_DIR must not start with parent directory reference (../)") - endif () -endif () - -# ---------------------------------------------------------------------------- -# system checks -include (CheckTypeSize) -include (CheckIncludeFileCXX) -include (CheckCXXSymbolExists) - -if (WIN32 AND NOT CYGWIN) - set (OS_WINDOWS 1) -else () - set (OS_WINDOWS 0) -endif () - -if (MSVC) - set (HAVE_SYS_TYPES_H 1) - set (HAVE_STDINT_H 1) - set (HAVE_STDDEF_H 1) # used by CheckTypeSize module - set (HAVE_INTTYPES_H 0) - set (HAVE_UNISTD_H 0) - set (HAVE_SYS_STAT_H 1) - set (HAVE_SHLWAPI_H 1) -else () - foreach (fname IN ITEMS unistd stdint inttypes sys/types sys/stat fnmatch) - string (TOUPPER "${fname}" FNAME) - string (REPLACE "/" "_" FNAME "${FNAME}") - if (NOT HAVE_${FNAME}_H) - check_include_file_cxx ("${fname}.h" HAVE_${FNAME}_H) - endif () - endforeach () - # the following are used in #if directives not #ifdef - bool_to_int (HAVE_STDINT_H) - bool_to_int (HAVE_SYS_TYPES_H) - bool_to_int (HAVE_INTTYPES_H) - if (NOT HAVE_FNMATCH_H AND OS_WINDOWS) - check_include_file_cxx ("shlwapi.h" HAVE_SHLWAPI_H) - endif () -endif () - -set (GFLAGS_INTTYPES_FORMAT "" CACHE STRING "Format of integer types: \"C99\" (uint32_t), \"BSD\" (u_int32_t), \"VC7\" (__int32)") -set_property (CACHE GFLAGS_INTTYPES_FORMAT PROPERTY STRINGS "C99;BSD;VC7") -mark_as_advanced (GFLAGS_INTTYPES_FORMAT) -if (NOT GFLAGS_INTTYPES_FORMAT) - set (TYPES uint32_t u_int32_t) - if (MSVC) - list (INSERT TYPES 0 __int32) - endif () - foreach (type IN LISTS TYPES) - check_type_size (${type} ${type} LANGUAGE CXX) - if (HAVE_${type}) - break () - endif () - endforeach () - if (HAVE_uint32_t) - set_property (CACHE GFLAGS_INTTYPES_FORMAT PROPERTY VALUE C99) - elseif (HAVE_u_int32_t) - set_property (CACHE GFLAGS_INTTYPES_FORMAT PROPERTY VALUE BSD) - elseif (HAVE___int32) - set_property (CACHE GFLAGS_INTTYPES_FORMAT PROPERTY VALUE VC7) - else () - mark_as_advanced (CLEAR GFLAGS_INTTYPES_FORMAT) - message (FATAL_ERROR "Do not know how to define a 32-bit integer quantity on your system!" - " Neither uint32_t, u_int32_t, nor __int32 seem to be available." - " Set GFLAGS_INTTYPES_FORMAT to either C99, BSD, or VC7 and try again.") - endif () -endif () -# use of special characters in strings to circumvent bug #0008226 -if ("^${GFLAGS_INTTYPES_FORMAT}$" STREQUAL "^WIN$") - set_property (CACHE GFLAGS_INTTYPES_FORMAT PROPERTY VALUE VC7) -endif () -if (NOT GFLAGS_INTTYPES_FORMAT MATCHES "^(C99|BSD|VC7)$") - message (FATAL_ERROR "Invalid value for GFLAGS_INTTYPES_FORMAT! Choose one of \"C99\", \"BSD\", or \"VC7\"") -endif () -set (GFLAGS_INTTYPES_FORMAT_C99 0) -set (GFLAGS_INTTYPES_FORMAT_BSD 0) -set (GFLAGS_INTTYPES_FORMAT_VC7 0) -set ("GFLAGS_INTTYPES_FORMAT_${GFLAGS_INTTYPES_FORMAT}" 1) - -if (MSVC) - set (HAVE_strtoll 0) - set (HAVE_strtoq 0) -else () - check_cxx_symbol_exists (strtoll stdlib.h HAVE_STRTOLL) - if (NOT HAVE_STRTOLL) - check_cxx_symbol_exists (strtoq stdlib.h HAVE_STRTOQ) - endif () -endif () - -set (CMAKE_THREAD_PREFER_PTHREAD TRUE) -find_package (Threads) -if (Threads_FOUND AND CMAKE_USE_PTHREADS_INIT) - set (HAVE_PTHREAD 1) - check_type_size (pthread_rwlock_t RWLOCK LANGUAGE CXX) -else () - set (HAVE_PTHREAD 0) -endif () - -if (UNIX AND NOT HAVE_PTHREAD AND BUILD_gflags_LIB) - if (CMAKE_HAVE_PTHREAD_H) - set (what "library") - else () - set (what ".h file") - endif () - message (FATAL_ERROR "Could not find pthread${what}. Check the log file" - "\n\t${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log" - "\nor disable the build of the multi-threaded gflags library (BUILD_gflags_LIB=OFF).") -endif () - -# ---------------------------------------------------------------------------- -# source files - excluding root subdirectory and/or .in suffix -set (PUBLIC_HDRS - "gflags.h" - "gflags_declare.h" - "gflags_completions.h" -) - -if (GFLAGS_NAMESPACE_SECONDARY) - set (INCLUDE_GFLAGS_NS_H "// Import gflags library symbols into alternative/deprecated namespace(s)") - foreach (ns IN LISTS GFLAGS_NAMESPACE_SECONDARY) - string (TOUPPER "${ns}" NS) - set (gflags_ns_h "${PROJECT_BINARY_DIR}/include/${GFLAGS_INCLUDE_DIR}/gflags_${ns}.h") - configure_file ("${PROJECT_SOURCE_DIR}/src/gflags_ns.h.in" "${gflags_ns_h}" @ONLY) - list (APPEND PUBLIC_HDRS "${gflags_ns_h}") - set (INCLUDE_GFLAGS_NS_H "${INCLUDE_GFLAGS_NS_H}\n#include \"gflags_${ns}.h\"") - endforeach () -else () - set (INCLUDE_GFLAGS_NS_H) -endif () - -set (PRIVATE_HDRS - "config.h" - "util.h" - "mutex.h" -) - -set (GFLAGS_SRCS - "gflags.cc" - "gflags_reporting.cc" - "gflags_completions.cc" -) - -if (OS_WINDOWS) - list (APPEND PRIVATE_HDRS "windows_port.h") - list (APPEND GFLAGS_SRCS "windows_port.cc") -endif () - -# ---------------------------------------------------------------------------- -# configure source files -if (CMAKE_COMPILER_IS_GNUCXX) - set (GFLAGS_ATTRIBUTE_UNUSED "__attribute((unused))") -else () - set (GFLAGS_ATTRIBUTE_UNUSED) -endif () - -# whenever we build a shared library (DLL on Windows), configure the public -# headers of the API for use of this library rather than the optionally -# also build statically linked library; users can override GFLAGS_DLL_DECL -if (BUILD_SHARED_LIBS) - set (GFLAGS_IS_A_DLL 1) -else () - set (GFLAGS_IS_A_DLL 0) -endif () - -configure_headers (PUBLIC_HDRS ${PUBLIC_HDRS}) -configure_sources (PRIVATE_HDRS ${PRIVATE_HDRS}) -configure_sources (GFLAGS_SRCS ${GFLAGS_SRCS}) - -include_directories ("${PROJECT_SOURCE_DIR}/src") -include_directories ("${PROJECT_BINARY_DIR}/include") -include_directories ("${PROJECT_BINARY_DIR}/include/${GFLAGS_INCLUDE_DIR}") - -# ---------------------------------------------------------------------------- -# output directories -set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "bin") -set (CMAKE_LIBRARY_OUTPUT_DIRECTORY "lib") -set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY "lib") - -# ---------------------------------------------------------------------------- -# add library targets -set (TARGETS) -# static vs. shared -foreach (TYPE IN ITEMS STATIC SHARED) - if (BUILD_${TYPE}_LIBS) - # whether or not targets are a DLL - if (OS_WINDOWS AND "^${TYPE}$" STREQUAL "^SHARED$") - set (GFLAGS_IS_A_DLL 1) - else () - set (GFLAGS_IS_A_DLL 0) - endif () - string (TOLOWER "${TYPE}" type) - # multi-threaded vs. single-threaded - foreach (opts IN ITEMS "" _nothreads) - if (BUILD_gflags${opts}_LIB) - add_library (gflags${opts}-${type} ${TYPE} ${GFLAGS_SRCS} ${PRIVATE_HDRS} ${PUBLIC_HDRS}) - if (opts MATCHES "nothreads") - set (defines "GFLAGS_IS_A_DLL=${GFLAGS_IS_A_DLL};NOTHREADS") - else () - set (defines "GFLAGS_IS_A_DLL=${GFLAGS_IS_A_DLL}") - if (CMAKE_USE_PTHREADS_INIT) - target_link_libraries (gflags${opts}-${type} ${CMAKE_THREAD_LIBS_INIT}) - endif () - endif () - set_target_properties ( - gflags${opts}-${type} PROPERTIES COMPILE_DEFINITIONS "${defines}" - OUTPUT_NAME "gflags${opts}" - VERSION "${PACKAGE_VERSION}" - SOVERSION "${PACKAGE_SOVERSION}" - ) - if (HAVE_SHLWAPI_H) - target_link_libraries (gflags${opts}-${type} shlwapi.lib) - endif () - if (NOT TARGET gflags${opts}) - add_custom_target (gflags${opts}) - endif () - add_dependencies (gflags${opts} gflags${opts}-${type}) - list (APPEND TARGETS gflags${opts}-${type}) - endif () - endforeach () - endif () -endforeach () - -# ---------------------------------------------------------------------------- -# installation -if (OS_WINDOWS) - set (RUNTIME_INSTALL_DIR Bin) - set (LIBRARY_INSTALL_DIR Lib) - set (INCLUDE_INSTALL_DIR Include) - set (CONFIG_INSTALL_DIR CMake) -else () - set (RUNTIME_INSTALL_DIR bin) - # The LIB_INSTALL_DIR and LIB_SUFFIX variables are used by the Fedora - # package maintainers. Also package maintainers of other distribution - # packages need to be able to specify the name of the library directory. - if (NOT LIB_INSTALL_DIR) - set (LIB_INSTALL_DIR "lib${LIB_SUFFIX}") - endif () - set (LIBRARY_INSTALL_DIR "${LIB_INSTALL_DIR}" - CACHE PATH "Directory of installed libraries, e.g., \"lib64\"" - ) - mark_as_advanced (LIBRARY_INSTALL_DIR) - set (INCLUDE_INSTALL_DIR include) - set (CONFIG_INSTALL_DIR ${LIBRARY_INSTALL_DIR}/cmake/${PACKAGE_NAME}) -endif () - -file (RELATIVE_PATH INSTALL_PREFIX_REL2CONFIG_DIR "${CMAKE_INSTALL_PREFIX}/${CONFIG_INSTALL_DIR}" "${CMAKE_INSTALL_PREFIX}") -configure_file (cmake/config.cmake.in "${PROJECT_BINARY_DIR}/${PACKAGE_NAME}-config-install.cmake" @ONLY) -configure_file (cmake/version.cmake.in "${PROJECT_BINARY_DIR}/${PACKAGE_NAME}-config-version.cmake" @ONLY) - -install (TARGETS ${TARGETS} DESTINATION ${LIBRARY_INSTALL_DIR} EXPORT gflags-lib) -if (INSTALL_HEADERS) - install (FILES ${PUBLIC_HDRS} DESTINATION ${INCLUDE_INSTALL_DIR}/${GFLAGS_INCLUDE_DIR}) - install ( - FILES "${PROJECT_BINARY_DIR}/${PACKAGE_NAME}-config-install.cmake" - RENAME ${PACKAGE_NAME}-config.cmake - DESTINATION ${CONFIG_INSTALL_DIR} - ) - install ( - FILES "${PROJECT_BINARY_DIR}/${PACKAGE_NAME}-config-version.cmake" - DESTINATION ${CONFIG_INSTALL_DIR} - ) - install (EXPORT gflags-lib DESTINATION ${CONFIG_INSTALL_DIR} FILE ${PACKAGE_NAME}-export.cmake) - if (UNIX) - install (PROGRAMS src/gflags_completions.sh DESTINATION ${RUNTIME_INSTALL_DIR}) - endif () -endif () - -# ---------------------------------------------------------------------------- -# support direct use of build tree -set (INSTALL_PREFIX_REL2CONFIG_DIR .) -export (TARGETS ${TARGETS} FILE "${PROJECT_BINARY_DIR}/${PACKAGE_NAME}-export.cmake") -export (PACKAGE gflags) -configure_file (cmake/config.cmake.in "${PROJECT_BINARY_DIR}/${PACKAGE_NAME}-config.cmake" @ONLY) - -# ---------------------------------------------------------------------------- -# testing - MUST follow the generation of the build tree config file -if (BUILD_TESTING) - include (CTest) - enable_testing () - add_subdirectory (test) -endif () - -# ---------------------------------------------------------------------------- -# packaging -if (BUILD_PACKAGING) - - if (NOT BUILD_SHARED_LIBS AND NOT INSTALL_HEADERS) - message (WARNING "Package will contain static libraries without headers!" - "\nRecommended options for generation of runtime package:" - "\n BUILD_SHARED_LIBS=ON" - "\n BUILD_STATIC_LIBS=OFF" - "\n INSTALL_HEADERS=OFF" - "\nRecommended options for generation of development package:" - "\n BUILD_SHARED_LIBS=ON" - "\n BUILD_STATIC_LIBS=ON" - "\n INSTALL_HEADERS=ON") - endif () - - # default package generators - if (APPLE) - set (PACKAGE_GENERATOR "PackageMaker") - set (PACKAGE_SOURCE_GENERATOR "TGZ;ZIP") - elseif (UNIX) - set (PACKAGE_GENERATOR "DEB;RPM") - set (PACKAGE_SOURCE_GENERATOR "TGZ;ZIP") - else () - set (PACKAGE_GENERATOR "ZIP") - set (PACKAGE_SOURCE_GENERATOR "ZIP") - endif () - - # used package generators - set (CPACK_GENERATOR "${PACKAGE_GENERATOR}" CACHE STRING "List of binary package generators (CPack).") - set (CPACK_SOURCE_GENERATOR "${PACKAGE_SOURCE_GENERATOR}" CACHE STRING "List of source package generators (CPack).") - mark_as_advanced (CPACK_GENERATOR CPACK_SOURCE_GENERATOR) - - # some package generators (e.g., PackageMaker) do not allow .md extension - configure_file ("${CMAKE_CURRENT_LIST_DIR}/README.md" "${CMAKE_CURRENT_BINARY_DIR}/README.txt" COPYONLY) - - # common package information - set (CPACK_PACKAGE_VENDOR "Andreas Schuh") - set (CPACK_PACKAGE_CONTACT "google-gfl...@googlegroups.com") - set (CPACK_PACKAGE_NAME "${PACKAGE_NAME}") - set (CPACK_PACKAGE_VERSION "${PACKAGE_VERSION}") - set (CPACK_PACKAGE_VERSION_MAJOR "${PACKAGE_VERSION_MAJOR}") - set (CPACK_PACKAGE_VERSION_MINOR "${PACKAGE_VERSION_MINOR}") - set (CPACK_PACKAGE_VERSION_PATCH "${PACKAGE_VERSION_PATCH}") - set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "A commandline flags library that allows for distributed flags.") - set (CPACK_RESOURCE_FILE_WELCOME "${CMAKE_CURRENT_BINARY_DIR}/README.txt") - set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_LIST_DIR}/COPYING.txt") - set (CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_BINARY_DIR}/README.txt") - set (CPACK_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - set (CPACK_OUTPUT_FILE_PREFIX packages) - set (CPACK_PACKAGE_RELOCATABLE TRUE) - set (CPACK_MONOLITHIC_INSTALL TRUE) - - # RPM package information -- used in cmake/package.cmake.in also for DEB - set (CPACK_RPM_PACKAGE_GROUP "Development/Libraries") - set (CPACK_RPM_PACKAGE_LICENSE "BSD") - set (CPACK_RPM_PACKAGE_URL "http://schuhschuh.github.com/gflags") - set (CPACK_RPM_CHANGELOG_FILE "${CMAKE_CURRENT_LIST_DIR}/ChangeLog.txt") - - if (INSTALL_HEADERS) - set (CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_LIST_DIR}/doc/index.html") - else () - set (CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_LIST_DIR}/cmake/README_runtime.txt") - endif () - - # system/architecture - if (WINDOWS) - if (CMAKE_CL_64) - set (CPACK_SYSTEM_NAME "win64") - else () - set (CPACK_SYSTEM_NAME "win32") - endif () - set (CPACK_PACKAGE_ARCHITECTURE) - elseif (APPLE) - set (CPACK_PACKAGE_ARCHITECTURE darwin) - else () - string (TOLOWER "${CMAKE_SYSTEM_NAME}" CPACK_SYSTEM_NAME) - if (CMAKE_CXX_FLAGS MATCHES "-m32") - set (CPACK_PACKAGE_ARCHITECTURE i386) - else () - execute_process ( - COMMAND dpkg --print-architecture - RESULT_VARIABLE RV - OUTPUT_VARIABLE CPACK_PACKAGE_ARCHITECTURE - ) - if (RV EQUAL 0) - string (STRIP "${CPACK_PACKAGE_ARCHITECTURE}" CPACK_PACKAGE_ARCHITECTURE) - else () - execute_process (COMMAND uname -m OUTPUT_VARIABLE CPACK_PACKAGE_ARCHITECTURE) - if (CPACK_PACKAGE_ARCHITECTURE MATCHES "x86_64") - set (CPACK_PACKAGE_ARCHITECTURE amd64) - else () - set (CPACK_PACKAGE_ARCHITECTURE i386) - endif () - endif () - endif () - endif () - - # source package settings - set (CPACK_SOURCE_TOPLEVEL_TAG "source") - set (CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}") - set (CPACK_SOURCE_IGNORE_FILES "/\\\\.git/;\\\\.swp$;\\\\.#;/#;\\\\.*~;cscope\\\\.*;/[Bb]uild[.+-_a-zA-Z0-9]*/") - - # default binary package settings - set (CPACK_INCLUDE_TOPLEVEL_DIRECTORY TRUE) - set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-${CPACK_SYSTEM_NAME}") - if (CPACK_PACKAGE_ARCHITECTURE) - set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}-${CPACK_PACKAGE_ARCHITECTURE}") - endif () - - # generator specific configuration file - # - # allow package maintainers to use their own configuration file - # $ cmake -DCPACK_PROJECT_CONFIG_FILE:FILE=/path/to/package/config - if (NOT CPACK_PROJECT_CONFIG_FILE) - configure_file ( - "${CMAKE_CURRENT_LIST_DIR}/cmake/package.cmake.in" - "${PROJECT_BINARY_DIR}/${PACKAGE_NAME}-package.cmake" @ONLY - ) - set (CPACK_PROJECT_CONFIG_FILE "${PROJECT_BINARY_DIR}/${PACKAGE_NAME}-package.cmake") - endif () - - include (CPack) - -endif () # BUILD_PACKAGING http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/third_party/gflags/COPYING.txt ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/third_party/gflags/COPYING.txt b/third_party/src/tmb/third_party/gflags/COPYING.txt deleted file mode 100644 index d15b0c2..0000000 --- a/third_party/src/tmb/third_party/gflags/COPYING.txt +++ /dev/null @@ -1,28 +0,0 @@ -Copyright (c) 2006, Google Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/third_party/gflags/ChangeLog.txt ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/third_party/gflags/ChangeLog.txt b/third_party/src/tmb/third_party/gflags/ChangeLog.txt deleted file mode 100644 index eea9f83..0000000 --- a/third_party/src/tmb/third_party/gflags/ChangeLog.txt +++ /dev/null @@ -1,218 +0,0 @@ -* Tue Mar 24 2014 - Andreas Schuh <andreas.schuh...@gmail.com> - -- gflags: version 2.1.2 -- Moved project to GitHub -- Added GFLAGS_NAMESPACE definition to gflags_declare.h -- Fixed issue 94: Keep "google" as primary namespace and import symbols into "gflags" namespace -- Fixed issue 96: Fix binary ABI compatibility with gflags 2.0 using "google" as primary namespace -- Fixed issue 97/101: Removed (patched) CMake modules and enabled C language instead -- Fixed issue 103: Set CMake policy CMP0042 to silence warning regarding MACOS_RPATH setting - -* Sun Mar 20 2014 - Andreas Schuh <google-gfl...@googlegroups.com> - -- gflags: version 2.1.1 -- Fixed issue 77: GFLAGS_IS_A_DLL expands to empty string in gflags_declare.h -- Fixed issue 79: GFLAGS_NAMESPACE not expanded to actual namespace in gflags_declare.h -- Fixed issue 80: Allow include path to differ from GFLAGS_NAMESPACE - -* Thu Mar 20 2014 - Andreas Schuh <google-gfl...@googlegroups.com> - -- gflags: version 2.1.0 -- Build system configuration using CMake instead of autotools -- CPack packaging support for Debian/Ubuntu, Red Hat, and Mac OS X -- Fixed issue 54: Fix "invalid suffix on literal" (C++11) -- Fixed issue 57: Use _strdup instead of strdup on Windows -- Fixed issue 62: Change all preprocessor include guards to start with GFLAGS_ -- Fixed issue 64: Add DEFINE_validator macro -- Fixed issue 73: Warnings in Visual Studio 2010 and unable to compile unit test - -* Wed Jan 25 2012 - Google Inc. <google-gfl...@googlegroups.com> - -- gflags: version 2.0 -- Changed the 'official' gflags email in setup.py/etc -- Renamed google-gflags.sln to gflags.sln -- Changed copyright text to reflect Google's relinquished ownership - -* Tue Dec 20 2011 - Google Inc. <opensou...@google.com> - -- google-gflags: version 1.7 -- Add CommandLineFlagInfo::flag_ptr pointing to current storage (musji) -- PORTING: flush after writing to stderr, needed on cygwin -- PORTING: Clean up the GFLAGS_DLL_DECL stuff better -- Fix a bug in StringPrintf() that affected large strings (csilvers) -- Die at configure-time when g++ isn't installed - -* Fri Jul 29 2011 - Google Inc. <opensou...@google.com> - -- google-gflags: version 1.6 -- BUGFIX: Fix a bug where we were leaving out a required $(top_srcdir) -- Fix definition of clstring (jyrki) -- Split up flag declares into its own file (jyrki) -- Add --version support (csilvers) -- Update the README for gflags with static libs -- Update acx_pthread.m4 for nostdlib -- Change ReparseCommandLineFlags to return void (csilvers) -- Some doc typofixes and example augmentation (various) - -* Mon Jan 24 2011 - Google Inc. <opensou...@google.com> - -- google-gflags: version 1.5 -- Better reporting of current vs default value (handler) -- Add API for cleaning up of memory at program-exit (jmarantz) -- Fix macros to work inside namespaces (csilvers) -- Use our own string typedef in case string is redefined (csilvers) -- Updated to autoconf 2.65 - -* Wed Oct 13 2010 - Google Inc. <opensou...@google.com> - -- google-gflags: version 1.4 -- Add a check to prevent passing 0 to DEFINE_string (jorg) -- Reduce compile (.o) size (jyrki) -- Some small changes to quiet debug compiles (alexk) -- PORTING: better support static linking on windows (csilvers) -- DOCUMENTATION: change default values, use validators, etc. -- Update the NEWS file to be non-empty -- Add pkg-config (.pc) files for libgflags and libgflags_nothreads - -* Mon Jan 4 2010 - Google Inc. <opensou...@google.com> - -- google-gflags: version 1.3 -- PORTABILITY: can now build and run tests under MSVC (csilvers) -- Remove the python gflags code, which is now its own package (tansell) -- Clarify that "last flag wins" in the docs (csilvers) -- Comment danger of using GetAllFlags in validators (wojtekm) -- PORTABILITY: Some fixes necessary for c++0x (mboerger) -- Makefile fix: $(srcdir) -> $(top_srcdir) in one place (csilvres) -- INSTALL: autotools to autoconf v2.64 + automake v1.11 (csilvers) - -* Thu Sep 10 2009 - Google Inc. <opensou...@google.com> - -- google-gflags: version 1.2 -- PORTABILITY: can now build and run tests under mingw (csilvers) -- Using a string arg for a bool flag is a compile-time error (rbayardo) -- Add --helpxml to gflags.py (salcianu) -- Protect against a hypothetical global d'tor mutex problem (csilvers) -- BUGFIX: can now define a flag after 'using namespace google' (hamaji) - -* Tue Apr 14 2009 - Google Inc. <opensou...@google.com> - -- google-gflags: version 1.1 -- Add both foo and nofoo for boolean flags, with --undefok (andychu) -- Better document how validators work (wojtekm) -- Improve binary-detection for bash-completion (mtamsky) -- Python: Add a concept of "key flags", used with --help (salcianu) -- Python: Robustify flag_values (salcianu) -- Python: Add a new DEFINE_bool alias (keir, andrewliu) -- Python: Do module introspection based on module name (dsturtevant) -- Fix autoconf a bit better, especially on windows and solaris (ajenjo) -- BUG FIX: gflags_nothreads was linking against the wrong lib (ajenjo) -- BUG FIX: threads-detection failed on FreeBSD; replace it (ajenjo) -- PORTABILITY: Quiet an internal compiler error with SUSE 10 (csilvers) -- PORTABILITY: Update deb.sh for more recenty debuilds (csilvers) -- PORTABILITY: #include more headers to satify new gcc's (csilvers) -- INSTALL: Updated to autoconf 2.61 and libtool 1.5.26 (csilvers) - -* Fri Oct 3 2008 - Google Inc. <opensou...@google.com> - -- google-gflags: version 1.0 -- Add a missing newline to an error string (bcmills) -- (otherwise exactly the same as gflags 1.0rc2) - -* Thu Sep 18 2008 - Google Inc. <opensou...@google.com> - -- google-gflags: version 1.0rc2 -- Report current flag values in --helpxml (hdn) -- Fix compilation troubles with gcc 4.3.3 (simonb) -- BUG FIX: I was missing a std:: in DECLARE_string (csilvers) -- BUG FIX: Clarify in docs how to specify --bool flags (csilvers) -- BUG FIX: Fix --helpshort for source files not in a subdir (csilvers) -- BUG FIX: Fix python unittest for 64-bit builds (bcmills) - -* Tue Aug 19 2008 - Google Inc. <opensou...@google.com> - -- google-gflags: version 1.0rc1 -- Move #include files from google/ to gflags/ (csilvers) -- Small optimizations to reduce binary (library) size (jyrki) -- BUGFIX: forgot a std:: in one of the .h files (csilvers) -- Speed up locking by making sure calls are inlined (ajenjo) -- 64-BIT COMPATIBILITY: Use %PRId64 instead of %lld (csilvers) -- PORTABILITY: fix Makefile to work with Cygwin (ajenjo) -- PORTABILITY: fix code to compile under Visual Studio (ajenjo) -- PORTABILITY: fix code to compile under Solaris 10 with CC (csilvers) - -* Mon Jul 21 2008 - Google Inc. <opensou...@google.com> - -- google-gflags: version 0.9 -- Add the ability to validate a command-line flag (csilvers) -- Add completion support for commandline flags in bash (daven) -- Add -W compile flags to Makefile, when using gcc (csilvers) -- Allow helpstring to be NULL (cristianoc) -- Improved documentation of classes in the .cc file (csilvers) -- Fix python bug with AppendFlagValues + shortnames (jjtswan) -- Use bool instead of int for boolean flags in gflags.py (bcmills) -- Simplify the way we declare flags, now more foolproof (csilvers) -- Better error messages when bool flags collide (colohan) -- Only evaluate DEFINE_foo macro args once (csilvers) - -* Wed Mar 26 2008 - Google Inc. <opensou...@google.com> - -- google-gflags: version 0.8 -- Export DescribeOneFlag() in the API -- Add support for automatic line wrapping at 80 cols for gflags.py -- Bugfix: do not treat an isolated "-" the same as an isolated "--" -- Update rpm spec to point to Google Code rather than sourceforge (!) -- Improve documentation (including documenting thread-safety) -- Improve #include hygiene -- Improve testing - -* Thu Oct 18 2007 - Google Inc. <opensou...@google.com> - -- google-gflags: version 0.7 -- Deal even more correctly with libpthread not linked in (csilvers) -- Add STRIP_LOG, an improved DO_NOT_SHOW_COMMANDLINE_HELP (sioffe) -- Be more accurate printing default flag values in --help (dsturtevant) -- Reduce .o file size a bit by using shorter namespace names (jeff) -- Use relative install path, so 'setup.py --home' works (csilvers) -- Notice when a boolean flag has a non-boolean default (bnmouli) -- Broaden --helpshort to match foo-main.cc and foo_main.cc (hendrie) -- Fix "no modules match" message for --helpshort, etc (hendrie) - -* Wed Aug 15 2007 - Google Inc. <opensou...@google.com> - -- google-gflags: version 0.6 -- Deal correctly with case that libpthread is not linked in (csilvers) -- Update Makefile/tests so we pass "make distcheck" (csilvers) -- Document and test that last assignment to a flag wins (wan) - -* Tue Jun 12 2007 - Google Inc. <opensou...@google.com> - -- google-gflags: version 0.5 -- Include all m4 macros in the distribution (csilvers) -- Python: Fix broken data_files field in setup.py (sidlon) -- Python: better string serliaizing and unparsing (abo, csimmons) -- Fix checks for NaN and inf to work with Mac OS X (csilvers) - -* Thu Apr 19 2007 - Google Inc. <opensou...@google.com> - -- google-gflags: version 0.4 -- Remove is_default from GetCommandLineFlagInfo (csilvers) -- Portability fixes: includes, strtoll, gcc4.3 errors (csilvers) -- A few doc typo cleanups (csilvers) - -* Wed Mar 28 2007 - Google Inc. <opensou...@google.com> - -- google-gflags: version 0.3 -- python portability fix: use popen instead of subprocess (csilvers) -- Add is_default to CommandLineFlagInfo (pchien) -- Make docs a bit prettier (csilvers) -- Actually include the python files in the distribution! :-/ (csilvers) - -* Mon Jan 22 2007 - Google Inc. <opensou...@google.com> - -- google-gflags: version 0.2 -- added support for python commandlineflags, as well as c++ -- gflags2man, a script to turn flags into a man page (dchristian) - -* Wed Dec 13 2006 - Google Inc. <opensou...@google.com> - -- google-gflags: version 0.1 http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/third_party/gflags/INSTALL.md ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/third_party/gflags/INSTALL.md b/third_party/src/tmb/third_party/gflags/INSTALL.md deleted file mode 100644 index d054193..0000000 --- a/third_party/src/tmb/third_party/gflags/INSTALL.md +++ /dev/null @@ -1,54 +0,0 @@ -Installing a binary distribution package -======================================== - -No official binary distribution packages are provided by the gflags developers. -There may, however, be binary packages available for your OS. Please consult -also the package repositories of your Linux distribution. - -For example on Debian/Ubuntu Linux, gflags can be installed using the -following command: - - sudo apt-get install gflags - - -Compiling the source code -========================= - -The build system of gflags is since version 2.1 based on [CMake](http://cmake.org). -The common steps to build, test, and install software are therefore: - -1. Extract source files. -2. Create build directory and change to it. -3. Run CMake to configure the build tree. -4. Build the software using selected build tool. -5. Test the built software. -6. Install the built files. - -On Unix-like systems with GNU Make as build tool, these build steps can be -summarized by the following sequence of commands executed in a shell, -where ```$package``` and ```$version``` are shell variables which represent -the name of this package and the obtained version of the software. - - $ tar xzf gflags-$version-source.tar.gz - $ cd gflags-$version - $ mkdir build && cd build - $ ccmake .. - - - Press 'c' to configure the build system and 'e' to ignore warnings. - - Set CMAKE_INSTALL_PREFIX and other CMake variables and options. - - Continue pressing 'c' until the option 'g' is available. - - Then press 'g' to generate the configuration files for GNU Make. - - $ make - $ make test (optional) - $ make install (optional) - -In the following, only gflags-specific CMake settings available to -configure the build and installation are documented. - - -CMake Option | Description ----------------------- | ------------------------------------------------------- -CMAKE_INSTALL_PREFIX | Installation directory, e.g., "/usr/local" on Unix and "C:\Program Files\gflags" on Windows. -GFLAGS_NAMESPACE | Name of the C++ namespace to be used by the gflags library. Note that the public source header files are installed in a subdirectory named after this namespace. To maintain backwards compatibility with the Google Commandline Flags, set this variable to "google". The default is "gflags". -GFLAGS_INCLUDE_DIR | Name of include subdirectory where headers are installed into. http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/third_party/gflags/README.md ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/third_party/gflags/README.md b/third_party/src/tmb/third_party/gflags/README.md deleted file mode 100644 index 640e436..0000000 --- a/third_party/src/tmb/third_party/gflags/README.md +++ /dev/null @@ -1,263 +0,0 @@ -24 March 2015 -------------- - -Released gflags 2.1.2 with fixes of ABI incompatibilities to 2.0 caused -by namespace change. The deprecated "google" namespace is yet kept as primary -namespace while sybmols are imported into the new "gflags" namespace by default. -This can be configured using GFLAGS_NAMESPACE and GLAGS_INCLUDE_DIR. Problems -with the (patched) CMake modules FindThreads.cmake and CheckTypeSize.cmake -are resolved by re-enabling the C language again even though gflags is C++. - -Finalized move of gflags project from Google Code to GitHub. -Email addresses of original issue reporters got lost in the process. -Given the age of most issue reports, this should be neglibable. - -Please report any further issues using the GitHub issue tracker. - - -30 March 2014 -------------- - -I've just released gflags 2.1.1. - -This release fixes a few bugs in the configuration of gflags\_declare.h -and adds a separate GFLAGS\_INCLUDE\_DIR CMake variable to the build configuration. -Setting GFLAGS\_NAMESPACE to "google" no longer changes also the include -path of the public header files. This allows the use of the library with -other Google projects such as glog which still use the deprecated "google" -namespace for the gflags library, but include it as "gflags/gflags.h". - -20 March 2014 -------------- - -I've just released gflags 2.1. - -The major changes are the use of CMake for the build configuration instead -of the autotools and packaging support through CPack. The default namespace -of all C++ symbols is now "gflags" instead of "google". This can be -configured via the GFLAGS\_NAMESPACE variable. - -This release compiles with all major compilers without warnings and passed -the unit tests on Ubuntu 12.04, Windows 7 (Visual Studio 2008 and 2010, -Cygwin, MinGW), and Mac OS X (Xcode 5.1). - -The SVN repository on Google Code is now frozen and replaced by a Git -repository such that it can be used as Git submodule by projects. The main -hosting of this project remains at Google Code. Thanks to the distributed -character of Git, I can push (and pull) changes from both GitHub and Google Code -in order to keep the two public repositories in sync. -When fixing an issue for a pull request through either of these hosting -platforms, please reference the issue number as -[described here](https://code.google.com/p/support/wiki/IssueTracker#Integration_with_version_control). -For the further development, I am following the -[Git branching model](http://nvie.com/posts/a-successful-git-branching-model/) -with feature branch names prefixed by "feature/" and bugfix branch names -prefixed by "bugfix/", respectively. - -Binary and source [packages](https://github.com/schuhschuh/gflags/releases) are available on GitHub. - - -14 January 2013 ---------------- - -The migration of the build system to CMake is almost complete. -What remains to be done is rewriting the tests in Python such they can be -executed on non-Unix platforms and splitting them up into separate CTest tests. -Though merging these changes into the master branch yet remains to be done, -it is recommended to already start using the -[cmake-migration](https://github.com/schuhschuh/gflags/tree/cmake-migration) branch. - - -20 April 2013 -------------- - -More than a year has past since I (Andreas) took over the maintenance for -`gflags`. Only few minor changes have been made since then, much to my regret. -To get more involved and stimulate participation in the further -development of the library, I moved the project source code today to -[GitHub](https://github.com/schuhschuh/gflags). -I believe that the strengths of [Git](http://git-scm.com/) will allow for better community collaboration -as well as ease the integration of changes made by others. I encourage everyone -who would like to contribute to send me pull requests. -Git's lightweight feature branches will also provide the right tool for more -radical changes which should only be merged back into the master branch -after these are complete and implement the desired behavior. - -The SVN repository remains accessible at Google Code and I will keep the -master branch of the Git repository hosted at GitHub and the trunk of the -Subversion repository synchronized. Initially, I was going to simply switch the -Google Code project to Git, but in this case the SVN repository would be -frozen and force everyone who would like the latest development changes to -use Git as well. Therefore I decided to host the public Git repository at GitHub -instead. - -Please continue to report any issues with gflags on Google Code. The GitHub project will -only be used to host the Git repository. - -One major change of the project structure I have in mind for the next weeks -is the migration from autotools to [CMake](http://www.cmake.org/). -Check out the (unstable!) -[cmake-migration](https://github.com/schuhschuh/gflags/tree/cmake-migration) -branch on GitHub for details. - - -25 January 2012 ---------------- - -I've just released gflags 2.0. - -The `google-gflags` project has been renamed to `gflags`. I -(csilvers) am stepping down as maintainer, to be replaced by Andreas -Schuh. Welcome to the team, Andreas! I've seen the energy you have -around gflags and the ideas you have for the project going forward, -and look forward to having you on the team. - -I bumped the major version number up to 2 to reflect the new community -ownership of the project. All the [changes](ChangeLog.txt) -are related to the renaming. There are no functional changes from -gflags 1.7. In particular, I've kept the code in the namespace -`google`, though in a future version it should be renamed to `gflags`. -I've also kept the `/usr/local/include/google/` subdirectory as -synonym of `/usr/local/include/gflags/`, though the former name has -been obsolete for some time now. - - -18 January 2011 ---------------- - -The `google-gflags` Google Code page has been renamed to -`gflags`, in preparation for the project being renamed to -`gflags`. In the coming weeks, I'll be stepping down as -maintainer for the gflags project, and as part of that Google is -relinquishing ownership of the project; it will now be entirely -community run. The name change reflects that shift. - - -20 December 2011 ----------------- - -I've just released gflags 1.7. This is a minor release; the major -change is that `CommandLineFlagInfo` now exports the address in memory -where the flag is located. There has also been a bugfix involving -very long --help strings, and some other minor [changes](ChangeLog.txt). - -29 July 2011 ------------- - -I've just released gflags 1.6. The major new feature in this release -is support for setting version info, so that --version does something -useful. - -One minor change has required bumping the library number: -`ReparseCommandlineFlags` now returns `void` instead of `int` (the int -return value was always meaningless). Though I doubt anyone ever used -this (meaningless) return value, technically it's a change to the ABI -that requires a version bump. A bit sad. - -There's also a procedural change with this release: I've changed the -internal tools used to integrate Google-supplied patches for gflags -into the opensource release. These new tools should result in more -frequent updates with better change descriptions. They will also -result in future `ChangeLog` entries being much more verbose (for better -or for worse). - -See the [ChangeLog](ChangeLog.txt) for a full list of changes for this release. - -24 January 2011 ---------------- - -I've just released gflags 1.5. This release has only minor changes -from 1.4, including some slightly better reporting in --help, and -an new memory-cleanup function that can help when running gflags-using -libraries under valgrind. The major change is to fix up the macros -(`DEFINE_bool` and the like) to work more reliably inside namespaces. - -If you have not had a problem with these macros, and don't need any of -the other changes described, there is no need to upgrade. See the -[ChangeLog](ChangeLog.txt) for a full list of changes for this release. - -11 October 2010 ---------------- - -I've just released gflags 1.4. This release has only minor changes -from 1.3, including some documentation tweaks and some work to make -the library smaller. If 1.3 is working well for you, there's no -particular reason to upgrade. - -4 January 2010 --------------- - -I've just released gflags 1.3. gflags now compiles under MSVC, and -all tests pass. I **really** never thought non-unix-y Windows folks -would want gflags, but at least some of them do. - -The major news, though, is that I've separated out the python package -into its own library, [python-gflags](http://code.google.com/p/python-gflags). -If you're interested in the Python version of gflags, that's the place to -get it now. - -10 September 2009 ------------------ - -I've just released gflags 1.2. The major change from gflags 1.1 is it -now compiles under MinGW (as well as cygwin), and all tests pass. I -never thought Windows folks would want unix-style command-line flags, -since they're so different from the Windows style, but I guess I was -wrong! - -The other changes are minor, such as support for --htmlxml in the -python version of gflags. - -15 April 2009 -------------- - -I've just released gflags 1.1. It has only minor changes fdrom gflags -1.0 (see the [ChangeLog](ChangeLog.txt) for details). -The major change is that I moved to a new system for creating .deb and .rpm files. -This allows me to create x86\_64 deb and rpm files. - -In the process of moving to this new system, I noticed an -inconsistency: the tar.gz and .rpm files created libraries named -libgflags.so, but the deb file created libgoogle-gflags.so. I have -fixed the deb file to create libraries like the others. I'm no expert -in debian packaging, but I believe this has caused the package name to -change as well. Please let me know (at -[[mailto:google-gfl...@googlegroups.com](mailto:google-gfl...@googlegroups.com) -google-gfl...@googlegroups.com]) if this causes problems for you -- -especially if you know of a fix! I would be happy to change the deb -packages to add symlinks from the old library name to the new -(libgoogle-gflags.so -> libgflags.so), but that is beyond my knowledge -of how to make .debs. - -If you've tried to install a .rpm or .deb and it doesn't work for you, -let me know. I'm excited to finally have 64-bit package files, but -there may still be some wrinkles in the new system to iron out. - -1 October 2008 --------------- - -gflags 1.0rc2 was out for a few weeks without any issues, so gflags -1.0 is now released. This is much like gflags 0.9. The major change -is that the .h files have been moved from `/usr/include/google` to -`/usr/include/gflags`. While I have backwards-compatibility -forwarding headeds in place, please rewrite existing code to say -``` - #include <gflags/gflags.h> -``` -instead of -``` - #include <google/gflags.h> -``` - -I've kept the default namespace to google. You can still change with -with the appropriate flag to the configure script (`./configure ---help` to see the flags). If you have feedback as to whether the -default namespace should change to gflags, which would be a -non-backwards-compatible change, send mail to -`google-gfl...@googlegroups.com`! - -Version 1.0 also has some neat new features, like support for bash -commandline-completion of help flags. See the [ChangeLog](ChangeLog.txt) -for more details. - -If I don't hear any bad news for a few weeks, I'll release 1.0-final. http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/third_party/gflags/cmake/README_runtime.txt ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/third_party/gflags/cmake/README_runtime.txt b/third_party/src/tmb/third_party/gflags/cmake/README_runtime.txt deleted file mode 100644 index d2556b2..0000000 --- a/third_party/src/tmb/third_party/gflags/cmake/README_runtime.txt +++ /dev/null @@ -1,4 +0,0 @@ -This package contains runtime libraries only which are required -by applications that use these libraries for the commandline flags -processing. If you want to develop such application, download -and install the development package instead. http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/third_party/gflags/cmake/config.cmake.in ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/third_party/gflags/cmake/config.cmake.in b/third_party/src/tmb/third_party/gflags/cmake/config.cmake.in deleted file mode 100644 index 77a8a67..0000000 --- a/third_party/src/tmb/third_party/gflags/cmake/config.cmake.in +++ /dev/null @@ -1,23 +0,0 @@ -## gflags CMake configuration file - -# library version information -set (@PACKAGE_NAME@_VERSION_STRING "@PACKAGE_VERSION@") -set (@PACKAGE_NAME@_VERSION_MAJOR @PACKAGE_VERSION_MAJOR@) -set (@PACKAGE_NAME@_VERSION_MINOR @PACKAGE_VERSION_MINOR@) -set (@PACKAGE_NAME@_VERSION_PATCH @PACKAGE_VERSION_PATCH@) - -# import targets -include ("${CMAKE_CURRENT_LIST_DIR}/@PACKAGE_NAME@-export.cmake") - -# installation prefix -get_filename_component (CMAKE_CURRENT_LIST_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) -get_filename_component (_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_DIR}/@INSTALL_PREFIX_REL2CONFIG_DIR@" ABSOLUTE) - -# include directory -set (@PACKAGE_NAME@_INCLUDE_DIR "${_INSTALL_PREFIX}/@INCLUDE_INSTALL_DIR@") - -# gflags library -set (@PACKAGE_NAME@_LIBRARIES gflags) - -# unset private variables -unset (_INSTALL_PREFIX) http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/third_party/gflags/cmake/execute_test.cmake ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/third_party/gflags/cmake/execute_test.cmake b/third_party/src/tmb/third_party/gflags/cmake/execute_test.cmake deleted file mode 100644 index df008cf..0000000 --- a/third_party/src/tmb/third_party/gflags/cmake/execute_test.cmake +++ /dev/null @@ -1,53 +0,0 @@ -# ---------------------------------------------------------------------------- -# sanitize string stored in variable for use in regular expression. -macro (sanitize_for_regex STRVAR) - string (REGEX REPLACE "([.+*?^$()])" "\\\\\\1" ${STRVAR} "${${STRVAR}}") -endmacro () - -# ---------------------------------------------------------------------------- -# script arguments -if (NOT COMMAND) - message (FATAL_ERROR "Test command not specified!") -endif () -if (NOT DEFINED EXPECTED_RC) - set (EXPECTED_RC 0) -endif () -if (EXPECTED_OUTPUT) - sanitize_for_regex(EXPECTED_OUTPUT) -endif () -if (UNEXPECTED_OUTPUT) - sanitize_for_regex(UNEXPECTED_OUTPUT) -endif () - -# ---------------------------------------------------------------------------- -# set a few environment variables (useful for --tryfromenv) -set (ENV{FLAGS_undefok} "foo,bar") -set (ENV{FLAGS_weirdo} "") -set (ENV{FLAGS_version} "true") -set (ENV{FLAGS_help} "false") - -# ---------------------------------------------------------------------------- -# execute test command -execute_process( - COMMAND ${COMMAND} - RESULT_VARIABLE RC - OUTPUT_VARIABLE OUTPUT - ERROR_VARIABLE OUTPUT -) - -if (OUTPUT) - message ("${OUTPUT}") -endif () - -# ---------------------------------------------------------------------------- -# check test result -if (NOT RC EQUAL EXPECTED_RC) - string (REPLACE ";" " " COMMAND "${COMMAND}") - message (FATAL_ERROR "Command:\n\t${COMMAND}\nExit status is ${RC}, expected ${EXPECTED_RC}") -endif () -if (EXPECTED_OUTPUT AND NOT OUTPUT MATCHES "${EXPECTED_OUTPUT}") - message (FATAL_ERROR "Test output does not match expected output: ${EXPECTED_OUTPUT}") -endif () -if (UNEXPECTED_OUTPUT AND OUTPUT MATCHES "${UNEXPECTED_OUTPUT}") - message (FATAL_ERROR "Test output matches unexpected output: ${UNEXPECTED_OUTPUT}") -endif () \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/third_party/gflags/cmake/package.cmake.in ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/third_party/gflags/cmake/package.cmake.in b/third_party/src/tmb/third_party/gflags/cmake/package.cmake.in deleted file mode 100644 index aaec792..0000000 --- a/third_party/src/tmb/third_party/gflags/cmake/package.cmake.in +++ /dev/null @@ -1,49 +0,0 @@ -# Per-generator CPack configuration file. See CPACK_PROJECT_CONFIG_FILE documented at -# http://www.cmake.org/cmake/help/v2.8.12/cpack.html#variable:CPACK_PROJECT_CONFIG_FILE -# -# All common CPACK_* variables are set in CMakeLists.txt already. This file only -# overrides some of these to provide package generator specific settings. - -# whether package contains all development files or only runtime files -set (DEVEL @INSTALL_HEADERS@) - -# ------------------------------------------------------------------------------ -# Mac OS X package -if (CPACK_GENERATOR MATCHES "PackageMaker|DragNDrop") - - set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}") - if (DEVEL) - set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}-devel") - endif () - set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}-${CPACK_PACKAGE_VERSION}") - -# ------------------------------------------------------------------------------ -# Debian package -elseif (CPACK_GENERATOR MATCHES "DEB") - - set (CPACK_PACKAGE_FILE_NAME "lib${CPACK_PACKAGE_NAME}") - if (DEVEL) - set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}-dev") - else () - set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}0") - endif () - set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}_${CPACK_PACKAGE_VERSION}-1_${CPACK_PACKAGE_ARCHITECTURE}") - - set (CPACK_DEBIAN_PACKAGE_DEPENDS) - set (CPACK_DEBIAN_PACKAGE_SECTION "devel") - set (CPACK_DEBIAN_PACKAGE_PRIORITY "optional") - set (CPACK_DEBIAN_PACKAGE_HOMEPAGE "${CPACK_RPM_PACKAGE_URL}") - set (CPACK_DEBIAN_PACKAGE_MAINTAINER "${CPACK_PACKAGE_VENDOR}") - set (CPACK_DEBIAN_PACKAGE_ARCHITECTURE "${CPACK_PACKAGE_ARCHITECTURE}") - -# ------------------------------------------------------------------------------ -# RPM package -elseif (CPACK_GENERATOR MATCHES "RPM") - - set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}") - if (DEVEL) - set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}-devel") - endif () - set (CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}-${CPACK_PACKAGE_VERSION}-1.${CPACK_PACKAGE_ARCHITECTURE}") - -endif () http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/third_party/gflags/cmake/utils.cmake ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/third_party/gflags/cmake/utils.cmake b/third_party/src/tmb/third_party/gflags/cmake/utils.cmake deleted file mode 100644 index 9cef463..0000000 --- a/third_party/src/tmb/third_party/gflags/cmake/utils.cmake +++ /dev/null @@ -1,96 +0,0 @@ -## Utility CMake functions. - -# ---------------------------------------------------------------------------- -## Convert boolean value to 0 or 1 -macro (bool_to_int VAR) - if (${VAR}) - set (${VAR} 1) - else () - set (${VAR} 0) - endif () -endmacro () - -# ---------------------------------------------------------------------------- -## Extract version numbers from version string. -function (version_numbers version major minor patch) - if (version MATCHES "([0-9]+)(\\.[0-9]+)?(\\.[0-9]+)?(rc[1-9][0-9]*|[a-z]+)?") - if (CMAKE_MATCH_1) - set (_major ${CMAKE_MATCH_1}) - else () - set (_major 0) - endif () - if (CMAKE_MATCH_2) - set (_minor ${CMAKE_MATCH_2}) - string (REGEX REPLACE "^\\." "" _minor "${_minor}") - else () - set (_minor 0) - endif () - if (CMAKE_MATCH_3) - set (_patch ${CMAKE_MATCH_3}) - string (REGEX REPLACE "^\\." "" _patch "${_patch}") - else () - set (_patch 0) - endif () - else () - set (_major 0) - set (_minor 0) - set (_patch 0) - endif () - set ("${major}" "${_major}" PARENT_SCOPE) - set ("${minor}" "${_minor}" PARENT_SCOPE) - set ("${patch}" "${_patch}" PARENT_SCOPE) -endfunction () - -# ---------------------------------------------------------------------------- -## Configure public header files -function (configure_headers out) - set (tmp) - foreach (src IN LISTS ARGN) - if (IS_ABSOLUTE "${src}") - list (APPEND tmp "${src}") - elseif (EXISTS "${PROJECT_SOURCE_DIR}/src/${src}.in") - configure_file ("${PROJECT_SOURCE_DIR}/src/${src}.in" "${PROJECT_BINARY_DIR}/include/${GFLAGS_INCLUDE_DIR}/${src}" @ONLY) - list (APPEND tmp "${PROJECT_BINARY_DIR}/include/${GFLAGS_INCLUDE_DIR}/${src}") - else () - configure_file ("${PROJECT_SOURCE_DIR}/src/${src}" "${PROJECT_BINARY_DIR}/include/${GFLAGS_INCLUDE_DIR}/${src}" COPYONLY) - list (APPEND tmp "${PROJECT_BINARY_DIR}/include/${GFLAGS_INCLUDE_DIR}/${src}") - endif () - endforeach () - set (${out} "${tmp}" PARENT_SCOPE) -endfunction () - -# ---------------------------------------------------------------------------- -## Configure source files with .in suffix -function (configure_sources out) - set (tmp) - foreach (src IN LISTS ARGN) - if (src MATCHES ".h$" AND EXISTS "${PROJECT_SOURCE_DIR}/src/${src}.in") - configure_file ("${PROJECT_SOURCE_DIR}/src/${src}.in" "${PROJECT_BINARY_DIR}/include/${GFLAGS_INCLUDE_DIR}/${src}" @ONLY) - list (APPEND tmp "${PROJECT_BINARY_DIR}/include/${GFLAGS_INCLUDE_DIR}/${src}") - else () - list (APPEND tmp "${PROJECT_SOURCE_DIR}/src/${src}") - endif () - endforeach () - set (${out} "${tmp}" PARENT_SCOPE) -endfunction () - -# ---------------------------------------------------------------------------- -## Add usage test -# -# Using PASS_REGULAR_EXPRESSION and FAIL_REGULAR_EXPRESSION would -# do as well, but CMake/CTest does not allow us to specify an -# expected exit status. Moreover, the execute_test.cmake script -# sets environment variables needed by the --fromenv/--tryfromenv tests. -macro (add_gflags_test name expected_rc expected_output unexpected_output cmd) - set (args "--test_tmpdir=${PROJECT_BINARY_DIR}/Testing/Temporary" - "--srcdir=${PROJECT_SOURCE_DIR}/test") - add_test ( - NAME ${name} - COMMAND "${CMAKE_COMMAND}" "-DCOMMAND:STRING=$<TARGET_FILE:${cmd}>;${args};${ARGN}" - "-DEXPECTED_RC:STRING=${expected_rc}" - "-DEXPECTED_OUTPUT:STRING=${expected_output}" - "-DUNEXPECTED_OUTPUT:STRING=${unexpected_output}" - -P "${PROJECT_SOURCE_DIR}/cmake/execute_test.cmake" - WORKING_DIRECTORY "${GFLAGS_FLAGFILES_DIR}" - ) -endmacro () http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/third_party/gflags/cmake/version.cmake.in ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/third_party/gflags/cmake/version.cmake.in b/third_party/src/tmb/third_party/gflags/cmake/version.cmake.in deleted file mode 100644 index 1e1af05..0000000 --- a/third_party/src/tmb/third_party/gflags/cmake/version.cmake.in +++ /dev/null @@ -1,21 +0,0 @@ -## gflags CMake configuration version file - -# ----------------------------------------------------------------------------- -# library version -set (PACKAGE_VERSION "@PACKAGE_VERSION@") - -# ----------------------------------------------------------------------------- -# check compatibility - -# Perform compatibility check here using the input CMake variables. -# See example in http://www.cmake.org/Wiki/CMake_2.6_Notes. - -set (PACKAGE_VERSION_COMPATIBLE TRUE) -set (PACKAGE_VERSION_UNSUITABLE FALSE) - -if ("${PACKAGE_FIND_VERSION_MAJOR}" EQUAL "@PACKAGE_VERSION_MAJOR@" AND - "${PACKAGE_FIND_VERSION_MINOR}" EQUAL "@PACKAGE_VERSION_MINOR@") - set (PACKAGE_VERSION_EXACT TRUE) -else () - set (PACKAGE_VERSION_EXACT FALSE) -endif () http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/a5454337/third_party/src/tmb/third_party/gflags/doc/designstyle.css ---------------------------------------------------------------------- diff --git a/third_party/src/tmb/third_party/gflags/doc/designstyle.css b/third_party/src/tmb/third_party/gflags/doc/designstyle.css deleted file mode 100644 index f5d1ec2..0000000 --- a/third_party/src/tmb/third_party/gflags/doc/designstyle.css +++ /dev/null @@ -1,115 +0,0 @@ -body { - background-color: #ffffff; - color: black; - margin-right: 1in; - margin-left: 1in; -} - - -h1, h2, h3, h4, h5, h6 { - color: #3366ff; - font-family: sans-serif; -} -@media print { - /* Darker version for printing */ - h1, h2, h3, h4, h5, h6 { - color: #000080; - font-family: helvetica, sans-serif; - } -} - -h1 { - text-align: center; - font-size: 18pt; -} -h2 { - margin-left: -0.5in; -} -h3 { - margin-left: -0.25in; -} -h4 { - margin-left: -0.125in; -} -hr { - margin-left: -1in; -} - -/* Definition lists: definition term bold */ -dt { - font-weight: bold; -} - -address { - text-align: right; -} -/* Use the <code> tag for bits of code and <var> for variables and objects. */ -code,pre,samp,var { - color: #006000; -} -/* Use the <file> tag for file and directory paths and names. */ -file { - color: #905050; - font-family: monospace; -} -/* Use the <kbd> tag for stuff the user should type. */ -kbd { - color: #600000; -} -div.note p { - float: right; - width: 3in; - margin-right: 0%; - padding: 1px; - border: 2px solid #6060a0; - background-color: #fffff0; -} - -UL.nobullets { - list-style-type: none; - list-style-image: none; - margin-left: -1em; -} - -/* -body:after { - content: "Google Confidential"; -} -*/ - -/* pretty printing styles. See prettify.js */ -.str { color: #080; } -.kwd { color: #008; } -.com { color: #800; } -.typ { color: #606; } -.lit { color: #066; } -.pun { color: #660; } -.pln { color: #000; } -.tag { color: #008; } -.atn { color: #606; } -.atv { color: #080; } -pre.prettyprint { padding: 2px; border: 1px solid #888; } - -.embsrc { background: #eee; } - -@media print { - .str { color: #060; } - .kwd { color: #006; font-weight: bold; } - .com { color: #600; font-style: italic; } - .typ { color: #404; font-weight: bold; } - .lit { color: #044; } - .pun { color: #440; } - .pln { color: #000; } - .tag { color: #006; font-weight: bold; } - .atn { color: #404; } - .atv { color: #060; } -} - -/* Table Column Headers */ -.hdr { - color: #006; - font-weight: bold; - background-color: #dddddd; } -.hdr2 { - color: #006; - background-color: #eeeeee; } \ No newline at end of file