472,988 Members | 2,346 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,988 software developers and data experts.

Automated builds with VC7.1

Hi,

I have several modules comprising of shared libs (i.e. dlls) and
executables. I would like to be able to do the ff:

1). Build each of the modules individually from the command line
(without having to start MSDEV) - ideally by having a make file in each
of the folders - so I can selectively build the modules I want

2). Have a "master" make file in the parent/root directory so I can
build a release version of all the modules (i.e binaries) - and ideally
move the built binaries to a "release" directory

3). Ability to run unit tests for each of these modules (I'm using CPPUnit).
I'd be particularly interested if anyone out there can recommend (from
personal experience) any Open Source automated build managers they use
or have used in the past. thanks

Nov 17 '05 #1
1 1038


"E.T. Grey" wrote:
Hi,

I have several modules comprising of shared libs (i.e. dlls) and
executables. I would like to be able to do the ff:

1). Build each of the modules individually from the command line
(without having to start MSDEV) - ideally by having a make file in each
of the folders - so I can selectively build the modules I want
We have a small utility program reading a text-file with folder names and
..vcproj names. This script CD to folder and starts devenv with the .VCPROJ in
batch mode
Build "Module" in batch mode:
devenv /useenv Module.vcproj /BUILD Debug /project Module
2). Have a "master" make file in the parent/root directory so I can
build a release version of all the modules (i.e binaries) - and ideally
move the built binaries to a "release" directory
We use devenv POST build commands to copy DLL/EXE + PDB file to binary folder.
PRE build can be used to copy include files.

3). Ability to run unit tests for each of these modules (I'm using CPPUnit).

I guess the batch file can also build and run unit tests.
I'd be particularly interested if anyone out there can recommend (from
personal experience) any Open Source automated build managers they use
or have used in the past. thanks


An alternative is to make a Solution with all projects in and build the
solution from the command line: devenv XX.sln /Build ....
Use /REBUILD for full build.

Note VS2005 comes with a MSBUILD program doing this + some more..

Amount of effort to put into this may depend on the size of your project.
Cheers
Ditlef
Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Max M | last post by:
Yesterday there was an article on Slashdot: http://books.slashdot.org/article.pl?sid=03/09/04/1415210&mode=flat&tid=108&tid=126&tid=156 It is about automatic code generation. I got interrested...
2
by: Konstantin Zakharenko | last post by:
Hello, Our QA team have running a lot of test scripts (for automated regression testing), they run them on the different databases (Oracle/MS SQL). Several of those tests are dependent on the...
5
by: Maximus | last post by:
Guys, I need to make an automated script that runs every x seconds without using a CRON job. I heard there was a way doing it only in PHP. If you know any function that can be used please inform...
3
by: jrett | last post by:
I've got a source tree with over 100 projects, some depending on others and I'd like to set this up on an automated nightly build, or where devs can do private builds of the entire source tree to...
3
by: =?Utf-8?B?UXVpbWJseQ==?= | last post by:
I'm trying to find some good resources on how to script a VS build. Our solution is fairly large, and includes a WinForm app, web services, a couple of websites, etc. I'm trying to find a way to...
0
by: Jordan S. | last post by:
Okay so I've finally "seen the Light" about writing automated unit tests ahead of time. Question: What is a very simple approach that I can use to setting up automated unit tests, considering...
1
by: =?Utf-8?B?UmljaGFyZCBCaXJk?= | last post by:
Hello, I have an issue with the recent Windows Automated Update disabling my ATI All-In-Wonder video capture card in Windows XP. Then when I reload the ATI software, the card works until the next...
4
by: flux505 | last post by:
Hey folks, I was wondering. Is there any free tool for automating source builds that downloads the source code for missing libraries and such? Sort of an apt-get for sources? To the question of...
2
by: Fresno Bob | last post by:
I am looking at continous integration for automatic builds, unit testing etc. Is there anything to automate security testing for SQL injection, XSS? Preferably something cheap - some of the...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
3
SueHopson
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.