CBuilder annoying bugs with effect on twinecompile

TwineCompile - Cut C++Builder compile times by up to 50x!
Post Reply
dhdswew
Posts: 7
Joined: Tue Jun 07, 2011 8:03 am

CBuilder annoying bugs with effect on twinecompile

Post by dhdswew »

Hi there!

does anyone know how to prevent cbuilder 2009/XE from modifiing the *.cbproj files? There are 2 very annoying issues:

- first: The twinecompile import gets lost every time i save a project. when starting a clean build from command line, twinecompile has no effect until i re-add the TCTargets09.

- second and VERY ANNOYING: cbuilder modifies the library list (even for static libraries!) in background for some reasons. it seems to happen when files from different projects in a project group are opened at the same time.

does anyone having such problems? some ideas to solve the problems?


regards

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

Re: CBuilder annoying bugs with effect on twinecompile

Post by jomitech »

What version of TwineCompile are you using?
Jon
dhdswew
Posts: 7
Joined: Tue Jun 07, 2011 8:03 am

Re: CBuilder annoying bugs with effect on twinecompile

Post by dhdswew »

we are using TC Version 3.2.1.

When saving the project file, the cbuilder removes the twinecompile import. The thing is that not only the developer is modifying the project file through the dialog window, the cbuilder believes some times (for unknown reasons) that changes on library list are neccessary (without any information to the developer).

i dont know to deny the cbuilder such modifications...
jomitech
Site Admin
Posts: 2157
Joined: Wed Oct 08, 2008 12:23 am

Re: CBuilder annoying bugs with effect on twinecompile

Post by jomitech »

I'm afraid that there's no way to stop C++Builder from removing the import without making the project file read-only.

My suggestion would be to use our jtmake utility on the command-line instead of MSBuild. I have attached it to this message.

Code: Select all

jtmake [-c"Config Name"] [-B] [-D<Defines>] [-FVX.X.X.X] [-PVX.X.X.X] ProjectName.cbproj
    -c"Config Name"    Build the specified build configuration in the project
    -B                 Build instead of make the project
    -D<Defines>        Add extra defines to compiler options
    -FVX.X.X.X         Set file version information to the specified values.
    -PVX.X.X.X         Set product version information to the specified values.
Attachments
jtmake.zip
(399.31 KiB) Downloaded 835 times
Jon
Post Reply