Skip to content
Snippets Groups Projects
  1. Jul 26, 2021
    • Brad King's avatar
      VS: Remove C++ module CompileAs flag table entries for v142 and v143 · 937f454f
      Brad King authored
      The `CompileAs` entry in a `.vcxproj` file with values:
      
      * `CompileAsCppModule` for `-interface`
      * `CompileAsCppModuleInternalPartition` for `-internalPartition`
      * `CompileAsHeaderUnit` for `-exportHeader`
      
      does not cause the corresponding flag to be added to the command line.
      Drop the flag table entries so that the flags go to `AdditionalOptions`.
      
      Fixes: #22477
      937f454f
    • Brad King's avatar
      VS: Remove cl /FS entry from flag table for v142 and v143 · 8fb349a8
      Brad King authored
      The `ForceSynchronousPDBWrites` entry in a `.vcxproj` file does not
      actually cause the `/FS` flag to be added to the command line.
      
      Fixes: #22476
      8fb349a8
  2. Jul 15, 2021
  3. Jul 14, 2021
  4. Jun 28, 2021
  5. Jun 25, 2021
    • Brad King's avatar
      VS: Update v142 CL flag table for VS 17.0 Preview 1 · b610b7a3
      Brad King authored
      Run the command
      
          python3 Source/cmConvertMSBuildXMLToJSON.py -t v142 \
              'c:/.../MSBuild/Microsoft/VC/v160/1033/cl.xml'
      
      To generate `v142_CL.json` locally.  Manually move new and updated
      settings over to `Templates/MSBuild/FlagTables/v142_CL.json`.
      b610b7a3
  6. Jun 17, 2021
    • Brad King's avatar
      VS: Do not apply any '/external:*' flag table mapping on VS < 16.10 · b0f830ce
      Brad King authored
      Since commit 887e9df0 (VS: Update v142 CL flag table for VS 16.10,
      2021-06-04) we map several `/external:*` flags to their corresponding
      `.vcxproj` elements.  These elements were added to `cl.xml` in VS 16.10,
      so filter them out in older VS versions.  Add a field to the json flag
      table format to specify the minimum version of VS needed for a given
      mapping.
      
      Issue: #22308
      b0f830ce
  7. Jun 09, 2021
    • Brad King's avatar
      VS: Add support for add_custom_command DEPFILE · 526e2ef7
      Brad King authored
      Transform the depfile into MSBuild `AdditionalInputs` content.  Add
      MSBuild Targets to update `AdditionalInputs` and the `.tlog` files for
      future builds without actually modifying the `.vcxproj` file.
      
      Fixes: #20286
      526e2ef7
  8. Jun 08, 2021
  9. Jun 04, 2021
    • Brad King's avatar
      VS: Update v142 CL flag table for VS 16.10 · 887e9df0
      Brad King authored
      Run the command
      
          python3 Source/cmConvertMSBuildXMLToJSON.py -t v142 \
              'c:/.../MSBuild/Microsoft/VC/v160/1033/cl.xml'
      
      To generate `v142_CL.json` locally.  Manually move new and updated
      settings over to `Templates/MSBuild/FlagTables/v142_CL.json`.
      
      Revise the `/sourceDependencies[:directives]` table entries to properly
      distinguish the two options (because one is a prefix of the other), and
      to populate both `Generate*Dependencies` and `*DependenciesFile`.
      887e9df0
    • Brad King's avatar
      VS: Update v141 CL flag table for VS 15.9 · 25e33a28
      Brad King authored
      Run the command
      
          python3 Source/cmConvertMSBuildXMLToJSON.py -t v141 \
              'c:/.../Common7/IDE/VC/VCTargets/1033/cl.xml'
      
      To generate `v141_CL.json` locally.  Manually move new and updated
      settings over to `Templates/MSBuild/FlagTables/v141_CL.json`.
      25e33a28
    • Brad King's avatar
  10. May 28, 2021
  11. Apr 28, 2021
    • Sergey's avatar
      create_test_sourcelist: add test driver option to run all tests · 3f6ff4b5
      Sergey authored and Brad King's avatar Brad King committed
      New option `-A` passed to test binary allows to run all testcases at
      once and prints a report in a standard format - TestAnythingProtocol v.13 [1].
      Execution of test whose names will be passed after an option will be skipped.
      
      Sample of output:
      
          TAP version 13
          1..6
          ok 1 TestCryptoHash # 0.030000
          ok 2 TestCryptoRand # 0.008000
          not ok 3 TestCryptoCipher # 0.005000
          ok 4 TestCryptoProtectData # 0.000000
          cbPlainText: 21 cbCipherText: 32
          PlainText: MySecretPassword123! (cbPlainText = 21, cbCipherText = 32)
          Decrypted CipherText: MySecretPassword123!
          ok 5 TestCryptoProtectMemory # 0.014000
          ok 6 TestCryptoCertEnumCertificatesInStore # 0.000000
      
      1. https://testanything.org/
      
      Fixes: #19367
      3f6ff4b5
  12. Apr 26, 2021
  13. Apr 21, 2021
  14. Jan 25, 2021
  15. Jan 20, 2021
  16. Dec 21, 2020
  17. Sep 28, 2020
  18. Apr 13, 2020
  19. Jan 02, 2020
Loading