| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| | |
58ab34d88a FindMatlab: add version/release map for R2023a
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8334
|
| | |
|
| | |
|
| |
| |
| |
| | |
remove unused superseded commented code
|
| | |
|
|/
|
|
| |
fixes #24569
|
|\
| |
| |
| |
| |
| |
| |
| | |
1bc9b0f256 FindMatlab: accommodate Matlab running under Rosetta
8dcd14bb87 FindMatlab: simplify mexext find logic
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8063
|
| |
| |
| |
| | |
fixes #24312
|
| |
| |
| |
| | |
This eliminates an explicit for() loop
|
|/
|
|
|
|
|
| |
Add the `SYSTEM` flag for include directories provided by MATLAB, as the
the pragmas used are not compatible with GCC and generate a warning.
Fixes: #24166
|
|\
| |
| |
| |
| |
| |
| | |
edbdfba3f5 FindMatlab: add R2022b 9.13 version map
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7683
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
f0edac914a FindMatlab: Add MEX binary file suffix for Apple Silicon native Matlab
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7673
|
| |
| |
| |
| | |
The Matlab MEX binary file suffix is distinct for Apple Silicon.
|
| | |
|
|/
|
|
|
|
| |
this last resort check is for some HPC with "module load matlab"
not enacted that fail to catch in earlier checks. That would
error CMake configure even if find_package(Matlab) is not REQUIRED
|
| |
|
| |
|
|
|
|
| |
Fixes: #22646
|
| |
|
|
|
|
|
|
|
|
|
| |
Fix logic added by commit 7fdd5128b1 (FindMatlab: Fix version selection
if a version is given, 2021-07-02, v3.22.0-rc1~66^2). Ensure that
`_list_index` is always initialized to -1, akin to `list(FIND)` not
finding a match.
Issue: #22377
|
|
|
|
|
|
|
|
|
| |
Recent MCR versions have the following `VersionInfo.xml`:
<version>9.11.0.1837725</version>
Fix parsing of multiple digits in the version components
so that we do not mistake this for version `9.1`.
|
|
|
|
| |
Fixes: #22377
|
|\
| |
| |
| |
| |
| |
| | |
a013404f43 FindMatlab: Add R2021b => 9.11 version
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6556
|
| |
| |
| |
| | |
R2021b released 09/22/2021.
|
| |
| |
| |
| |
| |
| |
| | |
On Windows, when FindMatlab.cmake searches the registry for installed Matlab versions, it sorts these versions alphabetically.
Since Matlab 2021a (version 9.10) came out this became a problem as now version 9.10 is placed after 9.1 instead of after a higher version less than 9.10.
The result is that FindMatlab doesn't return the highest version by default.
This fix uses the natural sort comparison which was introduced in CMake 3.18.
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
In commit bda5e2ac8f (FindMatlab: Only include engine and dataarray
libraries if they are found, 2020-12-11, v3.20.0-rc1~297^2~1) we fixed
the imported target to contain optional libraries only if they are
found. Do the same for `Matlab_LIBRARIES`.
|
|
|
|
| |
Fixes: #21068, #21582
|
| |
|
|
|
|
| |
Issue: #19715
|
|\
| |
| |
| |
| |
| |
| | |
4d292aecb6 FindMatlab: add R2020b => 9.9
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5233
|
| | |
|
|/
|
|
|
|
|
| |
An "unknown" version does not always mean an old version. Setting this
macro by mistake does not result in a compilation error, but not setting
it does. I had this error when compiling from a user that does not have
a matlab license.
|
|
|
|
| |
This allows Matlab R2020a to be recognized as a valid Matlab version.
|
|\
| |
| |
| |
| |
| |
| | |
edb6fe3b6a FindMatlab: add R2019a and R2019b MATLAB_VERSIONS_MAPPING
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4207
|
| |
| |
| |
| |
| |
| | |
Reference for versions: https://www.mathworks.com/products/compiler/matlab-runtime.html
Fixes: #20087
|
|/
|
|
|
|
|
|
|
|
|
| |
Before this modification, the c_mexapi_version.c file was added to
all mex libraries. However, if the C language was not enabled
in the CMake project configuration, the c_mexapi_version.c file
was ignored, creating linking errors in Windows and macOS.
This commit ensures that in the case only the CXX languages is enabled,
the correct version is passed.
Fixes: #19382
|
| |
|
|
|
|
|
| |
If the environment variable MATLAB_ARCH is set prior to the call, the
called scripts do not return an error message.
|
| |
|
|
|
|
| |
Enabling a mex target to be excluded from the `all` target.
|
|\
| |
| |
| |
| |
| |
| | |
c2595a4958 FindMatlab: removing spaces in compiler define
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3473
|
| |
| |
| |
| |
| |
| |
| | |
Spaces in `DLL_EXPORT_SYM=__attribute__ ((visibility (\"default\")))`
are causing a compilation error.
Fixes: #19279
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
56e89e50d3 FindMatlab: simplify several if()-constructs
51bcdeb17f Tests: simplify checks for Matlab variables being set
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3472
|
| |/ |
|