File tree 1 file changed +13
-0
lines changed 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,18 @@ include(SwiftWindowsSupport)
5
5
include (SwiftAndroidSupport)
6
6
7
7
function (_swift_gyb_target_sources target scope)
8
+ file (GLOB GYB_UNICODE_DATA ${SWIFT_SOURCE_DIR} /utils/UnicodeData/*)
9
+ file (GLOB GYB_STDLIB_SUPPORT ${SWIFT_SOURCE_DIR} /utils/gyb_stdlib_support.py)
10
+ file (GLOB GYB_SYNTAX_SUPPORT ${SWIFT_SOURCE_DIR} /utils/gyb_syntax_support/*)
11
+ file (GLOB GYB_SOURCEKIT_SUPPORT ${SWIFT_SOURCE_DIR} /utils/gyb_sourcekit_support/*)
12
+ set (GYB_SOURCES
13
+ ${SWIFT_SOURCE_DIR} /utils/GYBUnicodeDataUtils.py
14
+ ${SWIFT_SOURCE_DIR} /utils/SwiftIntTypes.py
15
+ ${GYB_UNICODE_DATA}
16
+ ${GYB_STDLIB_SUPPORT}
17
+ ${GYB_SYNTAX_SUPPORT}
18
+ ${GYB_SOURCEKIT_SUPPORT} )
19
+
8
20
foreach (source ${ARGN} )
9
21
get_filename_component (generated ${source} NAME_WLE)
10
22
get_filename_component (absolute ${source} REALPATH)
@@ -17,6 +29,7 @@ function(_swift_gyb_target_sources target scope)
17
29
COMMAND
18
30
${CMAKE_COMMAND} -E remove ${CMAKE_CURRENT_BINARY_DIR} /${generated} .tmp
19
31
DEPENDS
32
+ ${GYB_SOURCES}
20
33
${absolute} )
21
34
set_source_files_properties (${CMAKE_CURRENT_BINARY_DIR} /${generated} PROPERTIES
22
35
GENERATED TRUE )
You can’t perform that action at this time.
0 commit comments