mirror of
https://github.com/QuasarApp/LIEF.git
synced 2025-05-08 17:59:34 +00:00
Setup cmake configuration as RelWithDebInfo when building in debug mode
This commit is contained in:
parent
61e93d71f2
commit
013a3861c0
2
setup.py
2
setup.py
@ -106,7 +106,7 @@ class BuildLibrary(build_ext):
|
|||||||
build_temp = self.build_temp
|
build_temp = self.build_temp
|
||||||
extdir = os.path.abspath(os.path.dirname(self.get_ext_fullpath(ext.name)))
|
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))
|
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
|
is64 = sys.maxsize > 2**32
|
||||||
|
|
||||||
cmake_args = [
|
cmake_args = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user