[Orxonox-commit 2753] r7458 - code/trunk/cmake
landauf at orxonox.net
landauf at orxonox.net
Thu Sep 16 13:46:37 CEST 2010
Author: landauf
Date: 2010-09-16 13:46:37 +0200 (Thu, 16 Sep 2010)
New Revision: 7458
Modified:
code/trunk/cmake/CompilerConfigGCC.cmake
Log:
added compiler flags that enhance the output of Dr. Mingw (a 'just in time' debugger for MinGW)
Modified: code/trunk/cmake/CompilerConfigGCC.cmake
===================================================================
--- code/trunk/cmake/CompilerConfigGCC.cmake 2010-09-16 11:45:08 UTC (rev 7457)
+++ code/trunk/cmake/CompilerConfigGCC.cmake 2010-09-16 11:46:37 UTC (rev 7458)
@@ -100,7 +100,10 @@
# General linker flags
SET_LINKER_FLAGS("--no-undefined" CACHE)
-# Add linker flags for MinGW
+# Add compiler and linker flags for MinGW
IF (MINGW)
+ ADD_COMPILER_FLAGS("-gstabs+" Debug CACHE)
+ ADD_COMPILER_FLAGS("-gstabs+" RelWithDebInfo CACHE)
+
ADD_LINKER_FLAGS("-enable-auto-import" CACHE)
-ENDIF()
\ No newline at end of file
+ENDIF()
More information about the Orxonox-commit
mailing list