Hi!
Your changes are fine, env.Decider() works great on some of my systems.
But it fails with older version of scons (like the 0.96.3 in 64studio).
I've fixed this by putting a "try" statement around it and call
"env.SourceSignatures('MD5')" if env.Decider() is not available.
Thanks,
Sebastian
Gabriel M. Beddingfield schrieb:
> Comix wrote:
>
>> Try now with rev 436 ;-)
>>
>> I added the file version.h directly in SVN and the Sconstruct script
>> just creates the version.cpp file containing the version string.
>>
>> hope this helps in reducing unnecessary build times.
>>
>
> I'll try that. The --debug=explain was also telling me that config.h had
> changed (it was probably only touched), so the following fixes the problem
> for me:
>
> diff --git a/Sconstruct b/Sconstruct
> index 4d6d5c1..4eac1b5 100644
> --- a/Sconstruct
> +++ b/Sconstruct
> @@ -161,7 +161,7 @@ def get_hydrogen_lib():
> env = Environment(tools=['default','qt4'],
> toolpath=[qt4ToolLocation],
> ENV=os.environ, CPPPA
> env.EnableQt4Modules( ['QtCore', 'QtGui'], debug=False)
> env.CacheDir( "scons_cache" )
> -
> + env.Decider( "MD5-timestamp" )
>
> src = scanFiles( "libs/hydrogen", ['*.cpp', '*.cc', '*.c' ], [
> 'moc_'] )
>
> @@ -191,6 +191,7 @@ def get_hydrogen_gui( lib_hydrogen ):
> env.EnableQt4Modules( ['QtCore', 'QtGui','QtNetwork','QtXml'],
> debug=False)
> #
> env.CacheDir( "scons_cache" )
> + env.Decider( "MD5-timestamp" )
>
> # rcc needs a -name flag because examples use identified resource
> files
> def takebasename(file):
>
> Thanks,
> Gabriel
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Hydrogen-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel