Skip to content

Rename specs to workaround windows whitespace-escaping issues #502

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Sources/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ function(SwiftBuild_Bundle)
COMMAND
${CMAKE_COMMAND} -E copy_if_different ${BundleXCSpecs_FILES} "${CMAKE_BINARY_DIR}/share/pm/SwiftBuild_${BundleXCSpecs_MODULE}.resources/")


file(TO_NATIVE_PATH "${CMAKE_BINARY_DIR}/share/pm/SwiftBuild_${BundleXCSpecs_MODULE}.resources" _SWIFT_BUILD_RESOURCE_BUNDLE_BUILD_PATH)
file(CONFIGURE
OUTPUT "${CMAKE_BINARY_DIR}/resource_accessors/SwiftBuild_${BundleXCSpecs_MODULE}_resource_bundle_accessor.swift"
Expand Down
46 changes: 23 additions & 23 deletions Sources/SWBApplePlatform/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ SwiftBuild_Bundle(MODULE SWBApplePlatform FILES
Specs/CompileSkybox.xcspec
Specs/CopyPNGFile.xcspec
Specs/CopyTiffFile.xcspec
"Specs/Core Data.xcspec"
Specs/CoreData.xcspec
Specs/CoreML.xcspec
"Specs/Darwin Package Types.xcspec"
"Specs/Darwin Product Types.xcspec"
Specs/DarwinPackageTypes.xcspec
Specs/DarwinProductTypes.xcspec
Specs/DriverKit.xcspec
Specs/DTrace.xcspec
Specs/Embedded-Device.xcspec
Expand All @@ -75,18 +75,18 @@ SwiftBuild_Bundle(MODULE SWBApplePlatform FILES
Specs/InfoPlistUtility.xcspec
Specs/InstrumentsPackage.xcspec
Specs/Intents.xcspec
"Specs/Interface Builder File Types.xcspec"
"Specs/iOS Device.xcspec"
"Specs/iOS Shared.xcspec"
"Specs/iOS Simulator.xcspec"
Specs/InterfaceBuilderFileTypes.xcspec
Specs/iOSDevice.xcspec
Specs/iOSShared.xcspec
Specs/iOSSimulator.xcspec
Specs/KernelExtension.xcspec
Specs/Lipo.xcspec
Specs/LSRegisterURL.xcspec
"Specs/MacOSX Architectures.xcspec"
"Specs/MacOSX Core Build System.xcspec"
"Specs/MacOSX Native Build System.xcspec"
"Specs/MacOSX Package Types.xcspec"
"Specs/MacOSX Product Types.xcspec"
Specs/macOSArchitectures.xcspec
Specs/macOSCoreBuildSystem.xcspec
Specs/macOSNativeBuildSystem.xcspec
Specs/macOSPackageTypes.xcspec
Specs/macOSProductTypes.xcspec
Specs/MetalCompiler.xcspec
Specs/MetalFileTypes.xcspec
Specs/MetalLinker.xcspec
Expand All @@ -100,22 +100,22 @@ SwiftBuild_Bundle(MODULE SWBApplePlatform FILES
Specs/ReferenceObject.xcspec
Specs/ResMerger.xcspec
Specs/Rez.xcspec
"Specs/SceneKit FileTypes.xcspec"
"Specs/SceneKit Tools.xcspec"
Specs/SceneKitFileTypes.xcspec
Specs/SceneKitTools.xcspec
Specs/SpriteKitFileTypes.xcspec
Specs/TiffUtil.xcspec
"Specs/tvOS Device.xcspec"
"Specs/tvOS Shared.xcspec"
"Specs/tvOS Simulator.xcspec"
Specs/tvOSDevice.xcspec
Specs/tvOSShared.xcspec
Specs/tvOSSimulator.xcspec
Specs/WatchKit1ProductTypes.xcspec
"Specs/watchOS Device.xcspec"
"Specs/watchOS Shared.xcspec"
"Specs/watchOS Simulator.xcspec"
Specs/watchOSDevice.xcspec
Specs/watchOSShared.xcspec
Specs/watchOSSimulator.xcspec
Specs/XCAppExtensionPoints.xcspec
Specs/XCStrings.xcspec
"Specs/xrOS Device.xcspec"
"Specs/xrOS Shared.xcspec"
"Specs/xrOS Simulator.xcspec")
Specs/xrOSDevice.xcspec
Specs/xrOSShared.xcspec
Specs/xrOSSimulator.xcspec)
set_target_properties(SWBApplePlatform PROPERTIES
Swift_LANGUAGE_VERSION 6)
target_link_libraries(SWBApplePlatform PUBLIC
Expand Down
4 changes: 2 additions & 2 deletions Sources/SWBUniversalPlatform/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ SwiftBuild_Bundle(MODULE SWBUniversalPlatform FILES
Specs/BuiltInBuildRules.xcbuildrules
Specs/BuiltInCompilers.xcspec
Specs/BuiltInFileTypes.xcspec
"Specs/Clang LLVM 1.0.xcspec"
Specs/Clang.xcspec
Specs/ClangModuleVerifierInputGenerator.xcspec
Specs/ClangStatCache.xcspec
Specs/ClangSymbolExtractor.xcspec
Expand All @@ -32,7 +32,7 @@ SwiftBuild_Bundle(MODULE SWBUniversalPlatform FILES
Specs/CopyPlistFile.xcspec
Specs/CopyStringsFile.xcspec
Specs/Cpp.xcspec
"Specs/Default Compiler.xcspec"
Specs/DefaultCompiler.xcspec
Specs/Documentation.xcspec
Specs/Ld.xcspec
Specs/Lex.xcspec
Expand Down
Loading