https://github.com/alexdenisov/llvmtemplate
LLVM + Swift template Xcode project
https://github.com/alexdenisov/llvmtemplate
llvm swift xcode
Last synced: 9 months ago
JSON representation
LLVM + Swift template Xcode project
- Host: GitHub
- URL: https://github.com/alexdenisov/llvmtemplate
- Owner: AlexDenisov
- License: unlicense
- Created: 2016-05-25T20:16:22.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-20T05:35:33.000Z (almost 9 years ago)
- Last Synced: 2025-04-16T01:06:56.337Z (11 months ago)
- Topics: llvm, swift, xcode
- Language: Swift
- Size: 8.79 KB
- Stars: 13
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LLVMTemplate
Template Xcode project to play with Swift and LLVM
## Installation
```
git clone git@github.com:AlexDenisov/LLVMTemplate.git
make setup
make build
open LLVMTemplate.xcodeproj
```
The commands above will fetch and build LLVM sources for you.
_Note:_ By default the 'build system' will use `$(HOME)/LLVM/src` and `$(HOME)/LLVM/build` for source and build directories respectively. These values can be changed at `LLVM.xcconfig`.
## Usage
Everything you need is to open the Xcode project and start exploring `main.swift` and `Helpers.swift`.
I included few sample modules to play with, they may be created using the following method calls: `sampleMathModule()`, `sampleFindMaxModule()`, `sampleFibModule()`.
Enjoy and happy hacking!
## License
This is free and unencumbered software released into the public domain.