Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

Many Modes - Compile vs Build 3 weeks 13 hours ago #19414

  • Roman
  • Roman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 2
While developing applications for multiple platforms, I encountered an annoying issue with batch compile: compilation doesn't update the version number, so when batch compiling, the executables for different platforms have different versions. Manually switching the build mode and running the build command ensures the versions are the same.

So maybe instead of "Many mode compile", we must use "Many mode build"?

Please Log in or Create an account to join the conversation.

Many Modes - Compile vs Build 3 weeks 10 hours ago #19416

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1366
  • Thank you received: 215
I think It's the same
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Many Modes - Compile vs Build 2 weeks 6 days ago #19419

  • Roman
  • Roman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 2
No, sir, these are different things. Building recompiles all modules, while compiling only compiles the ones that have changed, which is why it works. Although logically it should be the other way around. But in any case, they're not the same thing!
The version is automatically incremented only during build.

Please Log in or Create an account to join the conversation.

Many Modes - Compile vs Build 2 weeks 6 days ago #19420

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1366
  • Thank you received: 215
We fix this
Thanks Sir

 
PilotLogic Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Many Modes - Compile vs Build 2 weeks 5 days ago #19424

  • Roman
  • Roman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 2
Just to clarify: did you change the name of the item, or did you change its functionality? Or both? 

Please Log in or Create an account to join the conversation.

Last edit: by Roman.

Many Modes - Compile vs Build 2 weeks 5 days ago #19425

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1366
  • Thank you received: 215
Same functionality
PilotLogic Core Programmer
The following user(s) said Thank You: Roman

Please Log in or Create an account to join the conversation.

Many Modes - Compile vs Build 2 weeks 5 days ago #19426

  • Roman
  • Roman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 131
  • Thank you received: 2
Sorry for being persistent, but "the same functionality" requires clarification: did you implement a many modes BUILD, or did you leave the many mode COMPILE?

P.S. Yes, I'm a bore.

Please Log in or Create an account to join the conversation.

Last edit: by Roman.

Many Modes - Compile vs Build 2 weeks 5 days ago #19427

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1366
  • Thank you received: 215
many modes BUILD

procedure mnuBuildManyModesClicked(Sender: TObject);
in 
C:\codetyphon\typhon\ide\ct_main.pp
PilotLogic Core Programmer
The following user(s) said Thank You: Roman

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..
  • Page:
  • 1