4
0
mirror of https://github.com/QuasarApp/LIEF.git synced 2025-05-06 16:59:35 +00:00

Setup cmake configuration as RelWithDebInfo when building in debug mode

This commit is contained in:
rthomas 2020-09-26 11:17:03 +02:00
parent 61e93d71f2
commit 013a3861c0

@ -106,7 +106,7 @@ class BuildLibrary(build_ext):
build_temp = self.build_temp
extdir = os.path.abspath(os.path.dirname(self.get_ext_fullpath(ext.name)))
cmake_library_output_directory = os.path.abspath(os.path.dirname(build_temp))
cfg = 'Debug' if self.debug else 'Release'
cfg = 'RelWithDebInfo' if self.debug else 'Release'
is64 = sys.maxsize > 2**32
cmake_args = [