1. 22 Jan, 2019 1 commit
    • Craig Scott's avatar
      cmake: Convert no source/build dir error to warning · 68b51fb1
      Craig Scott authored
      Temporarily restore previous behavior that allowed specifying
      no source or build directory to work, even though it was
      neither documented nor supported. This commit is expected
      to eventually be reverted to restore the fatal error for such
      cases.
      
      Relates: #18817
      68b51fb1
  2. 13 Jan, 2019 1 commit
    • Craig Scott's avatar
      cmake: Ensure source and binary dirs are set · 27eb7c5b
      Craig Scott authored
      If only the source dir is provided, the binary dir is assumed
      to be the working directory. If only the binary dir is provided
      and it doesn't yet have a CMakeCache.txt to provide the
      source dir, then the source dir is assumed to be the working
      directory. This logic was not previously being handled
      correctly when -S and/or -B options were involved.
      Furthermore, when both were missing, no suitable error
      message was provided and an empty string was used for
      the build directory.
      
      Fixes: #18707
      27eb7c5b