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