File tree 3 files changed +5
-2
lines changed 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ endif()
42
42
find_package (dispatch QUIET )
43
43
find_package (Foundation QUIET )
44
44
find_package (Yams CONFIG REQUIRED)
45
+ find_package (ArgumentParser CONFIG REQUIRED)
45
46
46
47
add_subdirectory (Sources )
47
48
add_subdirectory (cmake/modules)
Original file line number Diff line number Diff line change @@ -44,11 +44,12 @@ all with CMake:
44
44
```
45
45
cmake -B <llbuild-build-dir> -G Ninja <llbuild-source-dir> -DLLBUILD_SUPPORT_BINDINGS="Swift"
46
46
```
47
+ * [ swift-argument-parser] ( https://github.com/apple/swift-argument-parser )
47
48
* [ Yams] ( https://github.com/jpsim/Yams )
48
49
49
50
Once those dependencies have built, build ` swift-driver ` itself:
50
51
```
51
- cmake -B <swift-driver-build-dir> -G Ninja <swift-driver-source-dir> -DTSC_DIR=<swift-tools-support-core-build-dir>/cmake/modules -DLLBuild_DIR=<llbuild-build-dir>/cmake/modules -DYams_DIR=<yamls-build-dir>/cmake/modules
52
+ cmake -B <swift-driver-build-dir> -G Ninja <swift-driver-source-dir> -DTSC_DIR=<swift-tools-support-core-build-dir>/cmake/modules -DLLBuild_DIR=<llbuild-build-dir>/cmake/modules -DYams_DIR=<yamls-build-dir>/cmake/modules -Dswift-argument-parser_DIR=<swift-argument-parser-build-dir>
52
53
cmake --build <swift-driver-build-dir>
53
54
```
54
55
Original file line number Diff line number Diff line change 9
9
add_executable (swift-help
10
10
main.swift)
11
11
target_link_libraries (swift-help PUBLIC
12
- SwiftOptions)
12
+ SwiftOptions
13
+ ArgumentParser)
13
14
You can’t perform that action at this time.
0 commit comments