| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| | |
e22c4dfea0 FindMatlab: Revert undocumented and now-unnecessary full version lookup
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9226
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Partially revert commit dc9d9589e4 (FindMatlab:WIN32: return full Matlab
version when found via registry, 2023-09-14, v3.28.0-rc1~82^2~2). It
changed `matlab_extract_all_installed_versions_from_registry` behavior
to query `VersionInfo.xml` for version information. However, the
function documentation states that it only uses the registry. It's also
not needed since commit c608adc236 (FindMatlab: Fix major.minor version
lookups in Windows Registry, 2024-01-11, v3.28.2~13^2~1), which added
the same lookup to `matlab_get_all_valid_matlab_roots_from_registry`.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
29fece7ef3 FindMatlab: Document that version mappings do not apply to MCR
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9184
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
29fece7ef3 FindMatlab: Document that version mappings do not apply to MCR
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9184
|
| | | |
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
b1e27b1b9d FindMatlab: Some versions use major.minor.patch in the registry
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9183
|
| |/
| |
| |
| | |
Fixes #25631.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
b8665d44ba FindMatlab: Fix error message from function
44d2cf3ed4 FindMatlab: Document all registry paths for version lookup
363a7d4693 FindMatlab: matlab_get_release_name_from_version is a function now
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !9175
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/|
| |
| |
| |
| |
| | |
6f7d87b40d FindMatlab: use NAMES for find_*
9e97893147 FindMatlab: set MATLAB_ARCH per process call
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9161
|
| |
| |
| |
| |
| | |
this improves readability especially for custom function
_Matlab_find_library
|
| |
| |
| |
| | |
this is just a best practice refactor.
|
| |
| |
| |
| |
| |
| |
| | |
By comparing major.minor, the behavior approximately matches pre-3.28
behavior.
Fixes: #25605
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make this work:
matlab_get_release_name_from_version(${Matlab_VERSION})
which the user would expect.
While at it, simplify this function code.
|
|/
|
|
|
|
|
| |
The registry key names use only the first two version components.
Previously we were using the full versions.
Fixes: #25582
|
|
|
|
|
|
|
|
| |
Report "unknown" in `_Matlab_VersionInfoXML` if file is missing.
Fix omitted MATLAB root with unknown version from XML.
Fixes: #25585
Fixes: #25586
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
| |
rework internal XML reading function for better code reuse and
namespace isolation
|
|
|
|
| |
the matlab_versions_mapping always has at least major.minor
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Matlab went to a new version numbering scheme with R2023b.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|