X-Git-Url: https://vaikene.ee/gitweb/pswgen09.html?a=blobdiff_plain;f=www%2Fpswgen05.html;h=3db173b67e7951fa67631afe5e0ebc9f19f3ace1;hb=12fe56ffc347b9a7b2a5ec140ec874038cde8c3b;hp=bc6b5d6545d1b5d70f1065cce92d414c537efd85;hpb=368818c22af812ac35f5ff69423522dbd54d37ed;p=evaf diff --git a/www/pswgen05.html b/www/pswgen05.html index bc6b5d6..3db173b 100644 --- a/www/pswgen05.html +++ b/www/pswgen05.html @@ -13,6 +13,8 @@
+Next: 06 - Storage Module, Previous: 04 - Generator Module
+set(QT_DONT_USE_QTGUI TRUE) include(${QT_USE_FILE})-
The next line adds the PSWGEN_GENERATOR_LIBRARY definition to the compiler (remember the lib.h file and - the PSWGEN_GENERATOR_EXPORT macro in the igeneraror.h file?): - -
add_definitions(-DPSWGEN_GENERATOR_LIBRARY)-
Add all the eVaf include directories to the compiler. The variable eVaf_INCLUDE contains all the eVaf include directories and is already initialized with proper values when this CMakeLists.txt file is processed.
@@ -61,7 +58,6 @@ during the build, do not include here any other header files.set(MOC_HDRS - igenerator.h module.h )@@ -93,9 +89,6 @@ set(QT_DONT_USE_QTGUI TRUE) include(${QT_USE_FILE}) -# Needed for exporting symbols from this library -add_definitions(-DPSWGEN_GENERATOR_LIBRARY) - # Include directories include_directories(${eVaf_INCLUDE}) @@ -103,14 +96,12 @@ set(eVaf_LIBRARIES CommonLib PluginsLib) # Source files -set(MOC_HDRS - igenerator.h - module.h +set(SRCS + module.cpp ) # Header files for the Qt meta-object compiler set(MOC_HDRS - igenerator.h module.h )