Build/Rebuild MicroDAQ custom block C/C++ source code
This function rebuilds/builds all modified user blocks C source files. Function allows to compile library with debug symbols and with -o2 optimization. In order to recompile whole library all object files needs to be deleted from userlib directory (mdaqToolboxPath() + "src\c\userlib")
Function compiles every C source file from userlib directory. In order to compile external user C source code e.g. used in custom block, C source needs to be placed in userlib directory or Makefile (from userlib directory) needs to be modified to compile external code.
If block.use_sim_script is set to false (%F) then C source will be compiled to shared library which will be used in simulation mode. It guarantees the same code on host (simulation mode) and target (code generation) side. In order to use this option the external C compiler is required. List of supported compilers can be found at: https://help.scilab.org/doc/5.5.2/en_US/supported_compilers.html
mdaqBlockBuild(); mdaqBlockBuild(debug); mdaqBlockBuild(debug, buildHost);
debug : if %T library will be compiled with debug symbols without optimization. False (%F) by default.
buildHost : if %T library will be compiled into sharded library used by host machine. False (%F) by default.