Add DEBUGGABLE_UDEBONLY support to MMP and .PRO file templates
authorChad Peckham <chad.peckham@nokia.com>
Thu, 02 Sep 2010 13:18:17 -0500
changeset 1941 44ce4a0a0dac
parent 1940 8193259c7a95
child 1942 b2a41f1a4ab9
Add DEBUGGABLE_UDEBONLY support to MMP and .PRO file templates
templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-Console/Basename.pro
templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Common/Basename.pro
templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/OpenC-HelloWorld/group/Basename.mmp
templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/S60-PlatsecApp/group/baseName.mmp
templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/S60-TouchUIApplication/group/baseName.mmp
templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-DLL/group/Basename.mmp
templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-EXE/group/Basename.mmp
templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-Empty/group/Basename.mmp
templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-LIB/group/Basename.mmp
--- a/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-Console/Basename.pro	Thu Sep 02 11:47:53 2010 -0500
+++ b/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-Console/Basename.pro	Thu Sep 02 13:18:17 2010 -0500
@@ -9,4 +9,7 @@
 FORMS	  +=
 RESOURCES +=
 
-symbian:TARGET.UID3 = $(uid3)
+symbian: {
+	TARGET.UID3 = $(uid3)
+	MMP_RULES += DEBUGGABLE_UDEBONLY 
+}
--- a/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Common/Basename.pro	Thu Sep 02 11:47:53 2010 -0500
+++ b/templates/com.nokia.carbide.cpp.qt.templates/templates/Qt-GUI-Common/Basename.pro	Thu Sep 02 13:18:17 2010 -0500
@@ -10,4 +10,9 @@
 FORMS	  += $(baseName).ui
 RESOURCES +=
 
-symbian:TARGET.UID3 = $(uid3)
+symbian: {
+	TARGET.UID3 = $(uid3)
+	MMP_RULES += DEBUGGABLE_UDEBONLY 
+}
+
+
--- a/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/OpenC-HelloWorld/group/Basename.mmp	Thu Sep 02 11:47:53 2010 -0500
+++ b/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/OpenC-HelloWorld/group/Basename.mmp	Thu Sep 02 13:18:17 2010 -0500
@@ -39,6 +39,5 @@
 // No capabilities needed by this application
 CAPABILITY      None
 
-#ifdef ENABLE_ABIV2_MODE
-  DEBUGGABLE_UDEBONLY
-#endif
+DEBUGGABLE_UDEBONLY
+
--- a/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/S60-PlatsecApp/group/baseName.mmp	Thu Sep 02 11:47:53 2010 -0500
+++ b/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/S60-PlatsecApp/group/baseName.mmp	Thu Sep 02 13:18:17 2010 -0500
@@ -56,7 +56,5 @@
 SECUREID		  $(uid3)
 CAPABILITY	  	  ReadUserData
 
-#ifdef ENABLE_ABIV2_MODE
-  DEBUGGABLE_UDEBONLY
-#endif
+DEBUGGABLE_UDEBONLY
 // End of File
--- a/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/S60-TouchUIApplication/group/baseName.mmp	Thu Sep 02 11:47:53 2010 -0500
+++ b/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/S60-TouchUIApplication/group/baseName.mmp	Thu Sep 02 13:18:17 2010 -0500
@@ -56,7 +56,5 @@
 SECUREID		  $(uid3)
 CAPABILITY	  	  ReadUserData
 
-#ifdef ENABLE_ABIV2_MODE
-  DEBUGGABLE_UDEBONLY
-#endif
+DEBUGGABLE_UDEBONLY
 // End of File
--- a/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-DLL/group/Basename.mmp	Thu Sep 02 11:47:53 2010 -0500
+++ b/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-DLL/group/Basename.mmp	Thu Sep 02 13:18:17 2010 -0500
@@ -43,7 +43,5 @@
 
 LIBRARY		 euser.lib
 
-#ifdef ENABLE_ABIV2_MODE
-  DEBUGGABLE_UDEBONLY
-#endif
+DEBUGGABLE_UDEBONLY
 
--- a/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-EXE/group/Basename.mmp	Thu Sep 02 11:47:53 2010 -0500
+++ b/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-EXE/group/Basename.mmp	Thu Sep 02 13:18:17 2010 -0500
@@ -19,6 +19,4 @@
 
 LIBRARY		 euser.lib
 
-#ifdef ENABLE_ABIV2_MODE
-  DEBUGGABLE_UDEBONLY
-#endif
+DEBUGGABLE_UDEBONLY
--- a/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-Empty/group/Basename.mmp	Thu Sep 02 11:47:53 2010 -0500
+++ b/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-Empty/group/Basename.mmp	Thu Sep 02 13:18:17 2010 -0500
@@ -13,6 +13,4 @@
 
 SYSTEMINCLUDE   \epoc32\include
 
-#ifdef ENABLE_ABIV2_MODE
-  DEBUGGABLE_UDEBONLY
-#endif
+DEBUGGABLE_UDEBONLY
--- a/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-LIB/group/Basename.mmp	Thu Sep 02 11:47:53 2010 -0500
+++ b/templates/com.nokia.carbide.cpp.templates/templates/projecttemplates/Symbian-LIB/group/Basename.mmp	Thu Sep 02 13:18:17 2010 -0500
@@ -17,6 +17,4 @@
 SOURCEPATH	  ..\$(sourceDir)
 SOURCE		  $(baseName).cpp
 
-#ifdef ENABLE_ABIV2_MODE
-  DEBUGGABLE_UDEBONLY
-#endif
+DEBUGGABLE_UDEBONLY