Integrate TwineCompile into the build server

TwineCompile - Cut C++Builder compile times by up to 50x!
Post Reply
RoiDev
Posts: 6
Joined: Wed Jun 19, 2024 7:05 am

Integrate TwineCompile into the build server

Post by RoiDev »

Hi JomiTech,
I've been using TwineCompile for over a year now, and it has truly transformed our development process by significantly reducing build times. Thank you for creating such a powerful tool.
I would now like to integrate TwineCompile into our build server pipeline.
RAD Studio and TwineCompile are already installed on the server,
but I’m looking to run TwineCompile automatically as part of our CI process.
Could you please provide step-by-step instructions on how to properly set this up?
For reference, we are using:
-RAD Studio 11.1
-Clang-based compiler (bcc32c)
-TwineCompile version 5.4.2
Thank you again - I really appreciate your support!
Best regards,
RoiDev
jomitech
Site Admin
Posts: 2201
Joined: Wed Oct 08, 2008 12:23 am

Re: Integrate TwineCompile into the build server

Post by jomitech »

The simplest way to integrate TwineCompile into a build process is to replace the MSBuild process with jtmake.exe, which is a command-line tool bundled with TwineCompile that essentially invokes MSBuild for a project or project group, and uses TwineCompile to build the C++ files. It is possible to get MSBuild to directly invoke TwineCompile, but it requires manual project modifications.

Use jtmake like this:

Code: Select all

jtmake -B -ide110 ProjectName.cbproj
There are a number of options than can be passed into jtmake, run it on the command line to view the available options.
Jon
Post Reply