View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002501CMakeCMakepublic2005-11-17 11:422005-11-22 14:46
ReporterMathieu Malaterre 
Assigned ToBill Hoffman 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002501: Add debug flags on SunOS
DescriptionIt would be nice if there was the proper Debug flag on Sun:

Index: SunOS.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Platform/SunOS.cmake,v
retrieving revision 1.14
diff -u -3 -p -r1.14 SunOS.cmake
--- SunOS.cmake 22 Sep 2004 18:42:05 -0000 1.14
+++ SunOS.cmake 17 Nov 2005 16:40:20 -0000
@@ -46,5 +46,8 @@ ELSE(CMAKE_COMPILER_IS_GNUCXX)
      SET(CMAKE_CXX_CREATE_STATIC_LIBRARY
       "<CMAKE_CXX_COMPILER> -xar -o <TARGET> <OBJECTS> "
       "<CMAKE_RANLIB> <TARGET> ")
+ # Add debug flag
+ SET (CMAKE_C_FLAGS_DEBUG_INIT "-g")
+ SET (CMAKE_CXX_FLAGS_DEBUG_INIT "-g")
   ENDIF(CMAKE_CXX_COMPILER)
 ENDIF(CMAKE_COMPILER_IS_GNUCXX)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0003295)
Bill Hoffman (manager)
2005-11-22 12:02

I put this in cvs, can you try it?
(0003306)
Mathieu Malaterre (developer)
2005-11-22 14:46

Fixed.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team