Forgot disable these sections.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-05-18 11:26:54 +03:00
parent 7862468fef
commit dffb7f27a0
6 changed files with 51 additions and 31 deletions

View File

@ -98,11 +98,15 @@ CONFIG(debug, debug|release){
QMAKE_CXXFLAGS += -fno-omit-frame-pointer # Need for exchndl.dll QMAKE_CXXFLAGS += -fno-omit-frame-pointer # Need for exchndl.dll
} }
!macx:!win32-msvc*{ noDebugSymbols{ # For enable run qmake with CONFIG+=noDebugSymbols
# Turn on debug symbols in release mode on Unix systems. # do nothing
# On Mac OS X temporarily disabled. TODO: find way how to strip binary file. } else {
QMAKE_CXXFLAGS_RELEASE += -g -gdwarf-3 !macx:!win32-msvc*{
QMAKE_CFLAGS_RELEASE += -g -gdwarf-3 # Turn on debug symbols in release mode on Unix systems.
QMAKE_LFLAGS_RELEASE = # On Mac OS X temporarily disabled. TODO: find way how to strip binary file.
QMAKE_CXXFLAGS_RELEASE += -g -gdwarf-3
QMAKE_CFLAGS_RELEASE += -g -gdwarf-3
QMAKE_LFLAGS_RELEASE =
}
} }
} }

View File

@ -83,12 +83,16 @@ CONFIG(debug, debug|release){
QMAKE_CXXFLAGS += -fno-omit-frame-pointer # Need for exchndl.dll QMAKE_CXXFLAGS += -fno-omit-frame-pointer # Need for exchndl.dll
} }
!macx:!win32-msvc*{ noDebugSymbols{ # For enable run qmake with CONFIG+=noDebugSymbols
# Turn on debug symbols in release mode on Unix systems. # do nothing
# On Mac OS X temporarily disabled. TODO: find way how to strip binary file. } else {
QMAKE_CXXFLAGS_RELEASE += -g -gdwarf-3 !macx:!win32-msvc*{
QMAKE_CFLAGS_RELEASE += -g -gdwarf-3 # Turn on debug symbols in release mode on Unix systems.
QMAKE_LFLAGS_RELEASE = # On Mac OS X temporarily disabled. TODO: find way how to strip binary file.
QMAKE_CXXFLAGS_RELEASE += -g -gdwarf-3
QMAKE_CFLAGS_RELEASE += -g -gdwarf-3
QMAKE_LFLAGS_RELEASE =
}
} }
} }

View File

@ -90,12 +90,16 @@ CONFIG(debug, debug|release){
QMAKE_CXXFLAGS += -fno-omit-frame-pointer # Need for exchndl.dll QMAKE_CXXFLAGS += -fno-omit-frame-pointer # Need for exchndl.dll
} }
!macx:!win32-msvc*{ noDebugSymbols{ # For enable run qmake with CONFIG+=noDebugSymbols
# Turn on debug symbols in release mode on Unix systems. # do nothing
# On Mac OS X temporarily disabled. TODO: find way how to strip binary file. } else {
QMAKE_CXXFLAGS_RELEASE += -g -gdwarf-3 !macx:!win32-msvc*{
QMAKE_CFLAGS_RELEASE += -g -gdwarf-3 # Turn on debug symbols in release mode on Unix systems.
QMAKE_LFLAGS_RELEASE = # On Mac OS X temporarily disabled. TODO: find way how to strip binary file.
QMAKE_CXXFLAGS_RELEASE += -g -gdwarf-3
QMAKE_CFLAGS_RELEASE += -g -gdwarf-3
QMAKE_LFLAGS_RELEASE =
}
} }
} }

View File

@ -83,11 +83,15 @@ CONFIG(debug, debug|release){
QMAKE_CXXFLAGS += -fno-omit-frame-pointer # Need for exchndl.dll QMAKE_CXXFLAGS += -fno-omit-frame-pointer # Need for exchndl.dll
} }
!macx:!win32-msvc*{ noDebugSymbols{ # For enable run qmake with CONFIG+=noDebugSymbols
# Turn on debug symbols in release mode on Unix systems. # do nothing
# On Mac OS X temporarily disabled. TODO: find way how to strip binary file. } else {
QMAKE_CXXFLAGS_RELEASE += -g -gdwarf-3 !macx:!win32-msvc*{
QMAKE_CFLAGS_RELEASE += -g -gdwarf-3 # Turn on debug symbols in release mode on Unix systems.
QMAKE_LFLAGS_RELEASE = # On Mac OS X temporarily disabled. TODO: find way how to strip binary file.
QMAKE_CXXFLAGS_RELEASE += -g -gdwarf-3
QMAKE_CFLAGS_RELEASE += -g -gdwarf-3
QMAKE_LFLAGS_RELEASE =
}
} }
} }

View File

@ -88,7 +88,7 @@ CONFIG(debug, debug|release){
} else { } else {
# Turn on debug symbols in release mode on Unix systems. # Turn on debug symbols in release mode on Unix systems.
# On Mac OS X temporarily disabled. Need find way how to strip binary file. # On Mac OS X temporarily disabled. Need find way how to strip binary file.
unix:!macx:QMAKE_CXXFLAGS_RELEASE += -g -gdwarf-3 !macx:!win32-msvc*:QMAKE_CXXFLAGS_RELEASE += -g -gdwarf-3
} }
} }

View File

@ -92,12 +92,16 @@ CONFIG(debug, debug|release){
QMAKE_CXXFLAGS += -fno-omit-frame-pointer # Need for exchndl.dll QMAKE_CXXFLAGS += -fno-omit-frame-pointer # Need for exchndl.dll
} }
# Turn on debug symbols in release mode on Unix systems. noDebugSymbols{ # For enable run qmake with CONFIG+=noDebugSymbols
# On Mac OS X temporarily disabled. Need find way how to strip binary file. # do nothing
!macx:!win32-msvc*{ } else {
QMAKE_CXXFLAGS_RELEASE += -g -gdwarf-3 # Turn on debug symbols in release mode on Unix systems.
QMAKE_CFLAGS_RELEASE += -g -gdwarf-3 # On Mac OS X temporarily disabled. Need find way how to strip binary file.
QMAKE_LFLAGS_RELEASE = !macx:!win32-msvc*{
QMAKE_CXXFLAGS_RELEASE += -g -gdwarf-3
QMAKE_CFLAGS_RELEASE += -g -gdwarf-3
QMAKE_LFLAGS_RELEASE =
}
} }
} }