Compiling on OSX - that blasted LLVM flag

Truecolor ZDoom with extra features and some unofficial/beta GZDoom features.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Libs (Win)] [Repo] [Bugs&Suggestions]

Moderators: Rachael, dpJudas

Locked
User avatar
ConSiGno
Posts: 12
Joined: Sun Jan 08, 2017 6:05

Compiling on OSX - that blasted LLVM flag

Post by ConSiGno »

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)

Code: Select all

cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_DIR:STRING=/usr/local/Cellar/llvm/3.9.1/lib/cmake/llvm/ ..
Notice that this is different than some previous versions, which had something like

Code: Select all

-DLLVM_DIR:STRING=/usr/local/Cellar/llvm/3.6.2/share/llvm/cmake
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.
User avatar
Rachael
Developer
Developer
Posts: 3639
Joined: Sat May 13, 2006 10:30

Re: Compiling on OSX - that blasted LLVM flag

Post by Rachael »

Thank you for this. Stickied.
Locked

Return to “QZDoom”