Compiling on OSX - that blasted LLVM flag
Posted: Mon Jan 23, 2017 19:57
Here's how to build QZDoom on OS X because I'm stubborn and won't use someone else's binaries.
Because llvm 3.9.1 is the latest now, this is my command line (after brew install llvm)
Notice that this is different than some previous versions, which had something like
so watch out. This should also work for Linuxbrew, or a similar path structure, at least. Because Linuxbrew is set up to not interfere with distro programs, you'll have to be specific and point out where every piece of software is. Sorry, that's just how it is.
Because llvm 3.9.1 is the latest now, this is my command line (after brew install llvm)
Code: Select all
cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_DIR:STRING=/usr/local/Cellar/llvm/3.9.1/lib/cmake/llvm/ ..
Code: Select all
-DLLVM_DIR:STRING=/usr/local/Cellar/llvm/3.6.2/share/llvm/cmake