Various changes to how color blocks are passed

This commit is contained in:
2021-02-15 03:27:52 -08:00
parent a3cc69db64
commit 77cc6a8132
19 changed files with 216 additions and 92 deletions

View File

@ -34,6 +34,8 @@ target_compile_features(test_rgbcx PUBLIC cxx_std_20 c_std_11)
set_project_warnings(python_rgbcx)
set_project_warnings(test_rgbcx)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")
if (CMAKE_CXX_COMPILER_ID MATCHES ".*Clang")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -lc++abi")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -fsanitize=undefined")