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. Automated CVS-VC6 building

Automated CVS-VC6 building

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
6 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.
  • A Offline
    A Offline
    andwan0
    wrote on last edited by
    #1

    This is a big question that covers both building & source-control of programs. I use Perforce (they don't have forums) as my CVS source-control. Does anyone have any good ideas on how to write a batch-process to: 1. Sync to a specific changelist (collection of versions) in Perforce 2. Use MS VC6 to batch build (consists of multiple projs of dlls/exes) and might need rebuild/relink due to dependencies. 3. Once 100% built (rebuild doesn't do any further linking) then move to folder with same name as the changelist #. 4. Repeat from step 1 onto the next changelist.

    D L R 3 Replies Last reply
    0
    • A andwan0

      This is a big question that covers both building & source-control of programs. I use Perforce (they don't have forums) as my CVS source-control. Does anyone have any good ideas on how to write a batch-process to: 1. Sync to a specific changelist (collection of versions) in Perforce 2. Use MS VC6 to batch build (consists of multiple projs of dlls/exes) and might need rebuild/relink due to dependencies. 3. Once 100% built (rebuild doesn't do any further linking) then move to folder with same name as the changelist #. 4. Repeat from step 1 onto the next changelist.

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      At my last place of employment, we put together a set of batch files that would run nightly to check files out of SourceSafe, compile each module, and then check files back in. All errors were captured in a log file that got looked at the next day.

      "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

      "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

      1 Reply Last reply
      0
      • A andwan0

        This is a big question that covers both building & source-control of programs. I use Perforce (they don't have forums) as my CVS source-control. Does anyone have any good ideas on how to write a batch-process to: 1. Sync to a specific changelist (collection of versions) in Perforce 2. Use MS VC6 to batch build (consists of multiple projs of dlls/exes) and might need rebuild/relink due to dependencies. 3. Once 100% built (rebuild doesn't do any further linking) then move to folder with same name as the changelist #. 4. Repeat from step 1 onto the next changelist.

        L Offline
        L Offline
        led mike
        wrote on last edited by
        #3

        Never used perforce. Have used Ant and I recommend it. That said check this out[^]

        1 Reply Last reply
        0
        • A andwan0

          This is a big question that covers both building & source-control of programs. I use Perforce (they don't have forums) as my CVS source-control. Does anyone have any good ideas on how to write a batch-process to: 1. Sync to a specific changelist (collection of versions) in Perforce 2. Use MS VC6 to batch build (consists of multiple projs of dlls/exes) and might need rebuild/relink due to dependencies. 3. Once 100% built (rebuild doesn't do any further linking) then move to folder with same name as the changelist #. 4. Repeat from step 1 onto the next changelist.

          R Offline
          R Offline
          Rolf Kristensen
          wrote on last edited by
          #4

          CruiseControl.net with Nant can probably solve your needs.

          A 1 Reply Last reply
          0
          • R Rolf Kristensen

            CruiseControl.net with Nant can probably solve your needs.

            A Offline
            A Offline
            andwan0
            wrote on last edited by
            #5

            hmm, looks cool does ant, cruise control work with C++ I've searched but still can't find any references to C++

            R 1 Reply Last reply
            0
            • A andwan0

              hmm, looks cool does ant, cruise control work with C++ I've searched but still can't find any references to C++

              R Offline
              R Offline
              Rolf Kristensen
              wrote on last edited by
              #6

              CruiseControl main purpose is to get the latest version of the source from the version-control-system, and start building the solution using the latest source (Independent of the programing language used in the solution) Nant is merely a "script" language to specify how the build proces should be performed. You can call the VC6 compiler from nant, and that way build the solution.

              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