Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Add .polly #49

Open
ruslo opened this issue Nov 21, 2015 · 1 comment
Open

Add .polly #49

ruslo opened this issue Nov 21, 2015 · 1 comment

Comments

@ruslo
Copy link
Owner

ruslo commented Nov 21, 2015

Use ~/.polly and local .polly (do we need local?) to add some default user's arguments like --jobs N or --fwd HUNTER_CONFIGURATION_TYPES=Release. .polly can be ini-like file. E.g. say we have several devices:

  • iPad with iOS 9.0
  • iPhone with iOS 9.1
  • HTC One with Android API 21
  • Prestigio with Android API 19

~/.polly can contain:

[global] # reserved type
  jobs = N
  fwd = HUNTER_CONFIGURATION_TYPES=Release # is it correct syntax?
  verbose = True
[ipad]
  toolchain = ios-9-0-armv7
[iphone]
  toolchain = ios-9-1-armv7
[htc]
  toolchain = android-ndk-r10e-api-21-arm64-v8a
[prest]
  toolchain = android-ndk-r10e-api-19-armeabi-v7a-neon

Usage: build.py --type htc or build.py --class htc

@ruslo
Copy link
Owner Author

ruslo commented Mar 19, 2016

Probably extending CMake is a better idea:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant