Search code examples
eclipseeclipse-cdt

Eclipse project for running a BAT file?


Is there some way of creating a project in Eclipse, without any source files, that when built runs a single BAT file (either directly or via a Makefile, either would be all right)?

The goal is to split an existing project with a post-build step (a BAT-file that performs deployment) into two projects, one for building and one for running the deployment BAT-file.


Solution

  • Take a look at creating an External Tool Launch Configuration via Run->External Tools One type is Program, you can use that to run bat files.