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
{{ message }}
Repository navigation
better code to pass all arguments of cmake function to execute_process #419
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?
Activity
nkilm commentedon Oct 8, 2022
At present, the number of arguments is hardcoded and checked using
ifcondition. So the function has to be modified such that it should be able execute variable number ofcommandsprovided via arguments?xdelaruelle commentedon Oct 9, 2022
@nkilm Function has to be modified such that it should be able to execute a command with a variable number of arguments provided
Use cmake 'EVAL CODE' to forward arguments passed to 'module' cmake f…