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. Project files are compiling always

Project files are compiling always

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorial
5 Posts 4 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.
  • B Offline
    B Offline
    BiswaR
    wrote on last edited by
    #1

    Hi All, When i am compling my project all files are getting compiled though i do not modify all the files. I think this is related to any setting issue. Can any one please tell me how to stop compilation of all files.

    D C 2 Replies Last reply
    0
    • B BiswaR

      Hi All, When i am compling my project all files are getting compiled though i do not modify all the files. I think this is related to any setting issue. Can any one please tell me how to stop compilation of all files.

      D Offline
      D Offline
      Dennis Gourjii
      wrote on last edited by
      #2

      Look in project/solution settings. The option is smth like "incremental linking" if I'm not mistaken. You include the files you needn't compile every time in stdafx.h -- modified at 5:48 Monday 27th February, 2006

      S 1 Reply Last reply
      0
      • D Dennis Gourjii

        Look in project/solution settings. The option is smth like "incremental linking" if I'm not mistaken. You include the files you needn't compile every time in stdafx.h -- modified at 5:48 Monday 27th February, 2006

        S Offline
        S Offline
        Subramaniam s V
        wrote on last edited by
        #3

        Hi, could you please tell me the advantage of including a file in stafx.h. Does it play a difference role when included in stdafx.h than in other parts of the project? Thanks In Advance

        D 1 Reply Last reply
        0
        • S Subramaniam s V

          Hi, could you please tell me the advantage of including a file in stafx.h. Does it play a difference role when included in stdafx.h than in other parts of the project? Thanks In Advance

          D Offline
          D Offline
          Dennis Gourjii
          wrote on last edited by
          #4

          The difference is that these files only get recompiled if you use "Rebuild All", otherwise they are assumed to be without any changes unless you make these changes from within Visual Studio. Usually you will include in stdafx.h all libraries and other code that won't be modified by you during development.

          1 Reply Last reply
          0
          • B BiswaR

            Hi All, When i am compling my project all files are getting compiled though i do not modify all the files. I think this is related to any setting issue. Can any one please tell me how to stop compilation of all files.

            C Offline
            C Offline
            Cedric Moonen
            wrote on last edited by
            #5

            If you change things in a header file (.h), all files that include this header file will be recompiled again because they depends on this file.

            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