9 #SANITRIZER_FLAGS="-fsanitize=address"
12 #I_LIB_CLANGPP_FLAGS="-stdlib=libc++"
13 #L_LIB_CLANGPP_FLAGS="-stdlib=libc++"
14 #I_LIB_CLANGPP_FLAGS="-stdlib=libstdc++"
15 #L_LIB_CLANGPP_FLAGS="-stdlib=libstdc++"
17 cmake .. -DCMAKE_TOOLCHAIN_FILE="$PWD/../cmake/toolchains/toolchain_native_llvm12.cmake" \
18 -DCMAKE_BUILD_TYPE=Relwithdebinfo \
19 -DCMAKE_C_FLAGS_RELWITHDEBINFO=" \
26 -Wreserved-user-defined-literal \
29 -fstrict-vtable-pointers \
32 ${I_LIB_CLANG_FLAGS} \
33 ${L_LIB_CLANG_FLAGS} \
34 -Wa,--compress-debug-sections=zlib \
36 -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=" \
43 -Wreserved-user-defined-literal \
46 -fstrict-vtable-pointers \
48 ${I_LIB_CLANGPP_FLAGS} \
49 ${L_LIB_CLANGPP_FLAGS} \
51 -Wa,--compress-debug-sections=zlib \
53 -DCMAKE_EXE_LINKER_FLAGS="\
59 ${I_LIB_CLANG_FLAGS} \
60 ${L_LIB_CLANG_FLAGS} \
61 ${I_LIB_CLANGPP_FLAGS} \
62 ${L_LIB_CLANGPP_FLAGS} \
64 -Wl,--compress-debug-sections=zlib \
66 -DCMAKE_MODULE_LINKER_FLAGS="\
72 ${I_LIB_CLANG_FLAGS} \
73 ${L_LIB_CLANG_FLAGS} \
74 ${I_LIB_CLANGPP_FLAGS} \
75 ${L_LIB_CLANGPP_FLAGS} \
77 -Wl,--compress-debug-sections=zlib \
79 -DCSP_BUILD_WITH_CXX20=ON