You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current CMake code that defines the module command could be improved to handle better the arguments that the function receives. In current code there is a test on the number of arguments to call the execute_process CMake command with the ARGVX variables specifically set:
At present, the number of arguments is hardcoded and checked using if condition. So the function has to be modified such that it should be able execute variable number of commands provided via arguments?
Current CMake code that defines the
module
command could be improved to handle better the arguments that the function receives. In current code there is a test on the number of arguments to call theexecute_process
CMake command with theARGVX
variables specifically set:Someone with better CMake skills may find a simpler code to call
execute_process
with the arguments passed to themodule
function.To change the
module
function definition, update therenderAutoinit
procedure in thetcl/envmngt.tcl.in
file.To check the produced
module
function definition:Then to test if this code is performing correctly:
$ make testinstall
The text was updated successfully, but these errors were encountered: