Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # install dependencies
- brew install cmake glib gobject-introspection libffi gtk+ gtk+3 gtk-doc pkgconfig minizip webp coreutils gnu-sed wget sassc
- brew link --force gettext
- # get sources
- git clone --recursive https://gitlab.com/xonotic/netradiant.git
- cd netradiant
- # configure build (only fetch unvanquished gamepack, force picomodel IQM library)
- cmake -G "Unix Makefiles" -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DGAMEPACKS_LICENSE_LIST='none' -DGAMEPACKS_NAME_LIST='Unvanquished' -DRADIANT_IQM_PLUGIN='picomodel'
- # build builtins
- cmake --build build -- -j$(nproc) builtins
- # rediscover builtins
- cmake -G "Unix Makefiles" -S. -Bbuild
- # build
- cmake --build build -- -j$(nproc)
- # install
- cmake --install build
- # run NetRadiant in LLDB
- install/NetRadiant.app/Contents/MacOS/NetRadiant --debug
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement