summaryrefslogtreecommitdiff
path: root/gyp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-04-28 11:48:57 +0200
committerKonstantin Käfer <mail@kkaefer.com>2015-04-28 16:16:09 +0200
commit473aa281c7e379060c6dba60b7ba6b69c6f0bdf4 (patch)
tree4944f4d5ae24e88ae5923f2bb749e85ab69a2436 /gyp
parente4fd967d184e94325e7696033bad0317cd14d158 (diff)
downloadqtlocation-mapboxgl-473aa281c7e379060c6dba60b7ba6b69c6f0bdf4.tar.gz
make meta-target for all iOS targets too and split up project.gyp
this will make it easier to add more targets to iOS builds in the future. It'll also help by having Xcode files named after the platform they're for, so it's easier to distinguish windows
Diffstat (limited to 'gyp')
-rw-r--r--gyp/ios.gyp5
-rw-r--r--gyp/linux.gyp7
-rw-r--r--gyp/osx.gyp8
-rw-r--r--gyp/project.gyp19
4 files changed, 20 insertions, 19 deletions
diff --git a/gyp/ios.gyp b/gyp/ios.gyp
new file mode 100644
index 0000000000..989f34cb72
--- /dev/null
+++ b/gyp/ios.gyp
@@ -0,0 +1,5 @@
+{
+ 'includes': [
+ '../ios/app/mapboxgl-app.gypi',
+ ],
+}
diff --git a/gyp/linux.gyp b/gyp/linux.gyp
new file mode 100644
index 0000000000..0f7126934f
--- /dev/null
+++ b/gyp/linux.gyp
@@ -0,0 +1,7 @@
+{
+ 'includes': [
+ '../linux/mapboxgl-app.gypi',
+ '../test/test.gypi',
+ '../bin/render.gypi',
+ ],
+}
diff --git a/gyp/osx.gyp b/gyp/osx.gyp
new file mode 100644
index 0000000000..64663540b2
--- /dev/null
+++ b/gyp/osx.gyp
@@ -0,0 +1,8 @@
+{
+ 'includes': [
+ '../macosx/mapboxgl-app.gypi',
+ '../linux/mapboxgl-app.gypi',
+ '../test/test.gypi',
+ '../bin/render.gypi',
+ ],
+}
diff --git a/gyp/project.gyp b/gyp/project.gyp
deleted file mode 100644
index 9f53eef510..0000000000
--- a/gyp/project.gyp
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- 'conditions': [
- ['host == "osx"', {
- 'includes': [
- '../macosx/mapboxgl-app.gypi',
- '../linux/mapboxgl-app.gypi',
- '../test/test.gypi',
- '../bin/render.gypi',
- ]
- }],
- ['host == "linux"', {
- 'includes': [
- '../linux/mapboxgl-app.gypi',
- '../test/test.gypi',
- '../bin/render.gypi',
- ]
- }],
- ],
-}