1. 19 Sep, 2019 1 commit
    • Brad King's avatar
      Tests: Decouple Plugin test from KWSys · c578caa6
      Brad King authored
      KWSys now requires C++11 but we want this test to be able to run as
      C++98.  Copy the KWSys DynamicLoader implementation (with original
      notice headers and license reference) and update it to work alone.
      c578caa6
  2. 24 Jul, 2019 1 commit
    • Brad King's avatar
      Clang: For MSVC ABI do not use modes older than C++14 · d50b31be
      Brad King authored
      Since commit d44c0db0 (clang: setup correct configuration in gnu mode,
      2019-02-20, v3.15.0-rc1~41^2~5) we support the GNU-like Clang that
      targets the MSVC ABI.  However, Clang cannot compile with the MSVC
      standard library unless it runs in a mode aware of C++14 (since MSVC
      itself does not even have a lower mode).  When `CMAKE_CXX_STANDARD` is
      set to 98 or 11, use C++14 anyway.
      
      Since Clang's default mode is aware of C++14, another option is to not
      add any flags for 98 or 11.  However, if a future Clang version ever
      defaults to a higher C++ standard, setting the standard to 98 or 11
      should at least not use a mode higher than 14.
      
      Also revert test updates from commit 4819ff96 (Tests: fix failures
      with gnu mode clang on windows, 2019-03-21, v3.15.0-rc1~41^2~3) that
      were meant to work around the standard selection problem.
      
      Fixes: #19496
      d50b31be
  3. 24 May, 2019 1 commit
    • Zsolt Parragi's avatar
      Tests: fix failures with gnu mode clang on windows · 4819ff96
      Zsolt Parragi authored
          Root causes were:
          * Using incorrect conditions (assuming MSVC-like command line mode)
          * Trying to compile the MSVC STL in C++11 mode, when parts of it require
            C++14 or enabling MS extensions in clang.
          * Missing flush in a testcase using stdout in a dll and a main part
          with static crt
      4819ff96
  4. 29 Mar, 2019 1 commit
    • Brad King's avatar
      Tests: Fix Plugin test for international characters on Windows · 15be06a5
      Brad King authored
      Build KWSys with `CP_UTF8` internal encoding so that we can dynamically
      load modules by absolute paths that contain international characters.
      This is needed now that KWSys DynamicLoader uses KWSys Encoding instead
      of hard-coding `CP_UTF8` itself.
      15be06a5
  5. 07 Aug, 2017 1 commit
    • Brad King's avatar
      HP-UX: Drop support for building CMake on HP-UX · 49640d36
      Brad King authored
      CMake will soon require both C++11 and libuv to build.  Neither of
      these works on HP-UX, so unfortunately we need to drop support for
      the platform until someone can get them working.
      
      Issue: #17137
      49640d36
  6. 26 May, 2017 1 commit
  7. 27 Jul, 2016 1 commit
    • Daniel Pfeifer's avatar
      Use string(APPEND) in Tests · 7a649111
      Daniel Pfeifer authored
      Automate with:
      
      find Tests -type f -print0 | xargs -0 perl -i -0pe \
      's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
      7a649111
  8. 10 Mar, 2016 1 commit
  9. 20 Aug, 2015 1 commit
  10. 25 Apr, 2014 1 commit
  11. 24 Oct, 2013 1 commit
    • Stephen Kelly's avatar
      Refactor the Plugin test. · 30ff6cf9
      Stephen Kelly authored
      Policy CMP0024 was introduced to disallow the include() of a file
      generated by export().
      
      Use ExternalProject to test the plugins after building.
      30ff6cf9
  12. 13 Aug, 2012 1 commit
    • Kitware Robot's avatar
      Convert CMake-language commands to lower case · 77543bde
      Kitware Robot authored
      Ancient CMake versions required upper-case commands.  Later command
      names became case-insensitive.  Now the preferred style is lower-case.
      
      Run the following shell code:
      
      cmake --help-command-list |
      grep -v "cmake version" |
      while read c; do
          echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
      done >convert.sed &&
      git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
      egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
      xargs -0 sed -i -f convert.sed &&
      rm convert.sed
      77543bde
  13. 30 Apr, 2012 1 commit
    • Brad King's avatar
      Test NO_SONAME property (#13155) · fdb3f878
      Brad King authored
      Teach the Plugin test to check that the NO_SONAME target property works
      as documented.  Check that the IMPORTED targets are written with the
      correct properties.  When readelf is available use it to check the
      actual binary files for SONAME fields.
      fdb3f878
  14. 08 Jul, 2009 1 commit
  15. 15 Jun, 2009 1 commit
    • Brad King's avatar
      BUG: Create an exe's implib output dir for VS · f4b3bdc6
      Brad King authored
      If an executable marks symbols with __declspec(dllexport) then VS
      creates an import library for it.  However, it forgets to create the
      directory that will contain the import library if it is different from
      the location of the executable.  We work around this VS bug by creating
      a pre-build event on the executable target to make the directory.
      f4b3bdc6
  16. 25 Mar, 2008 1 commit
  17. 17 Apr, 2007 3 commits