<< dllibisloaded | Dynamic link | dlopen >> |
[res, message] = dlmake(destinationdir) |
[res, message] = dlgeneratemake(destinationdir, libname, c_cpp_files, includes, defines, external_libraries, build_configuration, c_flags, cxx_flags) |
a string: destination directory where is the makefile to call.
a logical: true if makefile execution was successfully.
a string: empty if makefile execution was successfully or an error message.
dlmake used to provide an multiplatform way to build C/C++.
basic example to call dlmake
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 |
Allan CORNET