Coder Social home page Coder Social logo

amigomake's Introduction

AmigoMake

Check out the Wiki and How to write an AmigoMakefile

Take a look at the sample AmigoMakefile which will build an executable out of all C/C++ files in its directory

##Install:

# Makes soft link to amigomake in /usr/bin
sudo ./install.sh

##Usage:

amigomake [flags] [action] {android,ios,native_x86} [platform-flags]

###Supported Platforms:

android, ios, native_x86

###General Flags:

-h, --help         Show this help message and exit
-a, --arch         Specify the target architecture(s) (armv7 by default)
-f, --file         Specify AmigoMakefile path
-r, --root         Specify dir for external dependency soures
-d, --debug        Compile non-optimized with debug flags
--all              Apply action to everything including dependencies
                   (Needs to be supported in AmigoMakefile)
--gcc              Compile using gcc
--cxx11            Compile with c++11 support
-v, --verbose      Verbose mode
--version          Print version

###Actions:

Pass actions to be interpreted by the make file (clean, test, etc...)

The default action is: build

###Platform Flags: ####X86: None ####Android:

-n , --ndk           Specify path to the Android NDK(Required)
-v , --sdk-version   Specify Android SDK version to use(Required)

####iOS:

-v , --sdk-version   Specify iOS SDK version to use(Required)

##Examples:

###IOS:

# Clean non sim build and external dependencies:
amigomake --all -a armv7 -a arm64 clean ios -v 8.1

# Build IOS8 device without rebuilding external dependencies:
amigomake -a armv7 -a arm64 ios -v 8.1

# Build iOS8 simulator build and external dependencies:
amigomake --all -a i386 ios -v 8.1

###Android:

# Build Android without rebuilding external dependencies for SDK version 14:
amigomake android -n ~/android-ndk/ -v 14

###x86:

# Build x86 without rebuilding external dependencies:
amigomake native_x86

###External Libraries: Some example external packages are included:

  • proj4, libpng, libjpeg, gmock
  • sqlite, freetype, minizip, bzip
  • openssl, cURL, libicu, boost

amigomake's People

Contributors

hallahan avatar schernetsky avatar vchernetsky avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.