jtmake command line options

Post Reply
lee.bost
Posts: 2
Joined: Thu Feb 09, 2017 5:10 pm

jtmake command line options

Post by lee.bost » Thu Feb 09, 2017 5:20 pm

Is there a way to pass compiler options using jtmake? I see there an argument -D<Defines> that should allow for this but I have been unable to get the compiler to pick up these options no matter what I enter. The biggest problem with not being able to do this that I can't limit the thread count. Running jtmake defaulting the compiler to use all available cores which is bogging down the system.

jomitech
Site Admin
Posts: 1967
Joined: Wed Oct 08, 2008 12:23 am

Re: jtmake command line options

Post by jomitech » Thu Feb 09, 2017 5:27 pm

What version of C++Builder are you using?
Jon

lee.bost
Posts: 2
Joined: Thu Feb 09, 2017 5:10 pm

Re: jtmake command line options

Post by lee.bost » Thu Feb 09, 2017 5:42 pm

We are using XE7 and using Twine Compile 4.4

jomitech
Site Admin
Posts: 1967
Joined: Wed Oct 08, 2008 12:23 am

Re: jtmake command line options

Post by jomitech » Thu Feb 09, 2017 6:02 pm

Unfortunately, jtmake does not support passing TwineCompile options on the command-line. You could set the thread count in the project options, but that would apply to all compiles, including the in-IDE compilation.
Jon

Post Reply