[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender  trunk/blender/source/blender: Fix build scripts related to PSD support.
irieshinsuke at yahoo.co.jp
Sun Oct 13 11:43:19 CEST 2013
In r60726, I corrected a remaining WITH_IMAGE_OPENIMAGEIO.
You forgot to modify it.
13/10/13, Dalai Felinto wrote:
> I actually think we should have WITH_OPENIMAGEIO instead of
> It's how it was already in CMakeLists.txt and there is no big compelling
> argument to change that.
> I committed the fix in rev.60718 [to get PSD working by default - even if
> WITH_OPENIMAGEIO is OFF, assuming WITH_CYCLES is ON]
> 2013/10/12 IRIE Shinsuke <irieshinsuke at yahoo.co.jp>
>> Got it, but I think the CMake variable WITH_OPENIMAGEIO is not needed.
>> It should be replaced with WITH_IMAGE_OPENIMAGEIO, and Cycles should
>> simply depend on WITH_IMAGE_OPENIMAGEIO like this:
>> # auto enable openimageio for cycles
>> set(WITH_IMAGE_OPENIMAGEIO ON)
>> # auto enable openimageio linking dependencies
>> set(WITH_IMAGE_OPENEXR ON)
>> set(WITH_IMAGE_TIFF ON)
>> IRIE Shinsuke
>> 13/10/12, Dalai Felinto wrote:
>>>> it causes unwanted behavior that the PSD support is enabled even if
>>> WITH_IMAGE_OPENIMAGEIO=OFF and WITH_CYCLES=ON
>>> This is actually the wanted behaviour. Bear with me ...
>>> If the average user just builds Blender, she gets Cycles, PSD, all the
>>> If the advanced user/developer doesn't want to build Cycles but wants PSD
>>> support, she does WITH_CYCLES=OFF and WITH_IMAGE_OPENIMAGEIO=ON
>>> If the user doesn't want anything to use OIIO, she simply does
>>> I believe (may be wrong) that one of main ideas of having those defines
>>> the code is to speed up building (less code to build, less libraries to
>>> link to ...). Thus I think we should tie the defines to the library, not
>>> the feature.
>>> Dalai // mobile
>>> Bf-committers mailing list
>>> Bf-committers at blender.org
>> Bf-committers mailing list
>> Bf-committers at blender.org
> Bf-committers mailing list
> Bf-committers at blender.org
More information about the Bf-committers