File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ list(APPEND CMAKE_MODULE_PATH
16
16
# This is primarily to support building smaller or faster project files.
17
17
#
18
18
19
- option (SWIFT_BUILD_TOOLS
20
- "Build the Swift compiler and other tools"
19
+ option (SWIFT_INCLUDE_TOOLS
20
+ "Generate build targets for swift tools"
21
21
TRUE )
22
22
23
23
option (SWIFT_BUILD_REMOTE_MIRROR
@@ -822,14 +822,14 @@ if(NOT DEFINED SWIFT_API_NOTES_INPUTS)
822
822
endif ()
823
823
824
824
# Add all of the subdirectories, where we actually do work.
825
- if (SWIFT_BUILD_TOOLS )
825
+ if (SWIFT_INCLUDE_TOOLS )
826
826
add_subdirectory (include )
827
827
add_subdirectory (lib )
828
828
add_subdirectory (tools )
829
829
endif ()
830
830
831
831
is_sdk_requested ("${SWIFT_HOST_VARIANT_SDK} " SWIFT_HOST_SDK_REQUESTED )
832
- if (SWIFT_BUILD_TOOLS AND SWIFT_BUILD_STDLIB AND SWIFT_HOST_SDK_REQUESTED )
832
+ if (SWIFT_INCLUDE_TOOLS AND SWIFT_BUILD_STDLIB AND SWIFT_HOST_SDK_REQUESTED )
833
833
add_subdirectory (tools/swift-reflection-dump )
834
834
endif ()
835
835
Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ function(_compile_swift_files dependency_target_out_var_name)
320
320
set (line_directive_tool "${SWIFT_SOURCE_DIR} /utils/line-directive" )
321
321
set (swift_compiler_tool "${SWIFT_NATIVE_SWIFT_TOOLS_PATH} /swiftc" )
322
322
set (swift_compiler_tool_dep )
323
- if (SWIFT_BUILD_TOOLS )
323
+ if (SWIFT_INCLUDE_TOOLS )
324
324
# Depend on the binary itself, in addition to the symlink.
325
325
set (swift_compiler_tool_dep "swift" )
326
326
endif ()
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ if(PYTHONINTERP_FOUND)
92
92
93
93
set (SWIFT_TEST_EXTRA_ARGS )
94
94
95
- if (NOT SWIFT_BUILD_TOOLS )
95
+ if (NOT SWIFT_INCLUDE_TOOLS )
96
96
list (APPEND SWIFT_TEST_EXTRA_ARGS
97
97
"--path=${SWIFT_NATIVE_LLVM_TOOLS_PATH} "
98
98
"--path=${SWIFT_NATIVE_CLANG_TOOLS_PATH} "
Original file line number Diff line number Diff line change 1
1
2
2
include (AddSwiftUnittests )
3
3
4
- if (SWIFT_BUILD_TOOLS )
4
+ if (SWIFT_INCLUDE_TOOLS )
5
5
# We can't link C++ unit tests unless we build the tools.
6
6
7
7
add_subdirectory (AST )
Original file line number Diff line number Diff line change @@ -1959,7 +1959,7 @@ for host in "${ALL_HOSTS[@]}"; do
1959
1959
-DSWIFT_NATIVE_LLVM_TOOLS_PATH:STRING=" ${native_llvm_tools_path} "
1960
1960
-DSWIFT_NATIVE_CLANG_TOOLS_PATH:STRING=" ${native_clang_tools_path} "
1961
1961
-DSWIFT_NATIVE_SWIFT_TOOLS_PATH:STRING=" ${native_swift_tools_path} "
1962
- -DSWIFT_BUILD_TOOLS :BOOL=$( true_false " ${BUILD_SWIFT_TOOLS} " )
1962
+ -DSWIFT_INCLUDE_TOOLS :BOOL=$( true_false " ${BUILD_SWIFT_TOOLS} " )
1963
1963
-DSWIFT_BUILD_REMOTE_MIRROR:BOOL=$( true_false " ${BUILD_SWIFT_REMOTE_MIRROR} " )
1964
1964
-DSWIFT_SERIALIZE_STDLIB_UNITTEST:BOOL=$( true_false " ${BUILD_SERIALIZED_STDLIB_UNITTEST} " )
1965
1965
-DSWIFT_STDLIB_SIL_DEBUGGING:BOOL=$( true_false " ${BUILD_SIL_DEBUGGING_STDLIB} " )
You can’t perform that action at this time.
0 commit comments