Make it possible for users for select /Zi or /ZI over /Z7 when using MSVC (#18790)
authorpeter <peterghost86@gmail.com>
Wed, 3 Apr 2019 15:19:45 +0000 (08:19 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 3 Apr 2019 15:24:52 +0000 (08:24 -0700)
commit5e33085f270edd4ee17db47eb7cd0d2fc0cdb196
tree942d0bfce80b90a31031900af156f9f1907b45a8
parent06b7fe59f2800b95571daf86e8031cfc857c1500
Make it possible for users for select /Zi or /ZI over /Z7 when using MSVC (#18790)

Summary:
Fixes https://github.com/pytorch/pytorch/issues/18701.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18790

Differential Revision: D14748195

Pulled By: ezyang

fbshipit-source-id: e50df1b5ca199a88d7b5ea3ea45d25d23cd31a27
CMakeLists.txt
cmake/Dependencies.cmake
tools/build_pytorch_libs.py