Skip to content

Instantly share code, notes, and snippets.

@mcandre
Last active May 1, 2021 02:22
Show Gist options
  • Save mcandre/5ceb67ad44f6b974d33bcddedcb16e89 to your computer and use it in GitHub Desktop.
Save mcandre/5ceb67ad44f6b974d33bcddedcb16e89 to your computer and use it in GitHub Desktop.

Revisions

  1. Andrew revised this gist May 1, 2021. 1 changed file with 9 additions and 2 deletions.
    11 changes: 9 additions & 2 deletions windows-install-msvc-and-clang.md
    Original file line number Diff line number Diff line change
    @@ -13,8 +13,15 @@ PS C:\> choco install --force visualstudio2019-workload-nativedesktop --package-

    # cmake Integration

    1. Remove any cmake temporary files.
    2. Re-initialize cmake:
    Remove any cmake temporary files.

    ## Re-initialize cmake (MSVC)

    ```console
    PS C:\> cmake .
    ```

    ## Re-initialize cmake (clang)

    ```console
    PS C:\> cmake -T ClangCL .
  2. Andrew renamed this gist May 1, 2021. 1 changed file with 4 additions and 4 deletions.
    Original file line number Diff line number Diff line change
    @@ -1,15 +1,15 @@
    # Windows Install clang
    # Windows Install MSVC and clang

    1. Install [Chocolatey](https://chocolatey.org/).
    2. Launch a PowerShell terminal in administrator mode.
    3. Install `visualstudio2019community`.
    4. Install the Visual Studio 2019 native C++ Desktop workload with the optional Clang component included:
    4. Install the Visual Studio 2019 native C++ Desktop workload with the optional MSVC and clang components included:

    ```console
    PS C:\> choco install --force visualstudio2019-workload-nativedesktop --package-parameters "--includeOptional"
    ```

    5. Reboot (Or sign out then sign back in).
    5. Launch Visual Studio Installer -> Visual Studio 2019 -> Manage -> Uncheck IncrediBuild. Confirm uninstallation of IncrediBuild.
    6. Reboot (Or sign out then sign back in).

    # cmake Integration

  3. Andrew revised this gist Apr 26, 2021. 1 changed file with 11 additions and 2 deletions.
    13 changes: 11 additions & 2 deletions windows-install-clang.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Windows Install Clang
    # Windows Install clang

    1. Install [Chocolatey](https://chocolatey.org/).
    2. Launch a PowerShell terminal in administrator mode.
    @@ -9,4 +9,13 @@
    PS C:\> choco install --force visualstudio2019-workload-nativedesktop --package-parameters "--includeOptional"
    ```

    5. Reboot (Or sign out then sign back in).
    5. Reboot (Or sign out then sign back in).

    # cmake Integration

    1. Remove any cmake temporary files.
    2. Re-initialize cmake:

    ```console
    PS C:\> cmake -T ClangCL .
    ```
  4. Andrew renamed this gist Apr 26, 2021. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. Andrew created this gist Apr 26, 2021.
    12 changes: 12 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    # Windows Install Clang

    1. Install [Chocolatey](https://chocolatey.org/).
    2. Launch a PowerShell terminal in administrator mode.
    3. Install `visualstudio2019community`.
    4. Install the Visual Studio 2019 native C++ Desktop workload with the optional Clang component included:

    ```console
    PS C:\> choco install --force visualstudio2019-workload-nativedesktop --package-parameters "--includeOptional"
    ```

    5. Reboot (Or sign out then sign back in).