Skip to content

Instantly share code, notes, and snippets.

@AntonioCS
Created November 19, 2020 08:44
Show Gist options
  • Select an option

  • Save AntonioCS/4ae4a51a8a1cf9bc1b1b64d1c1b8788d to your computer and use it in GitHub Desktop.

Select an option

Save AntonioCS/4ae4a51a8a1cf9bc1b1b64d1c1b8788d to your computer and use it in GitHub Desktop.

Revisions

  1. AntonioCS created this gist Nov 19, 2020.
    7 changes: 7 additions & 0 deletions cl_compile.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    @echo off
    REM Run this in Developer Command Prompt
    REM https://docs.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-alphabetically?view=msvc-160

    set file=%1

    cl %file% /std:c++17 /EHsc