Created
November 10, 2023 14:51
-
-
Save skhaz/56e6c2e822bed239bce1e87d07f6f215 to your computer and use it in GitHub Desktop.
Conan sanitizers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.conan2/profiles/default | |
[settings] | |
arch=armv8 | |
build_type=Debug | |
compiler=clang | |
compiler.cppstd=gnu17 | |
compiler.libcxx=libc++ | |
compiler.version=17 | |
os=Macos | |
[conf] | |
tools.build:jobs=8 | |
tools.build:cflags=["-fsanitize=address", "-fsanitize=undefined"] | |
tools.build:cxxflags=["-fsanitize=address", "-fsanitize=undefined"] | |
tools.build:exelinkflags=["-fsanitize=address", "-fsanitize=undefined"] | |
tools.build:sharedlinkflags=["-fsanitize=address", "-fsanitize=undefined"] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.conan2/global.conf | |
tools.info.package_id:confs=["tools.build:cflags", "tools.build:cxxflags", "tools.build:exelinkflags", "tools.build:sharedlinkflags"] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
conan install . --output-folder=build --profile=debug --build="*" && cd build && cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Debug