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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Custom build step in VS2008

Custom build step in VS2008

Scheduled Pinned Locked Moved C / C++ / MFC
2 Posts 2 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.
  • J Offline
    J Offline
    jung kreidler
    wrote on last edited by
    #1

    Hi all, I have a question about the custom build step in Visual Studio. Custom build step runs fine, but it compiles always at 'Start Debug' and 'Build', without any change of the source code. What triggers the compilation, or what prevents a compilation in case the source code is unchanged? Any ideas? jung-kreidler

    S 1 Reply Last reply
    0
    • J jung kreidler

      Hi all, I have a question about the custom build step in Visual Studio. Custom build step runs fine, but it compiles always at 'Start Debug' and 'Build', without any change of the source code. What triggers the compilation, or what prevents a compilation in case the source code is unchanged? Any ideas? jung-kreidler

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #2

      IIRC, you need to specify what output files the build step produces. Then, VS can check if the outputs are older than the source and know to do the build. If there are no outputs specified, then it'll always do the build step, as it doesn't know any different.

      Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

      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