File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -124,13 +124,7 @@ endif()
124
124
set (features_file_src "${CMAKE_CURRENT_SOURCE_DIR} /features.json" )
125
125
set (features_file_dest "${CMAKE_BINARY_DIR} /share/clang/features.json" )
126
126
127
- add_custom_command (OUTPUT ${features_file_dest}
128
- COMMAND ${CMAKE_COMMAND} -E make_directory
129
- ${CMAKE_BINARY_DIR} /share/clang
130
- COMMAND ${CMAKE_COMMAND} -E copy
131
- ${features_file_src}
132
- ${features_file_dest}
133
- DEPENDS ${features_file_src} )
127
+ configure_file (${features_file_src} ${features_file_dest} @ONLY )
134
128
135
129
add_custom_target (clang-features-file DEPENDS ${features_file_dest} )
136
130
add_dependencies (clang clang-features-file )
Original file line number Diff line number Diff line change 11
11
},
12
12
{
13
13
"name" : " vfs-redirecting-with"
14
+ },
15
+ {
16
+ "name" : " deployment-target-environment-variables" ,
17
+ "value" : [
18
+ " MACOSX_DEPLOYMENT_TARGET" ,
19
+ " IPHONEOS_DEPLOYMENT_TARGET" ,
20
+ " TVOS_DEPLOYMENT_TARGET" ,
21
+ " WATCHOS_DEPLOYMENT_TARGET" ,
22
+ " BRIDGEOS_DEPLOYMENT_TARGET" ,
23
+ " DRIVERKIT_DEPLOYMENT_TARGET"
24
+ ]
14
25
}
15
26
]
16
27
}
You can’t perform that action at this time.
0 commit comments