[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/cmake/modules
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2010-11-21 19:08:58
Message-ID: 20101121190858.E2D1DAC8A3 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1199385 by trueg:

Unset all temp variables to not pollute the global "namespace".

 M  +13 -0     NepomukAddOntologyClasses.cmake  


--- trunk/KDE/kdelibs/cmake/modules/NepomukAddOntologyClasses.cmake #1199384:1199385
@@ -99,4 +99,17 @@
     # finally append the source files to the source list
     list(APPEND ${_sources} ${_out_sources})
   endif(NOT RCGEN)
+
+  # reset variable names used
+  unset(_current_arg_type)
+  unset(_arg)
+  unset(_ontologies)
+  unset(_ontofilenames)
+  unset(_classes)
+  unset(_visibility)
+  unset(_fastmode)
+  unset(_targetdir)
+  unset(_out_headers)
+  unset(_out_sources)
+  unset(rcgen_result)
 endmacro(NEPOMUK_ADD_ONTOLOGY_CLASSES)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic