Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Setup a build server



Permlink Replies: 0 Threads: [ Previous | Next ]
Alain Bourgeois

Posts: 26
Registered: 3/15/00
Setup a build server
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 14, 2016 6:05 AM
Hi,

I would like to set up a build server for vcl applications, that would build the applications in batch mode without using IDE.
On the computer, build using IDE works perfectly (release mode, 32 bits, VCL).

I created a batch file:
call C:\Program Files (x86)\Embarcadero\Studio\17.0\bin\rsvars.bat
msbuild giProjects.groupproj /t:Make /p:config=Release


and outside IDE some builds don't work:
"N:\cec\gestioninterne\pgm2010\Penurie\penurie.cbproj" (Build target) (1) ->(_PerformBCCILink target) -> C:\Program Files (x86)\Embarcadero\Studio\17.0\Bin\CodeGear.Cpp.Targets(3313,5): error : Fatal: Unable to open file 'FRXCLASS.OBJ'
...
FRXCLASS comes from Fast report 5 standard: #pragma link "frxClass" is added to the form as soon as a fast report component is dropped on the form.
There is no frxClass.obj, there is a .dcu in C:\Program Files (x86)\FastReport 5 VCL Standard\LibD23.
Project builds perfectly in IDE.
.cbproj holds
    <PropertyGroup Condition="'$(Base_Win32)'!=''">
        <ILINK_LibraryPath>C:\Program Files (x86)\FastReport 5 VCL Standard\LibD23\;$(ILINK_LibraryPath)</ILINK_LibraryPath>

frxclass.* files are located in C:\Program Files (x86)\FastReport 5 VCL Standard\LibD23, so path are good.

What do I have to change in command-line batch so that it also builds fine?

Thank you.

Edited by: Alain Bourgeois on Oct 21, 2016 7:11 AM

Edited by: Alain Bourgeois on Oct 21, 2016 7:12 AM
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02