Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Annoying build problem with VC++ 2005

Annoying build problem with VC++ 2005

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sylv33
    wrote on last edited by
    #1

    Hello, I have a solution containing 4 different projects and whenever I try to build one of the projects VC++ rebuilds the entire solution (every single file for each project !) even if nothing has been modified since the last build. This is very annoying as certain projects are quite big and are a bit long to build. I checked for circular dependencies but this is not the case. Has anyone else had this problem?? Thanks, Sylv33

    M J 2 Replies Last reply
    0
    • S Sylv33

      Hello, I have a solution containing 4 different projects and whenever I try to build one of the projects VC++ rebuilds the entire solution (every single file for each project !) even if nothing has been modified since the last build. This is very annoying as certain projects are quite big and are a bit long to build. I checked for circular dependencies but this is not the case. Has anyone else had this problem?? Thanks, Sylv33

      M Offline
      M Offline
      Malli_S
      wrote on last edited by
      #2

      Are you sure to use PCH files? Make sure this option is set.

      -Malli...! :rose:****

      S 1 Reply Last reply
      0
      • M Malli_S

        Are you sure to use PCH files? Make sure this option is set.

        -Malli...! :rose:****

        S Offline
        S Offline
        Sylv33
        wrote on last edited by
        #3

        Yes I'm using PCH files. This problem only happens when I have a solution containing multiple projects. Everything builds fine when I only use a single project.

        1 Reply Last reply
        0
        • S Sylv33

          Hello, I have a solution containing 4 different projects and whenever I try to build one of the projects VC++ rebuilds the entire solution (every single file for each project !) even if nothing has been modified since the last build. This is very annoying as certain projects are quite big and are a bit long to build. I checked for circular dependencies but this is not the case. Has anyone else had this problem?? Thanks, Sylv33

          J Offline
          J Offline
          JudyL_MD
          wrote on last edited by
          #4

          Sylv33 wrote:

          Has anyone else had this problem??

          Sorry, no. I've got a solution that has 8 projects in it and the "build only what changed" works fine. If anything, it occasionally misses a dependency and doesn't rebuild enough. Before you ask it to build, go through Explorer and look at your date/time stamps on your .obj files and check what they show copmpared to the date/time on the source files. Maybe something else is messing up your file dates. Judy

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups