We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can also provide an environment.mak in your project folder which can be used to set global variable during the build.
environment.mak
CUDA_ROOT:=/usr/local/cuda
This is an example of a variable you could set in the environment. If you wanted to make it OS dependant, you can!
ifeq ($(TARGET_OS),LINUX) CUDA_ROOT:=/usr/local/cuda else ifeq ($(TARGET_OS),Windows_NT) CUDA_ROOT:=C:/sdks/cuda endif