Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge topic 'find-matlab-docs-mcr-version-mapping' into release-3.28 | Brad King | 2024-01-26 | 1 | -1/+11 |
|\ | | | | | | | | | | | | | 29fece7ef3 FindMatlab: Document that version mappings do not apply to MCR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9184 | ||||
| * | FindMatlab: Document that version mappings do not apply to MCR | Hermann von Kleist | 2024-01-25 | 1 | -1/+11 |
| | | |||||
* | | FindMatlab: Some versions use major.minor.patch in the registry | Hermann von Kleist | 2024-01-25 | 1 | -4/+5 |
|/ | | | | Fixes #25631. | ||||
* | FindMatlab: Fix error message from function | Hermann von Kleist | 2024-01-22 | 1 | -1/+1 |
| | |||||
* | FindMatlab: Document all registry paths for version lookup | Hermann von Kleist | 2024-01-22 | 1 | -3/+4 |
| | |||||
* | FindMatlab: matlab_get_release_name_from_version is a function now | Hermann von Kleist | 2024-01-22 | 1 | -6/+2 |
| | |||||
* | FindMatlab: Restore support for finding EXACT major.minor version | Hermann von Kleist | 2024-01-17 | 1 | -1/+11 |
| | | | | | | | By comparing major.minor, the behavior approximately matches pre-3.28 behavior. Fixes: #25605 | ||||
* | FindMatlab: use correct registry view when extracting versions | Hermann von Kleist | 2024-01-17 | 1 | -0/+1 |
| | |||||
* | FindMatlab: Accept long version in matlab_get_release_name_from_version | scivision | 2024-01-16 | 1 | -17/+7 |
| | | | | | | | | | | Make this work: matlab_get_release_name_from_version(${Matlab_VERSION}) which the user would expect. While at it, simplify this function code. | ||||
* | FindMatlab: Fix major.minor version lookups in Windows Registry | scivision | 2024-01-16 | 1 | -45/+47 |
| | | | | | | | The registry key names use only the first two version components. Previously we were using the full versions. Fixes: #25582 | ||||
* | FindMatlab: Restore support for versions without VersionInfo.xml | Hermann von Kleist | 2024-01-12 | 1 | -12/+13 |
| | | | | | | | | Report "unknown" in `_Matlab_VersionInfoXML` if file is missing. Fix omitted MATLAB root with unknown version from XML. Fixes: #25585 Fixes: #25586 | ||||
* | FindMatlab: Fix processing of multiple versions from Windows Registry | Brad King | 2023-12-14 | 1 | -2/+2 |
| | | | | | | | | Fix logic from commit fff5c1507e (FindMatlab: refactor: use registry query instead of execute_process, 2023-09-14, v3.28.0-rc1~82^2~7) to work when multiple versions are found in the registry. Issue: #25497 | ||||
* | FindMatlab: Fix regression on Windows Registry lookup failure | Brad King | 2023-12-14 | 1 | -4/+4 |
| | | | | | | | | Fix logic from commit dc9d9589e4 (FindMatlab:WIN32: return full Matlab version when found via registry, 2023-09-14, v3.28.0-rc1~82^2~2) to avoid assuming that a registry entry always exists and is non-empty. Fixes: #25497 | ||||
* | FindMatlab:macOS: return full version when found by path guess | scivision | 2023-09-18 | 1 | -0/+5 |
| | |||||
* | FindMatlab:lint: set(... CACHE INTERNAL) implies FORCE | scivision | 2023-09-18 | 1 | -6/+6 |
| | |||||
* | FindMatlab:WIN32: return full Matlab version when found via registry | scivision | 2023-09-18 | 1 | -13/+24 |
| | | | | | rework internal XML reading function for better code reuse and namespace isolation | ||||
* | FindMatlab: improve version regex | scivision | 2023-09-18 | 1 | -5/+5 |
| | | | | the matlab_versions_mapping always has at least major.minor | ||||
* | FindMatlab: doc: rename osx=>macOS | scivision | 2023-09-18 | 1 | -6/+6 |
| | |||||
* | FindMatlab: retrieve full major.minor.patch.tweak | scivision | 2023-09-18 | 1 | -4/+12 |
| | |||||
* | FindMatlab: refactor: remove unneeded syntax | scivision | 2023-09-18 | 1 | -7/+2 |
| | |||||
* | FindMatlab: refactor: use registry query instead of execute_process | scivision | 2023-09-18 | 1 | -32/+15 |
| | | | | | | | | | On Windows, instead of executing "reg query" it's much simpler and more robust to use cmake's built in registry query. Remove unused variables. Significantly reduces amount of code in function. | ||||
* | FindMatlab: Add R2023b=23.2 | scivision | 2023-09-15 | 1 | -7/+8 |
| | | | | Matlab went to a new version numbering scheme with R2023b. | ||||
* | FindMatlab: Prefer to use VersionInfo.xml to get version, fallback to run | scivision | 2023-09-10 | 1 | -24/+43 |
| | | | | | | | | | | | | Parsing the version file is much faster than running Matlab. It also improves reliability as Matlab silently quits or hangs in some misconfigured environments. For old Matlab, falls back to running Matlab. also refactor file(STRINGS => file(READ as whole file was read anyway Fixes: #25209 | ||||
* | FindMatlab: use if(IS_DIRECTORY) for directories instead of EXISTS | scivision | 2023-08-27 | 1 | -8/+8 |
| | |||||
* | FindMatlab: no if(NOT EXIST) guard needed for file(MAKE_DIRECTORY) | scivision | 2023-08-27 | 1 | -3/+1 |
| | |||||
* | codespell: Fix typos | Brad King | 2023-05-22 | 1 | -1/+1 |
| | |||||
* | Merge topic 'FindMatlab-R2023a' | Brad King | 2023-03-17 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | 58ab34d88a FindMatlab: add version/release map for R2023a Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8334 | ||||
| * | FindMatlab: add version/release map for R2023a | scivision | 2023-03-16 | 1 | -0/+1 |
| | | |||||
* | | FindMatlab: refactor: use string(APPEND | scivision | 2023-03-07 | 1 | -8/+7 |
| | | |||||
* | | FindMatlab: use modern foreach() | scivision | 2023-03-07 | 1 | -32/+7 |
| | | | | | | | | remove unused superseded commented code | ||||
* | | FindMatlab: document function input/output | scivision | 2023-03-07 | 1 | -41/+42 |
| | | |||||
* | | FindMatlab: add Matlab_VERSION and document. | scivision | 2023-03-07 | 1 | -1/+9 |
|/ | | | | fixes #24569 | ||||
* | Merge topic 'FindMatlab-macos-rosetta' | Brad King | 2023-01-13 | 1 | -32/+17 |
|\ | | | | | | | | | | | | | | | 1bc9b0f256 FindMatlab: accommodate Matlab running under Rosetta 8dcd14bb87 FindMatlab: simplify mexext find logic Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8063 | ||||
| * | FindMatlab: accommodate Matlab running under Rosetta | scivision | 2023-01-12 | 1 | -13/+14 |
| | | | | | | | | fixes #24312 | ||||
| * | FindMatlab: simplify mexext find logic | scivision | 2023-01-12 | 1 | -19/+3 |
| | | | | | | | | This eliminates an explicit for() loop | ||||
* | | FindMatlab: Add SYSTEM include flag for matlab_add_mex | Jorrit Olthuis | 2023-01-11 | 1 | -1/+1 |
|/ | | | | | | | 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 | ||||
* | Merge topic 'matlab-r2022b' | Brad King | 2022-09-19 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | edbdfba3f5 FindMatlab: add R2022b 9.13 version map Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7683 | ||||
| * | FindMatlab: add R2022b 9.13 version map | Michael Hirsch | 2022-09-16 | 1 | -0/+1 |
| | | |||||
* | | Merge topic 'FindMatlab-macos-arm64' | Brad King | 2022-09-15 | 1 | -1/+5 |
|\ \ | |/ | | | | | | | | | | | f0edac914a FindMatlab: Add MEX binary file suffix for Apple Silicon native Matlab Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7673 | ||||
| * | FindMatlab: Add MEX binary file suffix for Apple Silicon native Matlab | Michael Hirsch | 2022-09-14 | 1 | -1/+5 |
| | | | | | | | | The Matlab MEX binary file suffix is distinct for Apple Silicon. | ||||
* | | FindMatlab: follow CMP0074 <PackageName>_ROOT search behavior | Michael Hirsch | 2022-09-01 | 1 | -1/+16 |
| | | |||||
* | | FindMatlab: add'l check that Matlab test version file exists | Michael Hirsch | 2022-09-01 | 1 | -0/+9 |
|/ | | | | | | 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 | ||||
* | FindMatlab: Add NO_IMPLICIT_LINK_TO_MATLAB_LIBRARIES option to matlab_add_mex | Silvio | 2022-04-05 | 1 | -10/+21 |
| | |||||
* | FindMatlab: Use -batch option in matlab_add_unit_test if possible | Silvio Traversaro | 2022-03-21 | 1 | -0/+11 |
| | |||||
* | FindMatlab: Add fallback to use -batch option in version extraction | Silvio | 2022-03-18 | 1 | -7/+47 |
| | | | | Fixes: #22646 | ||||
* | FindMatlab: Add R2022a => 9.12 version | Michael Hirsch | 2022-03-18 | 1 | -0/+1 |
| | |||||
* | FindMatlab: Fix logic error when minimum version is not found | Michael Hirsch | 2022-03-07 | 1 | -0/+1 |
| | | | | | | | | | 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 | ||||
* | FindMatlab: Fix version detection for MCR >= 9.10 | Tom M | 2022-02-14 | 1 | -1/+1 |
| | | | | | | | | | 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`. | ||||
* | FindMatlab: Fix version selection if a version is given | Alexander Neumann | 2021-09-29 | 1 | -0/+23 |
| | | | | Fixes: #22377 | ||||
* | Merge topic 'FindMatlab-r2021b' | Brad King | 2021-09-24 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | a013404f43 FindMatlab: Add R2021b => 9.11 version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6556 |