OLD | NEW |
---|---|
(Empty) | |
1 # | |
2 # @internal | |
3 # @copyright © 2016, Mark Callow. For license see LICENSE.md. | |
Mark Mentovai
2016/05/06 20:26:53
Fix. Don’t refer to nonexistent files.
| |
4 # | |
5 # @brief For testing use of the UI settings & environment variables | |
6 # available in Xcode's PBXCopyFilesBuildPhase. | |
7 # | |
8 { | |
9 'targets': [ | |
10 { | |
11 'target_name': 'copies-with-xcode-envvars', | |
12 'type': 'executable', | |
13 'mac_bundle': 1, | |
14 'sources': [ 'empty.c' ], | |
15 'conditions': [ | |
16 ['OS == "ios" or OS == "mac"', { | |
17 'copies': [{ | |
18 'destination': '$(BUILT_PRODUCTS_DIR)', | |
19 'files': [ | |
20 'file0', | |
21 ], | |
22 }, { | |
23 'destination': '$(BUILT_PRODUCTS_DIR)/$(WRAPPER_NAME)', | |
24 'files': [ | |
25 'file1', | |
26 ], | |
27 }, { | |
28 'destination': '<(PRODUCT_DIR)/$(EXECUTABLE_FOLDER_PATH)', | |
29 'files': [ | |
30 'file2', | |
31 ], | |
32 }, { | |
33 'destination': '<(PRODUCT_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)', | |
34 'files': [ | |
35 'file3', | |
36 ], | |
37 }, { | |
38 'destination': '<(PRODUCT_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/te stimages', | |
39 'files': [ | |
40 'file4', | |
41 ], | |
42 }, { | |
43 'destination': '$(BUILT_PRODUCTS_DIR)/$(JAVA_FOLDER_PATH)', | |
44 'files': [ | |
45 'file5', | |
46 ], | |
47 }, { | |
48 'destination': '<(PRODUCT_DIR)/$(FRAMEWORKS_FOLDER_PATH)', | |
49 'files': [ | |
50 'file6', | |
51 ], | |
52 }, { | |
53 # NOTE: This is not an Xcode macro name but | |
54 # xcodeproj_file.py recognizes it and sends | |
55 # the output to the same place as | |
56 # $(FRAMEWORKS_FOLDER_PATH). xcode_emulation.py | |
57 # sets its value to an absolute path. | |
58 'destination': '$(BUILT_FRAMEWORKS_DIR)', | |
59 'files': [ | |
60 'file7', | |
61 ], | |
62 }, { | |
63 'destination': '<(PRODUCT_DIR)/$(SHARED_FRAMEWORKS_FOLDER_PATH)', | |
64 'files': [ | |
65 'file8', | |
66 ], | |
67 }, { | |
68 'destination': '<(PRODUCT_DIR)/$(SHARED_SUPPORT_FOLDER_PATH)', | |
69 'files': [ | |
70 'file9', | |
71 ], | |
72 }, { | |
73 'destination': '<(PRODUCT_DIR)/$(PLUGINS_FOLDER_PATH)', | |
74 'files': [ | |
75 'file10', | |
76 ], | |
77 }, { | |
78 'destination': '<(PRODUCT_DIR)/$(XPCSERVICES_FOLDER_PATH)', | |
79 'files': [ | |
80 'file11', | |
81 ], | |
82 }], # copies | |
83 }], # OS == "ios" or OS == "mac" | |
84 ], # conditions | |
85 }], # targets | |
86 } | |
87 | |
88 # vim:ai:ts=4:sts=4:sw=2:expandtab:textwidth=70 | |
OLD | NEW |