Visual Studio 2010 & 2008 can't handle source files with identical names in different folders?

后端 未结 8 937
难免孤独
难免孤独 2020-11-30 23:58

Direct Question: If I have two files with the same name (but in different directories), it appears that only Visual Studio 2005 can handle this transparentl

8条回答
  •  眼角桃花
    2020-12-01 00:44

    use Configuration Properties > C/C++ > Ouptut Files> $(IntDir)\%(RelativeDir)\%(Filename)

    this will duplicate the source file structure under the debug directory and deposit the object file for each directory in a folder of the same name under the Debug directory

提交回复
热议问题