mirror of
https://github.com/simtactics/niotso.git
synced 2025-03-22 02:52:18 +00:00
25 lines
No EOL
1.4 KiB
Text
25 lines
No EOL
1.4 KiB
Text
All you need installed to compile Niotso for Windows, Linux, or Mac is cmake 2.6 or newer, a compatible compiler (such as GCC 4.6 or newer), and NASM 2.0 or newer for libjpeg-turbo.
|
|
|
|
cd into the _build directory and run
|
|
$ cmake -G "<Generator name>" ..
|
|
|
|
The list of generators can be found with cmake --help.
|
|
|
|
//-- Makefile
|
|
|
|
Run "make" to compile every package. -j # will greatly speed up the compile time for processors with # cores.
|
|
Run "make install" after compiling to install Niotso to your game directory; please specify it first in the Makefile.
|
|
|
|
Run "make objclean" to delete all object files created during compilation.
|
|
Run "make clean" to delete all object files and executable files created during compilation.
|
|
Run "make distclean" to delete all files of any kind created during compilation. (Includes profile-collection files.)
|
|
Run "make uninstall" to delete Niotso from your game directory.
|
|
Run "make uninstall_all" to delete Niotso from your game directory as well as all Niotso.ini files created by Niotso.
|
|
|
|
Run "make <component>" to compile only a specific package.
|
|
For a list of packages, run "make help".
|
|
Note that packages must and will compile any other packages required as a dependency.
|
|
|
|
//-- Code::Blocks, Visual Studio, XCode
|
|
|
|
Open the solution or project file; you may select between a Release, Debug, Release64, and Debug64 build configuration. |