How can i set up a project where each build mode uses a different compiler (cross compiling)?
Quote from: Pascal on October 17, 2018, 01:25:04 pmHow can i set up a project where each build mode uses a different compiler (cross compiling)?Go to "Project options" -> Compiler options -> Build modes (it's on top of form), click speed button and add new build mode, in such mode you can choose different CPU (Config and Target), different name of output binary (Paths- > Target file name, also you can choose different widgetset via "Additions and overrides"
I have never tried it but, can't you change the compiler in the project options? (Project Options -> Compiler Commands -> Compiler)
Quote from: zeljko on October 17, 2018, 04:36:58 pmQuote from: Pascal on October 17, 2018, 01:25:04 pmHow can i set up a project where each build mode uses a different compiler (cross compiling)?Go to "Project options" -> Compiler options -> Build modes (it's on top of form), click speed button and add new build mode, in such mode you can choose different CPU (Config and Target), different name of output binary (Paths- > Target file name, also you can choose different widgetset via "Additions and overrides"I know this! but all of this is done with the compiler set in Lazarus options.
Quote from: lucamar on October 17, 2018, 04:17:01 pmI have never tried it but, can't you change the compiler in the project options? (Project Options -> Compiler Commands -> Compiler)Right, thanks, that does the job! Stupid me