Skip to content

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

Notifications You must be signed in to change notification settings

yossan/ShopModuleSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

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

Watchers

Forks

Packages

No packages published

Languages