Skip to content
Snippets Groups Projects
  1. Jul 21, 2016
  2. Jul 19, 2016
  3. Jul 15, 2016
  4. Jul 13, 2016
  5. Jul 12, 2016
  6. Jul 11, 2016
  7. Jul 07, 2016
  8. Jul 05, 2016
  9. Jun 30, 2016
  10. Jun 29, 2016
  11. Jun 28, 2016
  12. Jun 27, 2016
    • Brad King's avatar
      76c66bf5
    • Ben Boeckel's avatar
      ninja, rc: ignore CMAKE_NINJA_FORCE_RESPONSE_FILE for RC files · 15b3f6f0
      Ben Boeckel authored and Brad King's avatar Brad King committed
      In commit v3.6.0-rc1~174^2 (Ninja: Honor CMAKE_NINJA_FORCE_RESPONSE_FILE
      for compile rules, 2016-04-06), Ninja learned to look for
      `CMAKE_NINJA_FORCE_RESPONSE_FILE` in the current scope or the
      environment in order to force response file usage for all compilation
      rules.
      
      However, on Windows, the RC compiler goes through cmcldeps which does a
      `replace(output, output + ".dep.obj")` on the command line. However,
      with a response file (which we name `output + ".rsp"`), the response
      file path is replaced instead causing the compiler to (correctly)
      complain that the response file `output + ".dep.obj.rsp"` does not
      exist.
      
      What needs to happen is for cmcldeps to look through the response file,
      replace *its* contents and place it in the `output + ".dep.obj.rsp"`
      file.
      
      Also add a test which actually compiles an RC file into a library and
      executable for all generators on Windows and additionally test
      `CMAKE_NINJA_FORCE_RESPONSE_FILE` for Ninja generators.
      
      Fixes #16167.
      15b3f6f0
    • Brad King's avatar
      cd293886
  13. Jun 24, 2016
  14. Jun 23, 2016
Loading