From 735cae4860c73a6d614759480e246e04bfdd2e4b Mon Sep 17 00:00:00 2001 From: Christian Tietze Date: Fri, 2 Jul 2021 11:31:13 +0200 Subject: [PATCH 1/2] reflect recent changes to the Xcode framework setup --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8104abb..99e7a04 100644 --- a/README.md +++ b/README.md @@ -59,13 +59,14 @@ In order to use libMultiMarkdown in your Xcode project: 4. Drag the `build-xcode/MultiMarkdown.xcodeproj` file to the root of your Xcode project as a subproject. -5. Select the `MultiMarkdown` subproject, select the `libMultiMarkdown` target, - and in Build Phases > Copy Files select Products Directory from the - Destination popup menu. - -6. Select your root project, select your target, add `libMultiMarkdown` under +5. Select your root project, select your target, add `libMultiMarkdown` under Target Depencies and `libMultiMarkdown.framework/libMultiMarkdown` and `libcurl.tdb` under Link Binary with Libraries. + +6. Select your root project, select your target, then under Build Settings, + add `$SRCROOT/MultiMarkdown-6/build-xcode/$CONFIGURATION` to the + `FRAMEWORK_SEARCH_PATHS` so the `.framework` product can be found. + Warning: if you move the project on disk or update the MultiMarkdown source files, you need to rerun step 3 above. From c8ba4145db921376e5e6fcd571d0d4d852c5d6c9 Mon Sep 17 00:00:00 2001 From: Christian Tietze Date: Sat, 10 Jul 2021 22:50:54 +0200 Subject: [PATCH 2/2] clarify how to run tests --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 99e7a04..fd08331 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ To build from source, download from Github. Then: cd build make -You can optionally test using the test suite: +You can optionally test using the test suite from the `build` directory: ctest