I have a situation where I would like to make things a bit easier on myself.
I am testing out, and will possibly be making the plunge to Free Pascal, as I have extensive knowledge of Delphi, and it is very similar, except with Free Pascal I can compile for any platform without having to make changes to the code.
I want to be able to, by using the Set Compiler Options under the Build menu, set the target OS for the compile, and then UES use the proper compiler/cross-compiler to do the job, with a default to the OS that I am coding under (Win7 64-bit). I have Free Pascal compilers that will compile native code from Win7-64 to Win32, OS-X 32 and 64, Linux 32 and 64, FreeBSD, Haiku, etc. I just need to be able to set the target in a drop-down, that will automatically select the correct compiler executable and set the proper target extension and a target directory (much like there is a debug directory and release directory, but I want release directories for each target platform.)
Is this possible to do within a single compiler config file without me having to select a different compiler for each target build? Or will I have to select a different compiler config file for each target build?
What would be ideal is if I could have the drop-down in the tool-bar that says "Debug/Release" to have all my target options in that, like: Debug Win64, Release Win64, Release Win32, Release Ubuntu64, Release Ubuntu32, etc. Just need to know what is possible here. I don't want all the step by step at this point, as I'd like to dive in and figure most of it out myself, but no sense in diving in if it isn't possible.
I am testing out, and will possibly be making the plunge to Free Pascal, as I have extensive knowledge of Delphi, and it is very similar, except with Free Pascal I can compile for any platform without having to make changes to the code.
I want to be able to, by using the Set Compiler Options under the Build menu, set the target OS for the compile, and then UES use the proper compiler/cross-compiler to do the job, with a default to the OS that I am coding under (Win7 64-bit). I have Free Pascal compilers that will compile native code from Win7-64 to Win32, OS-X 32 and 64, Linux 32 and 64, FreeBSD, Haiku, etc. I just need to be able to set the target in a drop-down, that will automatically select the correct compiler executable and set the proper target extension and a target directory (much like there is a debug directory and release directory, but I want release directories for each target platform.)
Is this possible to do within a single compiler config file without me having to select a different compiler for each target build? Or will I have to select a different compiler config file for each target build?
What would be ideal is if I could have the drop-down in the tool-bar that says "Debug/Release" to have all my target options in that, like: Debug Win64, Release Win64, Release Win32, Release Ubuntu64, Release Ubuntu32, etc. Just need to know what is possible here. I don't want all the step by step at this point, as I'd like to dive in and figure most of it out myself, but no sense in diving in if it isn't possible.