Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

ShopModuleSample

This is a example to compile swift source code for a module and a library.

Usage

  1. Creatting Shop Module and Library
$ swiftc -emit-module -emit-library -module-name Shop Shop.swift Product.swift
  1. Runnning TestCode which imports Shop Module
$ swift -I ./Shop -L ./Shop -lShop ShopTest.swift

About

The Example to compile swift source file for a Module and a Library.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages