Automating MSDEV studio build process

Trent Mick trentm at ActiveState.com
Thu Jul 11 17:43:00 EDT 2002


[Bjorn Pettersen wrote]
> Does anyone have any experience automating a nightly build process using
> Python in combination with MSDevStudio? I remember some discussion here
> about it a while ago, but I couldn't find any reference to it through
> Google...

You don't need to bother with generating makefiles and calling nmake.
You can just call 'msdev' directly on your .dsw or .dsp files to build
them.


H:\>msdev /?
Usage:
  MSDEV [myprj.dsp|mywksp.dsw]  - load project/workspace
        [<filename>]            - load source file
        /?                      - display usage information
        /EX <macroname>         - execute a VBScript macro
        /OUT <filename>         - redirect command line output to a file
        /USEENV                 - ignore tools.options.directories settings
        /MAKE [<target>] [...]  - build specified target(s)
              [<project> - <platform> <configname>]
              [[<project>|ALL] - [DEBUG|RELEASE|ALL]]
              /CLEAN            - delete intermediate files but don't build
              /REBUILD          - clean and build
              /NORECURSE        - don't build dependent projects


Cheers,
Trent

-- 
Trent Mick
TrentM at ActiveState.com





More information about the Python-list mailing list