EverWrath/bin/compiler
Yehonal 0f5ff1db7e Bash: Removed compilation type suffix on build/bin path
if you need to differentiate it you can add $CTYPE variable as suffix of bin/build path conf
2017-10-09 10:13:51 +00:00
..
includes Bash: Removed compilation type suffix on build/bin path 2017-10-09 10:13:51 +00:00
.gitignore some fixes to bash config files 2016-08-07 12:10:51 +02:00
1-clean.sh Crossplatform header for bash files 2016-08-26 16:23:25 +02:00
2-configure.sh Crossplatform header for bash files 2016-08-26 16:23:25 +02:00
3-build.sh Crossplatform header for bash files 2016-08-26 16:23:25 +02:00
compiler.sh Bash: implemented installer script for server and modules (beta) 2017-09-21 18:52:20 +02:00
README.md Bash: implemented installer script for server and modules (beta) 2017-09-21 18:52:20 +02:00

How to compile:

first of all, if you need some custom configuration you have to copy and rename /conf/config.sh.dist in /conf/config.sh and configure it

  • for a "clean" compilation you must run all scripts in their order:

      ./1-clean.sh
      ./2-configure.sh
      ./3-build.sh
    
  • if you add/rename/delete some sources and you need to compile it you have to run:

      ./2-configure.sh
      ./3-build.sh
    
  • if you have modified code only, you just need to run

      ./3-build.sh
    

compiler.sh

compiler.sh script contains an interactive menu to clean/compile/build. You can also run actions directly by command lines specifying the option. Ex: ./compiler.sh 3

It will start the build process (it's equivalent to ./3-build.sh)

Note:

For an optimal development process and really faster compilation time, is suggested to use clang instead of gcc