This is for #28 and also fixes a few issues i saw with the cmake script:
added cli parsing to find_clang.cr
fixed issue where llvm_libs were blank
fixed an issue where find_clang would fail silently in cmake
I added support for a --clang flag to the find_clang.cr script, which will allow definition of which clang to use. This fixed a lot of problems since cmake can pass it.
This is for #28 and also fixes a few issues i saw with the cmake script:
I added support for a
--clang
flag to thefind_clang.cr
script, which will allow definition of which clang to use. This fixed a lot of problems since cmake can pass it.