I have two files that I need to compile and run my program.
One is called "make.bat", which I added as the "Make Command Line". Luckily, it is executed in the project's directory. Another one is called "run.bat".
How do I best execute "run.bat"? It needs to be run from the project's directory ...
Running a program
The first step in setting up the any tool is to use the Options, Editor Options menu and in the General section check the Help debug tools, macros and executables option. This option displays additional debug information, making it much easier to get the configuration working.
Now to when it come to running compilers, makers and executable Zeus gives you many choices. Described below are two ways to do this:
(1) Using a Workspace
This is the approach I would use as it keeps your files and you build commands together.
To use this approach you need to create a workspace. You can create a workspace by hand using the Workspace, New menu or alternatively you can also download the Workspace Builder utility.
Once the workspace is defined, open the workspace in Zeus and use the Workspace, Options menu. Define the compiler, maker, debug and execute commands in the Compiler and Project sections of the Workspace options dialog.
These options can then be executed using the Compiler, Compile menu and the Workspace, Make, Rebuild All, Execute and Debug menus.
(2) Using a Document type and a Tool
You can use the Document Type to run the build and use the Tools, Options menu to define a tool to execute the results of the build. Naturally, rather than using the document type to do the build, you could also define a second tool to run the build process.
It is also possible to run the compile, build and execute steps via a macro, but this is a far more complex approach, so it will not be cover here.
Finally, here are some links relating to this topic: Cheers Jussi
Now to when it come to running compilers, makers and executable Zeus gives you many choices. Described below are two ways to do this:
(1) Using a Workspace
This is the approach I would use as it keeps your files and you build commands together.
To use this approach you need to create a workspace. You can create a workspace by hand using the Workspace, New menu or alternatively you can also download the Workspace Builder utility.
Once the workspace is defined, open the workspace in Zeus and use the Workspace, Options menu. Define the compiler, maker, debug and execute commands in the Compiler and Project sections of the Workspace options dialog.
These options can then be executed using the Compiler, Compile menu and the Workspace, Make, Rebuild All, Execute and Debug menus.
(2) Using a Document type and a Tool
You can use the Document Type to run the build and use the Tools, Options menu to define a tool to execute the results of the build. Naturally, rather than using the document type to do the build, you could also define a second tool to run the build process.
It is also possible to run the compile, build and execute steps via a macro, but this is a far more complex approach, so it will not be cover here.
Finally, here are some links relating to this topic: Cheers Jussi