duilio foschi wrote 31 lines
this is what is displayed with 'show options' from project -> project
options -> compiler options -> paths
C:\lazarus\fpc\3.2.2\bin\i386-win32\fpc.exe
-MObjFPC
-Scghi
-O1
-gw3
-gl
-l
-vewnhibq
-FiC:\tmp
-Fic:\lazarus\lcl\include
-FuC:\lazarus\components\lazutils
-FuC:\lazarus\lcl
-FuC:\lazarus\lcl\interfaces\win32
-FuC:\lazarus\lcl\widgetset
-FuC:\lazarus\lcl\forms
-Fu.
-FUC:\tmp\
-FE.
-owebapp.exe
Everything works as I wished, with all the compiler stuff saved into
folder c:\tmp and NO unwanted stuff in the working
directory.
Case closed.
Thanks to everybody
I guess you want to rebuild LCL with debug info?
Or you try for some reason to disable the IDE package management?
The line -Fu? (lower u) in the above list shouldn't be there.
Instead you should have something like
-FuB:\lazarus_main\lcl\units\x86_64-win64\win32
-FuB:\lazarus_main\lcl\units\x86_64-win64
-FuB:\lazarus_main\components\lazutils\lib\x86_64-win64 ....
But then you need to apply debug settings to each package.
And you can do that within the project settings (so different for each project, and with build modes).
-> search the wiki for the "Additions and overrides" settings of the project.
----------------------------
Your settings can work. But they will cause you extra work, if you need something from yet another package =>? as you need to remove the package, and add the path.
Also if you remove the package, then code completion will not work well. But if you don't you get duplicate warnings.
The only case were you can't use the correct package system is if you need files from the "fpc" folder to be recompiled for debug (or other different settings).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260209/767bc2a7/attachment.htm>