Compare commits
2 Commits
e27fd9a424
...
56954e8bd0
| Author | SHA1 | Date | |
|---|---|---|---|
| 56954e8bd0 | |||
| 51afc4d228 |
@@ -35,7 +35,6 @@ target_link_libraries(${PROJECT_NAME}
|
||||
PRIVATE
|
||||
Bin2CPPCompileAndLinkFlags
|
||||
PUBLIC
|
||||
$<IF:$<BOOL:${ASAN}>,mimalloc-asan,mimalloc-static>
|
||||
quill::quill
|
||||
$<$<CONFIG:Debug,RelWithDebInfo>:cpptrace::cpptrace>
|
||||
magic_enum::magic_enum)
|
||||
|
||||
@@ -9,12 +9,6 @@ find_package(magic_enum REQUIRED)
|
||||
find_package(CLI11 REQUIRED)
|
||||
find_package(quill REQUIRED)
|
||||
|
||||
if(${ASAN})
|
||||
find_package(mimalloc-asan REQUIRED)
|
||||
else()
|
||||
find_package(mimalloc REQUIRED)
|
||||
endif()
|
||||
|
||||
find_package(cpptrace REQUIRED)
|
||||
|
||||
if(BUILD_TESTS)
|
||||
|
||||
@@ -45,13 +45,9 @@ class Bin2CPP(ConanFile):
|
||||
if self.settings.os == "Windows":
|
||||
del self.options.fPIC
|
||||
|
||||
if(self.options.asan):
|
||||
self.options["mimalloc"].asan = True
|
||||
|
||||
def requirements(self):
|
||||
self.requires("quill/11.0.2", transitive_headers=True)
|
||||
self.requires("magic_enum/0.9.7", transitive_headers=True)
|
||||
self.requires("mimalloc/3.2.8@bigfootdev/main", transitive_headers=True)
|
||||
self.requires("cli11/2.6.1@bigfootdev/main")
|
||||
|
||||
self.requires("cpptrace/1.0.4", transitive_headers=True)
|
||||
|
||||
Reference in New Issue
Block a user