export INSTALL_PREFIX=~/Develop/local/arm64-test/dehancer
export PKG_CONFIG_PATH=$INSTALL_PREFIX/lib/pkgconfig
cmake -DCMAKE_BUILD_TYPE=Debug -DPRINT_DEBUG=ON -DPRINT_KERNELS_DEBUG=OFF -DBUILD_TESTING=ON -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_OSX_SYSROOT=macosx -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 -DDEHANCER_TARGET_ARCH=arm64-apple-macos11.0 -DDEHANCER_GPU_OPENCL=OFF -DDEHANCER_GPU_METAL=ON -DDEHANCER_GPU_CUDA=OFF -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX -DUSE_OPENCOLORIO=ON -DBUILD_UTILS=ON -DDEHANCER_USE_NATIVE_APPLE_API=ON -DDEHANCER_CONTROLLED_SINGLETON=OFF -G "CodeBlocks - Unix Makefiles" ..
cmake --build . --config Debug -j8 && cmake --install . --config Debug