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

User avatar
Documentation? What documentation?
Posts: 12
Joined: Sun Jan 08, 2017 6:05

Compiling on OSX - that blasted LLVM flag

Post by ConSiGno » 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)

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

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.

Posts: 3626
Joined: Sat May 13, 2006 10:30

Re: Compiling on OSX - that blasted LLVM flag

Post by Rachael » Mon Jan 23, 2017 20:32

Thank you for this. Stickied.


Return to “QZDoom”