Advertisement
illwieckz

netradiant debugging iqm picomodel on macOS

Mar 29th, 2024 (edited)
771
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.80 KB | None | 0 0
  1. # install dependencies
  2. brew install cmake glib gobject-introspection libffi gtk+ gtk+3 gtk-doc pkgconfig minizip webp coreutils gnu-sed wget sassc
  3. brew link --force gettext
  4.  
  5. # get sources
  6. git clone --recursive https://gitlab.com/xonotic/netradiant.git
  7. cd netradiant
  8.  
  9. # configure build (only fetch unvanquished gamepack, force picomodel IQM library)
  10. cmake -G "Unix Makefiles" -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DGAMEPACKS_LICENSE_LIST='none' -DGAMEPACKS_NAME_LIST='Unvanquished' -DRADIANT_IQM_PLUGIN='picomodel'
  11.  
  12. # build builtins
  13. cmake --build build -- -j$(nproc) builtins
  14.  
  15. # rediscover builtins
  16. cmake -G "Unix Makefiles" -S. -Bbuild
  17.  
  18. # build
  19. cmake --build build -- -j$(nproc)
  20.  
  21. # install
  22. cmake --install build
  23.  
  24. # run NetRadiant in LLDB
  25. install/NetRadiant.app/Contents/MacOS/NetRadiant --debug
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement