Commit Graph

3 Commits

Author SHA1 Message Date
Max Desiatov 8de82e8819
Add support for Apple Silicon in SwiftSupport.cmake (#293) 2020-12-08 14:32:12 -08:00
Saleem Abdulrasool cdafa7712f build: improve installation
We would previously fail to install Yams from CMake due to searching for
the swiftmodule in the wrong location.  This uses the new improved
generic installation rules that I've been using in a number of other
projects to install the swift content across all the platforms.
2020-08-17 10:45:17 -07:00
Saleem Abdulrasool edb73d167c build: add CMake based build
This adds a CMake (3.15.1) based build to enable building Yams on
platforms where s-p-m does not yet function.  It also enables
cross-compilation of Yams.  This is sufficient to be able to build for
Windows with the following command line:

```
cmake -H build\debug -G Ninja -DFoundation_DIR=... -DCMAKE_Swift_COMPILER=...
cmake --build build\debug
```
2019-11-13 11:28:28 -08:00