hnOsmium0001

Untitled

Sep 8th, 2020 (edited)
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. conan install ..
  2.  
  3. $location = Get-Location
  4.  
  5. Import-Module "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/Tools/Microsoft.VisualStudio.DevShell.dll"
  6. Enter-VsDevShell 0b91eec5 -DevCmdArguments '-arch=x64 -no_logo'
  7.  
  8. # Switch back to project directory, since Enter-VsDevShell changes location to ~/source/repos
  9. Set-Location $location
  10.  
  11. cmake .. -G Ninja -DCMAKE_CXX_COMPILER="cl.exe" -DCMAKE_C_COMPILER="cl.exe"
Add Comment
Please, Sign In to add comment