Automated CVS-VC6 building
-
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.
-
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.
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
-
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.
-
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.
CruiseControl.net with Nant can probably solve your needs.
-
CruiseControl.net with Nant can probably solve your needs.
-
hmm, looks cool does ant, cruise control work with C++ I've searched but still can't find any references to C++
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.