mirror of
https://github.com/simtactics/niotso.git
synced 2025-08-13 09:58:17 -04:00
Switched over to cmake. Everything now works in one command.
This commit is contained in:
parent
b3985e7306
commit
17c3bb1145
20 changed files with 179 additions and 203 deletions
|
@ -1,6 +1,13 @@
|
|||
All you need installed to compile Niotso for Windows, Linux, or Mac is GCC 4.6 or newer, and NASM for libjpeg-turbo.
|
||||
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.
|
||||
|
||||
Run "make" in this directory to compile every package. -j # will greatly speed up the compile time for processors with # cores.
|
||||
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.
|
||||
|
@ -10,5 +17,9 @@ 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, see packages.makefile.
|
||||
Note that packages must and will compile any other packages required as a dependency.
|
||||
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.
|
Loading…
Add table
Add a link
Reference in a new issue