@@ -91,7 +91,7 @@ provided by the FindMathematica module:
9191#### Visual Studio
9292
9393To 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
9595following 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
154154executable or as a 32-bit executable.
155155
156156To 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
188188macOS architecture type supported by the installed macOS version.
189189To 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
367367This 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
369369script file. Multiple in-line statements are wrapped inside a Wolfram Language ` CompoundExpression ` .
370370
371371If 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
401401This 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
403403script file. Multiple in-line statements are wrapped inside a Wolfram Language ` CompoundExpression ` .
404404
405405The ` 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
425425This function adds a target that executes Wolfram Language code to generate output files. The
426426Wolfram 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
428428script file. Multiple in-line statements are wrapped inside a Wolfram Language ` CompoundExpression ` .
429429
430430The ` 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
448448This function adds Wolfram Language code to an existing target which is run before or after building
449449the 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
451451Wolfram 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
582582The output files are created in the ` CMAKE_CURRENT_BINARY_DIR ` . The names of the source file and
583583the header file are obtained by adding the extensions .c and .h to the Wolfram Language script file
584- name respectively.
584+ name, respectively.
585585
586586The ` DEPENDS ` option specifies additional files on which the generated C code file depends.
587587The ` 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
624624loaded by the command ` Get[<package name>] ` .
625625
626626A 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
628628unless the variable is cleared. If nothing is found, the result will be ` <variable>-NOTFOUND ` , and
629629the search will be attempted again the next time ` Mathematica_FIND_PACKAGE ` is invoked with the same
630630variable.
@@ -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
650650libraries with absolute paths to those shared libraries for the given targets.
651651On 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
657657This path won't work for stand-alone executables that link to the dynamic MathLink library, unless
658658the 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
660660absolute path to the MathLink library, which will work without requiring the ` DYLD_LIBRARY_PATH `
661661environment variable to be set.
662662
0 commit comments