1. 17 Apr, 2019 2 commits
    • Brad King's avatar
      Merge topic 'hide-translation-map' · c42b92f0
      Brad King authored
      84bd7c9e SystemTools: support hiding the translation map
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Merge-request: !139
      c42b92f0
    • Ben Boeckel's avatar
      SystemTools: support hiding the translation map · 84bd7c9e
      Ben Boeckel authored
      When determining full paths, CMake would treat the as-called path for
      the source and build directories as real paths even if they were
      symlinks. This causes problems when determining the relative path
      between the source and build directories when they are symlinks.
      
      Take the following setup as an example:
      
          /mnt/src/project/
              src/
              build/ -> /mnt/builds/project/build
      
      With the translation map and /mnt/src/project/build/ as the build
      directory, CMake would use ../src as the relative path to the source
      tree from the build tree rather than ../../../src/project/src and
      lookups using ../src would fail. If the build directory were instead
      used *as* /mnt/builds/project/build, everything would work just
      fine.
      
      This patch makes the core logic which does this logic optional so that
      it can be experimented with in CMake itself.
      84bd7c9e
  2. 16 Apr, 2019 1 commit
  3. 14 Apr, 2019 8 commits
  4. 28 Mar, 2019 3 commits
  5. 27 Mar, 2019 1 commit
  6. 26 Mar, 2019 2 commits
  7. 25 Mar, 2019 5 commits
  8. 21 Mar, 2019 1 commit
    • Brad King's avatar
      Merge topic 'static_variables_class' · fd41ac36
      Brad King authored
      8b58389c SystemTools: Move private ReplaceString method to SystemToolsStatic class
      7512ab8c SystemTools: Move private FindIsFullPath method to SystemToolsStatic class
      a1271fea SystemTools: Move private FindName method to SystemToolsStatic
      d9db985f SystemTools: Move private GetEnvImpl method to SystemToolsStatic
      9e32eecd SystemTools: Move private type definitions to SystemToolsStatic
      67eb2674 SystemTools: Move SystemTools::TranslationMap to SystemToolsStatic
      706919be SystemTools: Move SystemTools::PathCaseMap to SystemToolsStatic
      7c273c83 SystemTools: Move SystemTools::EnvMap to SystemToolsStatic
      ...
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Merge-request: !134
      fd41ac36
  9. 19 Mar, 2019 9 commits
  10. 17 Mar, 2019 1 commit
    • Sebastian Holtermann's avatar
      SystemTools: Add SystemToolsStatic class skeleton · 6fed6364
      Sebastian Holtermann authored
      The new private class SystemToolsStatic is supposed to hold all static
      SystemTools variables in a single singleton class.  Static SystemTools
      variables will be moved to SystemToolsStatic in following commits.  This patch
      only adds the class skeleton type, its allocation and deletion.
      6fed6364
  11. 12 Mar, 2019 2 commits
  12. 07 Mar, 2019 1 commit
  13. 05 Mar, 2019 1 commit
  14. 25 Feb, 2019 1 commit
  15. 22 Feb, 2019 1 commit
    • Brad King's avatar
      Configure: Drop Large File Support macro definitions · 363bf5ab
      Brad King authored
      Historically we have defined macros like
      
      * `_LARGEFILE_SOURCE`
      * `_LARGEFILE64_SOURCE`
      * `_LARGE_FILES`
      * `_FILE_OFFSET_BITS`
      
      in `Configure.h` to activate large file support in system headers.  This
      requires consuming projects to include the header at the beginning of
      every translation unit in order to get the macros defined consistently.
      
      Instead these macros should be defined by the build system on the
      compiler command line.  Drop them from KWSys in favor of that approach.
      The macros are not needed as often as they once were anyway.
      363bf5ab
  16. 14 Feb, 2019 1 commit