c++ - How to create an out of source tree project with Visual Studio? -


i use show files feature in solution explorer displays project files in folder structure mirrors file system, instead of using visual studio's filters. goal create visual studio project outside of source tree still lists files in directory structure.

what did far create empty solution , project in directory structure shown below. selected 3 folders inside src directory , dragged them project. got added project show as plain list in solution explorer, not in native directory structure.

repository ├─ src │  ├─ types │  │  ├─ *.h │  │  └─ *.cpp │  ├─ managers │  │  ├─ *.h │  │  └─ *.cpp │  └─ modules │     ├─ *.h │     └─ *.cpp └─ project    ├─ *.sln    └─ *.vcxproj 

how can create project located out of source tree without breaking mentioned file system view?

i couldn't find out how out of source tree projects in visual studio think not supported. solve problem, added file names visual studio uses our .gitignore. lists provided on internet, example github.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -