mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-23 17:04:12 +08:00
30 lines
665 B
Plaintext
30 lines
665 B
Plaintext
# winseh_safe.pri
|
|
# 12/13/2013 jichi
|
|
#
|
|
# Need link with with SEH assembly
|
|
# See: http://stackoverflow.com/questions/12019689/custom-seh-handler-with-safeseh
|
|
# See: http://stackoverflow.com/questions/19722308/exception-handler-not-called-in-c
|
|
win32 {
|
|
#include(../../../config.pri)
|
|
|
|
# Disable buffer security check: http://msdn.microsoft.com/en-us/library/8dbf701c.aspx
|
|
#QMAKE_CXXFLAGS += /GS-
|
|
|
|
LIBS += safeseh.obj # compiled from safeseh.asm using ml -safeseh
|
|
|
|
DEFINES += WITH_LIB_WINSEH
|
|
|
|
DEPENDPATH += $$PWD
|
|
|
|
HEADERS += $$PWD/winseh.h
|
|
SOURCES += \
|
|
$$PWD/winseh.cc \
|
|
$$PWD/winseh_safe.cc
|
|
|
|
OTHER_FILES += \
|
|
$$PWD/safeseh.asm \
|
|
$$PWD/Makefile
|
|
}
|
|
|
|
# EOF
|