summaryrefslogtreecommitdiffstats
path: root/Modules/FindMatlab.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindMatlab: Fix linker command under Windows.Cris Luengo2018-10-291-4/+5
|
* FindMatlab: `matlab_add_mex` has new options `R2017b` and `R2018a`.Cris Luengo2018-10-241-70/+87
| | | | | | | | - These options are equivalent to `mex` command options `-R2017b` and `-R2018a`. - `R2017b` is the default, and selects the compatability API. - `R2018a` is the alternative, and selects the new complex-interleaved API. - For versions of MATLAB before R2018a, these options are ignored. - `matlab_add_mex` now works correctly with newer MATLABs.
* FindMatlab: Always find core libraries.Cris Luengo2018-10-241-48/+35
| | | | | - `MX_LIBRARY`, `Matlab_ENGINE_LIBRARY` and `Matlab_DATAARRAY_LIBRARY` are always found. - The corresponding options are now ignored.
* Help: Convert remaining modules to block-style commentsKitware Robot2018-10-221-425/+434
|
* FindMatlab: Add Matlab 2018a,b to version listSean Warren2018-09-261-0/+2
|
* FindMatlab: Explicitly export mexFunction in MSVCSean Warren2018-09-261-0/+14
| | | | Fixes: #18391
* FindMatlab: Optionally allow linking to MatlabEngine and MatlabDataArraySean Warren2018-09-261-0/+62
| | | | Fixes: #17971
* Merge topic 'FindMatlab-no-CMAKE_CL_64'Brad King2018-09-061-15/+0
|\ | | | | | | | | | | | | bfe883af60 FindMatlab: Remove erroneous duplicate code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2354
| * FindMatlab: Remove erroneous duplicate codeRaffi Enficiaud2018-09-051-15/+0
| | | | | | | | | | | | | | This was left accidentally when resolving merge conflicts between previous changes. Fixes: #18221
* | FindMatlab: Guard against nonexistent installationChuck Atkins2018-08-271-12/+14
| |
* | Merge topic 'FindMatlab-mcc'Brad King2018-08-061-1/+22
|\ \ | | | | | | | | | | | | | | | | | | f34f6eb3d1 FindMatlab: Add component to find MCC, the Matlab compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2233
| * | FindMatlab: Add component to find MCC, the Matlab compilerJason Heeris2018-08-011-1/+22
| |/ | | | | | | | | | | | | Add component `MCC_COMPILER` to request searching for the Matlab compiler. Report it in `Matlab_MCC_COMPILER` if it is found. Issue: #18183
* | FindMatlab: only search registry on windows hostsJulien Schueller2018-08-011-1/+1
|/ | | From Linux, it fails when cross-compiling
* Fix misc. typosluz.paz2018-06-041-1/+1
| | | | Found via `codespell` and `grep`
* FindMatlab: Matlab Runtime Compiler supportRaffi Enficiaud2018-04-231-222/+377
| | | | | | | | | | * Determining automatically the MCR version on OSX and Windows * Distinguishing between MCR and Matlab * Specific tests for the MCR * mexext on windows does not work properly: the mexext is hardcoded * Doc updates for the MCR Fixes: #16487
* Find*: always include FPHSA shipped with CMakeRolf Eike Beer2018-04-021-1/+1
|
* Various typo fixesLuz Paz2018-01-031-1/+1
| | | | Some are user-facing. Others are source comments.
* FindMatlab: Avoid if() auto-dereference in 64-bit host detectionBrad King2017-11-151-1/+1
| | | | | | | | | If the value of `CMAKE_HOST_SYSTEM_PROCESSOR` also happens to be set as a variable by a project (e.g. `AMD64`), allowing `if()` to auto-dereference is unlikely to produce a value that matches "64". Instead let `if()` auto-dereference `CMAKE_HOST_SYSTEM_PROCESSOR`. Fixes: #17460
* Fix trivial typos in textluzpaz2017-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some are user facing. Found using codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt` whereby the whitelist contained: ans dum helpfull emmited emmitted buil iff isnt nto ot pathes substract te todays upto whitespaces
* FindMatlab: Add support for MATLAB 2017bJamie Snape2017-10-041-1/+1
|
* FindMatlab: Fix extraction of quoted version numberBrad King2017-09-271-2/+2
| | | | | | | | The version string in recent Matlab versions has changed. Now the version number is inside two `'`. Patch-by: nama on gitlab.kitware.com Fixes: #17308
* FindMatlab: Don't use the deprecated variable CMAKE_CL_64Job Noorman2017-09-081-1/+8
| | | | | The variable is not defined on 64-bit MinGW, causing a 32-bit Matlab version to be found. Check using CMAKE_SIZEOF_VOID_P instead.
* FindMatlab: CUSTOM_TEST_COMMAND documentation fixRaffi Enficiaud2017-07-271-2/+2
| | | | | Documentation states CUSTOM_MATLAB_COMMAND, while code uses CUSTOM_TEST_COMMAND. Addresses issue #17107
* FindMatlab: Add support for Matlab 2017aRaffi Enficiaud2017-05-011-0/+1
|
* Merge topic 'FindMatlab-fix-typo'Brad King2016-11-011-1/+1
|\ | | | | | | | | f2de7079 FindMatlab: Fix typo in matlab_add_unit_test implementation
| * FindMatlab: Fix typo in matlab_add_unit_test implementationMatthew Woehlke2016-10-281-1/+1
| | | | | | | | | | | | | | Fix typo in variable used to communicate between matlab_add_unit_test and its helper script MatlabTestsRedirect.cmake that was introduced in commit v3.7.0-rc1~116^2 (FindMatlab: Extend matlab_add_unit_test to run arbitrary test code, 2016-08-30).
* | FindMatlab: Add support for Matlab 2016b (9.1)Francesco Romano2016-10-281-0/+1
|/
* Merge branch 'FindMatlab-fix-simulink-cache' into releaseBrad King2016-10-051-0/+1
|\
| * FindMatlab: remove SIMULINK path from cache when FindMatlab is reconfiguredRaffi Enficiaud2016-10-051-0/+1
| |
* | FindMatlab: small documentation fixesRaffi Enficiaud2016-10-051-8/+7
|/
* Simplify CMake per-source license noticesBrad King2016-09-271-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* FindMatlab: Fix -pthread check for projects with only C enabledJamie Snape2016-09-261-1/+6
|
* FindMatlab: Add EXECUTABLE, MODULE, and SHARED options to matlab_add_mexJamie Snape2016-09-231-4/+24
|
* FindMatlab: Add SIMULINK componentJamie Snape2016-09-231-0/+16
|
* FindMatlab: Fix documentationJamie Snape2016-09-231-1/+2
|
* FindMatlab: Extend matlab_add_unit_test to run arbitrary test codeBill Hoffman2016-09-141-15/+36
| | | | | Allow a custom matlab set of commands to be run as the test instead of just `runtests('matlab_file_name')`.
* FindMatlab: Avoid indexing an empty list of versionsBrad King2016-09-061-2/+6
|
* FindMatlab: adding handling of component "MAT"Raffi Enficiaud2016-08-301-20/+23
| | | | | | - documentation - test - cosmetic changes
* FindMatlab: Use pre-built libraries for MinGW if neededSebastian Niemann2016-08-151-1/+5
|
* FindMatlab: Add support for Matlab 2016a (9.0)Francesco Romano2016-05-251-0/+1
|
* Fix spelling typos in comments and documentation (#16037)Felix Geyer2016-03-291-1/+1
| | | | | The Debian package checker tool (lintian) detected several typos in CMake.
* FindMatlab: Add support for Matlab R2015bFrancesco Romano2015-10-051-0/+1
|
* FindMatlab: Fix documentation section header underline styleTamas Kenez2015-06-291-8/+8
| | | | | | Replace caret-headers with double-quote-headers and replace dash-headers with caret-headers. This makes the headers match their level of nesting according to our documentation style guide in cmake-developers(7).
* FindMatlab: fix reconfiguration of Matlab_ROOT_DIRRaffi Enficiaud2015-06-011-2/+3
|
* FindMatlab: fix header visibility of the generated mex filesRaffi Enficiaud2015-06-011-1/+1
|
* FindMatlab: Look for R2014b and R2015aDaniele E. Domenichelli2015-04-071-0/+2
|
* FindMatlab: Rewrite module and provide a usage APIRaffi Enficiaud2015-03-171-87/+1421
| | | | | | | | | | | Implement a brand new FindMatlab module: - Add support for versions and components. - Find Matlab and its version in a more precise and multiplatform way. - Add API to create a new mex extension with documentation. - Add API to add matlab unit tests (with or without the unit test framework). - Find as much as possible based on a single Matlab_ROOT_DIR cache entry and allow the user to change it to re-find everything.
* FindMatlab: Remove trailing blank linesBrad King2015-02-241-1/+0
|
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-6/+14
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-12/+12
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed