Mimalloc Asan #7

Merged
rboullard merged 15 commits from Development into main 2026-02-20 18:41:42 +00:00
Showing only changes of commit 06700d29fb - Show all commits

View File

@@ -221,11 +221,11 @@ class MimallocConan(ConanFile):
def package_info(self): def package_info(self):
self.cpp_info.set_property("cmake_file_name", "mimalloc") self.cpp_info.set_property("cmake_file_name", "mimalloc")
if(self.options.asan): if(self.options.asan):
self.cpp_info.set_property("cmake_file_name", "mimalloc-asan")
self.cpp_info.set_property("cmake_target_name", "mimalloc-asan") self.cpp_info.set_property("cmake_target_name", "mimalloc-asan")
elif(self.options.shared):
self.cpp_info.set_property("cmake_target_name", "mimalloc")
else: else:
self.cpp_info.set_property("cmake_target_name", "mimalloc-static") self.cpp_info.set_property("cmake_file_name", "mimalloc")
self.cpp_info.set_property("cmake_target_name", "mimalloc" if self.options.shared else "mimalloc-static")
if self.options.get_safe("inject"): if self.options.get_safe("inject"):
self.cpp_info.includedirs = [] self.cpp_info.includedirs = []