<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Slicer3%3AWindows_Shared_Libraries</id>
	<title>Slicer3:Windows Shared Libraries - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Slicer3%3AWindows_Shared_Libraries"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Windows_Shared_Libraries&amp;action=history"/>
	<updated>2026-04-04T04:02:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Windows_Shared_Libraries&amp;diff=3462&amp;oldid=prev</id>
		<title>Marianna: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Windows_Shared_Libraries&amp;diff=3462&amp;oldid=prev"/>
		<updated>2008-05-15T17:50:27Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 17:50, 15 May 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Marianna</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer3:Windows_Shared_Libraries&amp;diff=3461&amp;oldid=prev</id>
		<title>Pieper at 03:09, 8 August 2007</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer3:Windows_Shared_Libraries&amp;diff=3461&amp;oldid=prev"/>
		<updated>2007-08-08T03:09:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== How to Add a New Windows Shared Library ==&lt;br /&gt;
&lt;br /&gt;
For these examples we will assume you want to make a directory '''MyLib''' -- substitute your only lib name in the instructions below. &lt;br /&gt;
&lt;br /&gt;
Copy the following files from an existing library (say '''SampleLib''') to create:&lt;br /&gt;
&lt;br /&gt;
=== vtkMyLib.h===&lt;br /&gt;
&lt;br /&gt;
Change the #include to use MyLib&lt;br /&gt;
&lt;br /&gt;
This header can be use for other lib-specific defines.&lt;br /&gt;
&lt;br /&gt;
=== vtkMyLibWin32Header.h===&lt;br /&gt;
&lt;br /&gt;
(careful - this file is error prone!)&lt;br /&gt;
&lt;br /&gt;
Change all  SampleLib to be MyLib.  &lt;br /&gt;
Change all VTK_SAMPLELIB_EXPORT to be VTK_MYLIB_EXPORT.&lt;br /&gt;
Change VTKSampleLib_STATIC to be VTKMyLib_STATIC&lt;br /&gt;
Change sampleLib_EXPORTS to be myLib_EXPORTS (NOTE: this is the name of the lib, which may not be the name of the project).&lt;br /&gt;
&lt;br /&gt;
=== vtkMyLibConfigure.h.in===&lt;br /&gt;
&lt;br /&gt;
Change VTKSampleLib_STATIC to VTKMyLib_STATIC&lt;br /&gt;
&lt;br /&gt;
=== CMakeLists.txt ===&lt;br /&gt;
&lt;br /&gt;
In the CMakeLists.txt edit the CONFIGURE_FILE to put MyLib in the binary directory for your project.&lt;br /&gt;
&lt;br /&gt;
=== Header Files ===&lt;br /&gt;
&lt;br /&gt;
Include vtkMyLib.h&lt;br /&gt;
&lt;br /&gt;
Add VTK_MYLIB_EXPORT after the keyword 'class' and before your classname.&lt;br /&gt;
&lt;br /&gt;
 class VTK_MYLIB_EXPORT vtkMyObject : public vtkObject&lt;/div&gt;</summary>
		<author><name>Pieper</name></author>
		
	</entry>
</feed>