Page 1 of 1

CBuilder annoying bugs with effect on twinecompile

Posted: Tue Jun 21, 2011 3:43 am
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

Re: CBuilder annoying bugs with effect on twinecompile

Posted: Tue Jun 21, 2011 8:50 am
by jomitech
What version of TwineCompile are you using?

Re: CBuilder annoying bugs with effect on twinecompile

Posted: Wed Jun 22, 2011 1:55 am
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...

Re: CBuilder annoying bugs with effect on twinecompile

Posted: Wed Jun 22, 2011 8:04 am
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.