microsoft / python-sample-vs-cpp-extension

This sample is the end product for the walkthrough on https://docs.microsoft.com/en-us/visualstudio/python/working-with-c-cpp-python-in-visual-studio
MIT License
76 stars 37 forks source link

$(PythonHome) #3

Open neon5d opened 5 years ago

neon5d commented 5 years ago

I wondered where $(PythonHome) is declared. I followed "Create a C++ extension for Python" tutorial, but still, my c++ project can't get $(PythonHome) as the superfastcode2 example. Python Environments are setup correctly in the solution.

fralik commented 1 year ago

See inside vcxproj project. It's some things related to MSBuild, which are not directly visible in Visual Studio. At least I do not know how to see it there.