[vtkusers] Problem building Activiz.NET wrappers

Mathieu Malaterre mathieu.malaterre at gmail.com
Tue Mar 8 05:45:35 EST 2011


On Tue, Mar 1, 2011 at 4:08 PM, Eric E. Monson <emonson at cs.duke.edu> wrote:
...
> I generated my own keypair by running (in a Windows SDK v7.0 CMD Shell):
>
> sn -k EMonsonVTKKeyPair.snk
>
> and placed a copy of that file in the root source directory of both mummy and activizdotnet. For now I just added this section above the former one in the CMakeLists.txt files:
>
> # Defining own keypair here...
> GET_FILENAME_COMPONENT(AVDN_SNKEYFILE "${CMAKE_CURRENT_SOURCE_DIR}/EMonsonVTKKeyPair.snk" ABSOLUTE)
>
> As far as I can tell it's working now. I didn't do extensive testing, but I was able to run one of the examples that wouldn't run before.
>
> I think it would be better to change the CMakeLists.txt files so that there was a real CMake option for setting that AVDN_SNKEYFILE variable during config – maybe that will get changed sometime... It would also be nice to have a real option, if testing is turned off, for not converting the Tcl tests.

Indeed that did the trick. I used my own key at cmake configuration
time and it did work nicely. BTW, this works fine for me:

cmake ../mummy -DMummy_SNKEYFILE:STRING=/path/to/my.snk

Thanks !
-- 
Mathieu



More information about the vtkusers mailing list