Skip to content

Instantly share code, notes, and snippets.

@troughton
Last active April 13, 2016 05:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save troughton/0a25d73a0a6f216d453070c467295f09 to your computer and use it in GitHub Desktop.
Save troughton/0a25d73a0a6f216d453070c467295f09 to your computer and use it in GitHub Desktop.
Swift Build Script
swiftc --driver-mode=swift -lPackageDescription Package.swift -fileno 3
swiftc --driver-mode=swift -lPackageDescription Packages/SGLOpenGL-2.0.2/Package.swift -fileno 4
swiftc --driver-mode=swift -lPackageDescription Packages/CGLFW3-1.0.0/Package.swift -fileno 4
swift-build-tool -f .build/debug.yaml default -v
swiftc -Xlinker -LPackages/CGLFW3-1.0.0 -g -L.build/debug -o .build/debug/SwiftGLTest -emit-executable .build/debug/SwiftGLTest.build/main.swift.o .build/debug/SGLOpenGL.build/Commands.swift.o .build/debug/SGLOpenGL.build/Constants.swift.o .build/debug/SGLOpenGL.build/Loaders.swift.o .build/debug/SGLOpenGL.build/SwiftGL.swift.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment