]> vaikene.ee Git - evaf/blobdiff - www/pswgen05.html
Changed tutorial files to follow the changes in the PswGen application.
[evaf] / www / pswgen05.html
index bc6b5d6545d1b5d70f1065cce92d414c537efd85..d84504d70d2e4b5467eef76466871a3283742bfd 100644 (file)
 <pre class="hl"><span class="hl kwa">set</span><span class="hl opt">(</span>QT_DONT_USE_QTGUI TRUE<span class="hl opt">)</span>
 <span class="hl kwa">include</span><span class="hl opt">(</span><span class="hl kwd">${QT_USE_FILE}</span><span class="hl opt">)</span></pre>
 
-        <p>The next line adds the <tt>PSWGEN_GENERATOR_LIBRARY</tt> definition to the compiler (remember the <tt>lib.h</tt> file and
-        the <tt>PSWGEN_GENERATOR_EXPORT</tt> macro in the <tt>igeneraror.h</tt> file?):
-
-<pre class="hl"><span class="hl kwa">add_definitions</span><span class="hl opt">(</span>-DPSWGEN_GENERATOR_LIBRARY<span class="hl opt">)</span></pre>
-
         <p>Add all the eVaf include directories to the compiler. The variable <tt>eVaf_INCLUDE</tt> contains all the eVaf include
         directories and is already initialized with proper values when this <tt>CMakeLists.txt</tt> file is processed.</p>
 
@@ -61,7 +56,6 @@
         during the build, do not include here any other header files.</p>
 
 <pre class="hl"><span class="hl kwa">set</span><span class="hl opt">(</span>MOC_HDRS
-    igenerator.h
     module.h
 <span class="hl opt">)</span></pre>
 
@@ -93,9 +87,6 @@
 <span class="hl kwa">set</span><span class="hl opt">(</span>QT_DONT_USE_QTGUI TRUE<span class="hl opt">)</span>
 <span class="hl kwa">include</span><span class="hl opt">(</span><span class="hl kwd">${QT_USE_FILE}</span><span class="hl opt">)</span>
 
-<span class="hl com"># Needed for exporting symbols from this library</span>
-<span class="hl kwa">add_definitions</span><span class="hl opt">(</span>-DPSWGEN_GENERATOR_LIBRARY<span class="hl opt">)</span>
-
 <span class="hl com"># Include directories</span>
 <span class="hl kwa">include_directories</span><span class="hl opt">(</span><span class="hl kwd">${eVaf_INCLUDE}<span class="hl opt">)</span>
 
 <span class="hl kwa">set</span><span class="hl opt">(</span>eVaf_LIBRARIES CommonLib PluginsLib<span class="hl opt">)</span>
 
 <span class="hl com"># Source files</span>
-<span class="hl kwa">set</span><span class="hl opt">(</span>MOC_HDRS
-    igenerator.h
-    module.h
+<span class="hl kwa">set</span><span class="hl opt">(</span>SRCS
+    module.cpp
 <span class="hl opt">)</span>
 
 <span class="hl com"># Header files for the Qt meta-object compiler</span>
 <span class="hl kwa">set</span><span class="hl opt">(</span>MOC_HDRS
-    igenerator.h
     module.h
 <span class="hl opt">)</span>