Total recompile jtmake problem

TwineCompile - Cut C++Builder compile times by up to 50x!
Post Reply
stslam
Posts: 3
Joined: Mon Jun 16, 2025 11:44 am

Total recompile jtmake problem

Post by stslam »

jtmake.exe -ide120 -B -pl"Win32" -c"Debug" -parallel lotofstuff.groupproj
Total relinking/recompilation problem.
I have a lot of libraries and packages, each next one inherits from the previous one. Changing even one line of the cpp code (not the header file) in any part of the chain leads to the need for a complete rebuild of the entire source code of the entire group of projects. Is it possible to somehow cache the checksums of the source code files and compile only those that have actually changed?
/* for header files problem more complex, but AST tree can solve this problem */
Borland C++ Builder 6 - handled a similar task in seconds on my machine (and even in a virtual machine)... And a modern "monster" spends about an hour on a full build. It is a pain.
jomitech
Site Admin
Posts: 2199
Joined: Wed Oct 08, 2008 12:23 am

Re: Total recompile jtmake problem

Post by jomitech »

Remove the -B from the command-line. -B tells jtmake to do a full build, discarding all previous compiled state and compiling all the projects from scratch. For example:

Code: Select all

jtmake.exe -ide120 -pl"Win32" -c"Debug" -parallel lotofstuff.groupproj
Jon
Post Reply