Why is Visual Studio 2008 always rebuilding my whole project?

前端 未结 18 1837
栀梦
栀梦 2021-02-05 18:22

I have a Visual Studio project with about 60 C++ source files. I can do a build, and it completes without errors. But if I immediately hit F7 again, it always re-compiles about

18条回答
  •  一生所求
    2021-02-05 18:46

    In my case of such effect (C++ via VS2005) it was on Release configuration only, and the Studio tells in the build output, that compiler option /Gm is ignored if /Zi - option is not set. After setting /Zi via

    Configuration Properties -> C/C++ -> General -> Debug Information Format : Program Database (/Zi) ,

    it was ok. But isn`t there something wrong, when the Release Configuration needs something about Debugging? Not yet clear to me!

提交回复
热议问题