Cross-compile and native compilation on the same project

Hi all,

I was wondering if it is possible to have different configuration targets on a project in Nsight such that one “Debug arm” and the other “Debug x86_64” would target the Jetson Tk1 (cross-compile) and the GPUs of the workstation (native) where programming is made. I have successfully setup the CUDA 6.5 cross-compile environment and I’m able to compile the project either on the x86_64 machine or on the target system and execute/profile/debug it on the Jetson through Nsight on the x86_64 machine.

From what I can perceive, ARM or x86_64 are an option in the New Project Wizard and then they become absent in the range of options for a new configuration target. Inspection of the Project Settings>Build>Settings>Tool Settings>NVCC Compiler “All options” shows the flag “–cbin arm-linux-gnueabihf-g++” selected so it’s just a question of changing that.

Problem is doing so. Can this be done?

Thanks.