developer documentation for NetRadiant-custom ====================================== getting the source ================== The latest source is available from the git repository. https://github.com/Garux/netradiant-custom.git The git client can be obtained from the Subversion site. http://git-scm.org To get a copy of the source using the commandline git client: Change the current directory to the desired location for the source. git clone https://github.com/Garux/netradiant-custom.git cd netradiant-custom Linux(using X-windows) ====================== environment: - gcc >= version 3.1 (preferably) - GNU make - svn >= 1.1 (some build steps use svn) dependencies: - qt5 - glib - libxml2 >= 2.0.0 - zlib >= 1.2.0 (for archivezip module) - libpng >= 1.2.0 (for imagepng module) build: run 'make' run: Execute 'install/radiant.x86' OSX(using X-windows) ==================== environment: - OS X 10.5 or 10.6 - Xcode developer tools installed (OSX DVD) - X11 (from the OS X DVD) - MacPorts or fink or homebrew installed - the following packages installed: Macports (reported as working in 10.15.3): gtkglext pkgconfig glib2-devel libxml2 gtk2 pango atk gettext wget Fink: gtkglext1 pkgconfig glib2-dev libxml2 gtk+2 gtk+2-dev pango1-xft2-ft219-dev atk1 gettext-dev wget homebrew (does not work due to X11->Quartz switch, requires patched gtkglext): gtk+ gtkglext build: run 'make' homebrew build: run 'export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfig make' run: Switch into the install folder, and run NetRadiant.app Win32 (using MSYS2) ================== environment: - MSYS2 (http://www.msys2.org/) - from MSYS2 MINGW32 or MSYS2 MINGW64 shell: pacman -S --needed base-devel 32 bit: pacman -S --needed mingw-w64-i686-{toolchain,qt5-base,libxml2} 64 bit: pacman -S --needed mingw-w64-x86_64-{toolchain,qt5-base,libxml2} these are only strictly required for gamepacks: pacman -S --needed unzip svn git build: - Start respective mingw shell - Switch to the directory with NetRadiant-custom source - Typical release build: make MAKEFILE_CONF=msys2-Makefile.conf BUILD=release -j$(nproc) - Typical developer's build: make MAKEFILE_CONF=msys2-Makefile.conf DEPENDENCIES_CHECK=off DOWNLOAD_GAMEPACKS=no INSTALL_DLLS=no BUILD=debug RADIANT_ABOUTMSG="NetRadiant custom dev build" -j$(nproc) run: - in the "install" directory, double click radiant.exe