You are here: PSPad forum > English discussion forum > WHO TO Compile....?

WHO TO Compile....?

#1 WHO TO Compile....?

Posted by: Gabriel_ACE | Date: 01/24/2018 14:52 | IP: IP Logged

hi!

I created a project.

the project has at last 40 source code in COBOL

how can I compile all the project at once ???

Best Regards

Edited 1 time(s). Last edit at 01/24/2018 14:53 by Gabriel_ACE.

Options: Reply | Quote | Up ^


#2 Re: WHO TO Compile....?

Posted by: pspad | Date: 01/24/2018 15:00 | IP: IP Logged

I don't know Cobol. Is there any main file as in any other language?
Set main project file as main (right mouse)
When you will run compilation, the main file will be send to compiler instead of the current file

Options: Reply | Quote | Up ^


#3 Re: WHO TO Compile....?

Posted by: Gabriel_ACE | Date: 02/21/2018 13:28 | IP: IP Logged

pspad:
I don't know Cobol. Is there any main file as in any other language?
Set main project file as main (right mouse)
When you will run compilation, the main file will be send to compiler instead of the current file

each file is compiled separately

if I have this:

a.cob
b.cob

in the project

I need execute 2 times bach command rm85cob.exe

for example

rm85cob.exe c:\a.cob c:\a.cbl
rm85cob.exe c:\b.cob c:\b.cbl

It would be a good addition to the functionality of the project, being able to compile all its components at the same time

I don't wanna do a .BAT file for each proyect tongue sticking out smiley

I was thinking of a button that says: "compile all the components"

and for the option to work allow to save within the project
the compiler's command and the extension of the files that must be compiled since a project does not always have only source files, but many times they have documentation files

using wild card for the file OF CORSE tongue sticking out smiley

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2018 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR