Skip to content

Commit c0250fa

Browse files
committed
update docu
1 parent 3d8754b commit c0250fa

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

MANUAL.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ provided by the FindMathematica module:
9191
#### Visual Studio
9292

9393
To build the FindMathematica project with Visual Studio C++ for 64-bit Windows, open a Visual
94-
Studio command prompt, change directory to the `FindMathematica` root directory and run the
94+
Studio command prompt, change directory to the `FindMathematica` root directory, and run the
9595
following commands:
9696

9797
D:\FindMathematica>mkdir build
@@ -154,7 +154,7 @@ If you are using a 64-bit version of Linux, you can run the Wolfram Language ker
154154
executable or as a 32-bit executable.
155155

156156
To cross-compile to 32-bit Linux under 64-bit Linux, the packages `ia32-libs` and `libc6-dev-i386`
157-
need to be installed. To force a 32-bit build then, run:
157+
need to be installed. To force a 32-bit build, run:
158158

159159
$ cmake -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32 ..
160160

@@ -188,7 +188,7 @@ FindMathematica supports building MathLink executables and LibraryLink shared li
188188
macOS architecture type supported by the installed macOS version.
189189
To select the build target architecture types, set the CMake `CMAKE_OSX_ARCHITECTURES` variable.
190190

191-
E.g., to build a macOS universal binary use the following setting:
191+
E.g., to build a macOS universal binary, use the following setting:
192192

193193
$ cmake "-DCMAKE_OSX_ARCHITECTURES=arm64;x86_64" ..
194194

@@ -365,7 +365,7 @@ function produces a compact Wolfram Language code representation using `Map` and
365365
[ ERROR_FILE <file> ])
366366

367367
This function executes Wolfram Language code at CMake configuration time. The Wolfram Language code can
368-
be specified as a list of in-line Wolfram Language statements and/or as path to a Wolfram Language
368+
be specified as a list of in-line Wolfram Language statements and/or as a path to a Wolfram Language
369369
script file. Multiple in-line statements are wrapped inside a Wolfram Language `CompoundExpression`.
370370

371371
If the optional `CACHE` argument is specified, the captured result of the executed Wolfram Language
@@ -399,7 +399,7 @@ available if the Wolfram Language kernel executable has been found.
399399
[ SOURCES src1 [ src2... ] ])
400400

401401
This function adds a target that executes Wolfram Language code at build time. The Wolfram Language code
402-
can be specified as a list of in-line Wolfram Language statements and/or as path to a Wolfram Language
402+
can be specified as a list of in-line Wolfram Language statements and/or as a path to a Wolfram Language
403403
script file. Multiple in-line statements are wrapped inside a Wolfram Language `CompoundExpression`.
404404

405405
The `SYSTEM_ID` option lets you override the Wolfram Language kernel executable architecture used.
@@ -424,7 +424,7 @@ available if the Wolfram Language kernel executable has been found.
424424

425425
This function adds a target that executes Wolfram Language code to generate output files. The
426426
Wolfram Language code is responsible for generating the specified output files. The Wolfram Language code
427-
can be specified as a list of in-line Wolfram Language statements and/or as path to a Wolfram Language
427+
can be specified as a list of in-line Wolfram Language statements and/or as a path to a Wolfram Language
428428
script file. Multiple in-line statements are wrapped inside a Wolfram Language `CompoundExpression`.
429429

430430
The `SYSTEM_ID` option lets you override the Wolfram Language kernel executable architecture used.
@@ -447,7 +447,7 @@ This function is available if the Wolfram Language kernel executable has been fo
447447

448448
This function adds Wolfram Language code to an existing target which is run before or after building
449449
the target. The code will only execute when the target itself is built. The Wolfram Language
450-
code can be specified as a list of in-line Wolfram Language statements and/or as path to a
450+
code can be specified as a list of in-line Wolfram Language statements and/or as a path to a
451451
Wolfram Language script file. Multiple in-line statements are wrapped inside a Wolfram Language
452452
`CompoundExpression`.
453453

