Skip to main content
Royi A
Inspiring
September 24, 2012
Question

Photoshop SDK - Plug In - Release Mode

  • September 24, 2012
  • 1 reply
  • 1157 views

Hello,

I'm building a Plug In for Photoshop using the CS6 SDK for Windows (64 Bit on Windows 7, VS 2010).

I'm using optimizations which only work in "Release Mode".

In your samples I have only "Debug" mode.

How can I move into release mode?

Thanks.

P.S.

I saw the Dissolve sample code has "Release Mode" which really enabled the optimizations and yieleded a much faster code.

The question is, how different it is from other samples, namely, How could I reconfigure other samples into "Release Mode".

Thanks.

This topic has been closed for replies.

1 reply

Known Participant
October 29, 2012

In the Visual Studio Configration Manage you have to create an configuration, call it "Release" and make sure that the settings of the Debug configuration are copied to the new configuration. Then you have to change the several properties of the new Release configuration so that it outputs a release instead of a debug version, e.g. changing the run time library from "Multithreaded-Debug" to "Multithreaded" and deactivating the debug information generation. You also need to remove the DEBUG preprocessor definition in various places.

All in all, it is a complex process, so it is better if you have a project that contains both debug and relase configurations and you compare the properties of both. Then you can see which things are activated in one configuration and not in the other.