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
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

-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: 3614
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.
Spoiler: Zen Sarcasm

Locked

Return to “QZDoom”

Who is online

Users browsing this forum: No registered users and 1 guest