@@ -581,7 +581,7 @@ produce a C source file and a C header file that contains the compiled Wolfram L
581581

582582
The output files are created in the `CMAKE_CURRENT_BINARY_DIR`. The names of the source file and
583583
the header file are obtained by adding the extensions .c and .h to the Wolfram Language script file
584-
name respectively.
584+
name, respectively.
585585

586586
The `DEPENDS` option specifies additional files on which the generated C code file depends.
587587
The `OUTPUT` option can be used to produce output files with different names.
@@ -624,7 +624,7 @@ This function finds the full CMake style path of the Wolfram Language package fi
624624
loaded by the command `Get[<package name>]`.
625625

626626
A cache entry named by `<variable>` will be created to store the result. If the full path to the
627-
package file is found, the result is stored in the variable and the search will not be repeated
627+
package file is found, the result is stored in the variable, and the search will not be repeated
628628
unless the variable is cleared. If nothing is found, the result will be `<variable>-NOTFOUND`, and
629629
the search will be attempted again the next time `Mathematica_FIND_PACKAGE` is invoked with the same
630630
variable.
@@ -646,17 +646,17 @@ directory of the Wolfram Language package and returns it in `<variable>`.
646646
Mathematica_ABSOLUTIZE_LIBRARY_DEPENDENCIES(
647647
targetname [ targetname...])
648648

649-
Under macOS, this function replaces the default install names used for the Wolfram Language shared
649+
Under macOS, this function replaces the default install-names used for the Wolfram Language shared
650650
libraries with absolute paths to those shared libraries for the given targets.
651651
On other platforms, the function does not have an effect.
652652

653-
e.g., in *Mathematica* 10, the default install name for the MathLink shared library is:
653+
e.g., in *Mathematica* 10, the default install-name for the MathLink shared library is:
654654

655655
@executable_path/../Frameworks/mathlink.framework/Versions/4.25/mathlink
656656

657657
This path won't work for stand-alone executables that link to the dynamic MathLink library, unless
658658
the mathlink framework directory is added to the `DYLD_LIBRARY_PATH` environment variable. This
659-
function replaces the reference to the default install name in the given target executable with the
659+
function replaces the reference to the default install-name in the given target executable with the
660660
absolute path to the MathLink library, which will work without requiring the `DYLD_LIBRARY_PATH`
661661
environment variable to be set.
662662

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Features
88
--------
99

1010
* Works with Windows, Linux and OS X versions of the [Wolfram Language][wlang].
11-
* Supports Wolfram Language versions from 5.2 to 14.2.
12-
* Supports Wolfram Language implementations [Wolfram App][wmma], [Wolfram Mathematica][wmma],
11+
* Supports Wolfram Language versions from 5.2 to 14.3.
12+
* Supports Wolfram Language implementations [Wolfram Mathematica][wmma],
1313
[Wolfram|One][wone], [Wolfram Engine][weng] and [Wolfram gridMathematica][wgrid].
1414
* Finds include directories and libraries for [LibraryLink][wll] (version 8 or later).
1515
* Finds include directories and libraries for [WSTP][wstp] (version 10 or later).
@@ -35,7 +35,7 @@ Requirements
3535

3636
* A [Wolfram Language][wlang] product (Wolfram Mathematica, Wolfram|One, Wolfram Engine,
3737
Wolfram gridMathematica).
38-
* [CMake 3.5.0][cmk] or newer. The executable `cmake` should be on the system path.
38+
* [CMake 3.10.0][cmk] or newer. The executable `cmake` should be on the system path.
3939
* [Visual Studio C++][vslstd], [MinGW][mingw] under Windows.
4040
* [GCC][gcc] or [Clang][clang] under Linux or OS X.
4141
* [Xcode][xcdt] application or Xcode Command Line Tools under OS X.

0 commit comments

Comments
 (0)