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:

One Project two target OS 1 month 15 hours ago #18683

  • Roman
  • Roman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 110
  • Thank you received: 0
How to avoid path conflicts when building for different target OS?
For building under Windows, the paths to the unit files are one, for building under Linux, the paths are other, but the project is the same, and its settings are common (?!?!) for both OS.
How to solve this problem correctly?
This is my first attempt at making a multiplatform application, and many aspects of this work are unfamiliar to me...

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

One Project two target OS 1 month 7 hours ago #18684

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1130
  • Thank you received: 170
One method is to use project many "Build Modes"

Project Options=>Compiler Options (1)  =>Build Modes Button (2)
To Edit projects Build Modes (3)
Add new "Build Modes",
Edit Compiler Options for every "Build Mode"

 


Select which Build Mode to Build

 



Or Select to Build many Build Modes.

 
PilotLogic Core Programmer
Attachments:
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