2018-06-06 15:56:42 +03:00
|
|
|
if (STACKTRACE)
|
2019-06-21 15:35:19 +03:00
|
|
|
if (NOT "${WINXXBITS}" STREQUAL "Win64")
|
2015-11-06 21:03:18 +03:00
|
|
|
add_compile_options(-fno-omit-frame-pointer)
|
2019-06-21 15:35:19 +03:00
|
|
|
endif (NOT "${WINXXBITS}" STREQUAL "Win64")
|
2015-11-06 21:03:18 +03:00
|
|
|
link_libraries(libdbghelp -Wl,--export-all-symbols)
|
2018-06-06 15:56:42 +03:00
|
|
|
endif (STACKTRACE)
|
2015-11-06 21:03:18 +03:00
|
|
|
|
|
|
|
if (("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") OR ("${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo"))
|
|
|
|
link_libraries(-Wl,--dynamicbase)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# LIBS += libadvapi32 libshell32 libuser32
|
|
|
|
# LIBS += libcrypto.dll libssl.dll libwsock32 libws2_32 libz libiconv.dll
|
|
|
|
# LIBS += libpowrprof
|