[res, message] = dlmake(destinationdir)
[res, message] = dlgeneratemake(destinationdir, libname, c_cpp_files, includes, defines, external_libraries, build_configuration, c_flags, cxx_flags)
| Parameter | Description |
|---|---|
| destinationdir | a string: destination directory where is the makefile to call. |
| Parameter | Description |
|---|---|
| res | a logical: true if makefile execution was successfully. |
| message | a string: empty if makefile execution was successfully or an error message. |
dlmake used to provide an multiplatform way to build C/C++.
dest = [tempdir(), 'dlmake_help'];
mkdir(dest);
txt = 'MESSAGE( STATUS "Hello world !")';
filewrite([dest, '/CMakeLists.txt'], txt);
[status, message] = dlmake(dest)
| Version | Description |
|---|---|
| 1.0.0 | initial version |