[Scons-users] Unable to add -F flag to variables

Paola Ferrario paola.ferrario at dipc.org
Wed Feb 21 12:04:02 EST 2024


Hi all! I use scons to build a Geant4-based application.
In the latest upgrade of Geant4 (v11.2.1), they added a -F flag to the cmake compilation of geant4, to deal with an error caused by Qt inMacOS systems. 
In my SConstruct file I collect the geant4 flags with ParseConfig and store them into a file with the Variables package, to be able to skip the part of checking dependencies every time. However, it seems that this -F flag is not written into that file, because when I try to compile a second time, I get the Qt error; however, if I do a clean and a compilation from scratch, it does work.
Do you know if there’s a way to collect the path of that flag?
Thanks

Paola



More information about the Scons-users mailing list