diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2015-01-13 14:15:48 -0500 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2015-01-13 14:15:48 -0500 |
commit | fa0d20194e5ccddd4ea1902a9d97592b06367fc3 (patch) | |
tree | d63a5f91c0b68568f8ed3fc5ecdd7a41e2a6f5eb /gyp | |
parent | f20a17a2919fffc4baa9dadc294c3ebb4459a2ff (diff) | |
download | qtlocation-mapboxgl-fa0d20194e5ccddd4ea1902a9d97592b06367fc3.tar.gz |
break out version.hpp copy task into a separate gyp target to eliminate a possible race condition in parallel builds
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/install.gypi | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gyp/install.gypi b/gyp/install.gypi index 5338bfed1b..cf08ea1ea3 100644 --- a/gyp/install.gypi +++ b/gyp/install.gypi @@ -17,7 +17,6 @@ { 'files': [ '<(PRODUCT_DIR)/libmbgl-headless.a' ], 'destination': '<(install_prefix)/lib' }, { 'files': [ '<(PRODUCT_DIR)/libmbgl-<(platform).a' ], 'destination': '<(install_prefix)/lib' }, { 'files': [ '../include/mbgl' ], 'destination': '<(install_prefix)/include' }, - { 'files': [ '<(SHARED_INTERMEDIATE_DIR)/include/mbgl/util/version.hpp' ], 'destination': '<(install_prefix)/include/mbgl/util' }, ], 'variables': { 'conditions': [ @@ -55,6 +54,16 @@ } ] }, + { 'target_name': 'copy_version', + 'type': 'none', + 'hard_dependency': 1, + 'dependencies': [ + 'install', + ], + 'copies': [ + { 'files': [ '<(SHARED_INTERMEDIATE_DIR)/include/mbgl/util/version.hpp' ], 'destination': '<(install_prefix)/include/mbgl/util' }, + ], + } ] }], ], |