- [question] how can I execute a batch file during build time ?
- Posted by carrot on February 9th, 2004
With .Net Studio,
I have a solution includes some projects.
I want to execute a batch file during build solution time.
For example,
1'st project is builded.
2'nd project is builded.
" a batch file is executed."
3'rd project is builded.
how can I do this?
how can I include a batch file in the solution?
how can I determine the order in projects and a batch file?
- Posted by Thomas Matthews on February 9th, 2004
carrot wrote:
A simple script that executes "makefiles" for each
project. Search the web for "makefile".
Another idea is to place the executable batch file
inside the makefile.
Check your compiler documentation for "command line
execution".
--
Thomas Matthews
C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
- Posted by Niki Estner on February 9th, 2004
"carrot" <dshong@db.konkuk.ac.kr> wrote in
news:d7f3edbb.0402090127.7befdf67@posting.google.c om...
Why don't you include it in the post-build step of project 2, resp. the
pre-build step of project 3?
see above
You can include a makefile project into your solution (a C++ project type)
that executes a batch file.
I don't know for sure what you mean: the build-order of projects can be
adjusted by setting dependencies between projects.
Niki