Skip to content
Snippets Groups Projects
  1. Apr 17, 2019
    • Ben Boeckel's avatar
      SystemTools: support hiding the translation map · 84bd7c9e
      Ben Boeckel authored and Brad King's avatar Brad King committed
      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. Mar 21, 2019
    • Brad King's avatar
      Merge topic 'static_variables_class' · fd41ac36
      Brad King authored and Kitware Robot's avatar Kitware Robot committed
      
      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: default avatarKitware Robot <kwrobot@kitware.com>
      Merge-request: !134
      fd41ac36
  3. Mar 19, 2019
  4. Mar 17, 2019
    • 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
  5. Mar 12, 2019
  6. Mar 07, 2019
  7. Mar 05, 2019
  8. Feb 25, 2019
  9. Feb 22, 2019
    • 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
  10. Feb 14, 2019
  11. Feb 13, 2019
  12. Feb 12, 2019
  13. Feb 06, 2019
  14. Feb 05, 2019
  15. Feb 04, 2019
  16. Jan 30, 2019
  17. Jan 24, 2019
  18. Jan 23, 2019
  19. Jan 22, 2019
Loading