[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23921] trunk/blender/source/creator/ buildinfo.c: fix Win64 compile: Should now work with cmake again, does this break win64 scons anyone?

lguillaume lecocqguillaume at gmail.com
Sun Oct 18 19:51:26 CEST 2009


Hello,
I want to know of build_date/time and revision is made in your config, I use
Cmake on win32 to make vc++ projectfile and made the patch
https://projects.blender.org/tracker/?func=detail&aid=19667&group_id=9&atid=127to
enable the function without creating a winbuildinfo.h. If variables
work
for win64, they will work for win32. It is possible to add a declaration in
cmakefile and replace the _win64 by this variable.
It will works for cmake and let scons create a winbuildinfo.h

2009/10/18 Daniel Genrich <daniel.genrich at gmx.net>

> Revision: 23921
>
> http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23921
> Author:   genscher
> Date:     2009-10-18 19:41:42 +0200 (Sun, 18 Oct 2009)
>
> Log Message:
> -----------
> fix Win64 compile: Should now work with cmake again, does this break win64
> scons anyone?
>
> Modified Paths:
> --------------
>    trunk/blender/source/creator/buildinfo.c
>
> Modified: trunk/blender/source/creator/buildinfo.c
> ===================================================================
> --- trunk/blender/source/creator/buildinfo.c    2009-10-18 17:28:15 UTC
> (rev 23920)
> +++ trunk/blender/source/creator/buildinfo.c    2009-10-18 17:41:42 UTC
> (rev 23921)
> @@ -32,7 +32,7 @@
>  #endif
>
>  #ifdef BUILD_DATE
> -#ifndef WIN32
> +#if (!defined(WIN32) || defined(_WIN64))
>  const char * build_date=BUILD_DATE;
>  const char * build_time=BUILD_TIME;
>  const char * build_rev=BUILD_REV;
>
>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at blender.org
> http://lists.blender.org/mailman/listinfo/bf-blender-cvs
>


More information about the Bf-committers mailing list