To see the differences between build and rebuild, follow these steps:
/* Micro Focus Open PL/I Include File */ put skip list ('jim', MSG);
/* Micro Focus Open PL/I Console Application */ %replace MSG by 'From inclue - main'; program: proc options (main); dcl sub entry; dcl a1 char(14); put skip list ('Hello world - main' ); %include 'include1.in'; call sub(); put skip; get list (a1); end program;
/* Micro Focus Open PL/I program */ %replace MSG by 'From inclue - sub'; sub: proc; put skip list ('Hello world sub' ); %include 'include1.in'; end sub;
Target "CoreCompile" in project "PLIPROJ.pliproj" Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files.
If you change one of the source files and then click Build > Build Solution, only that program will be compiled.
If you change the include file, both programs will be compiled, because it is included in both of them. Any program that does not use the include file, will not be re-compiled.