xmake-cuda
Installation
SKILL.md
Building CUDA with Xmake
Xmake detects CUDA automatically and handles device code + host code compilation, dependency scanning, and device linking.
1. Minimal project
xmake create -P test -l cuda
cd test
xmake
add_rules("mode.debug", "mode.release")
target("test")
set_kind("binary")
add_files("src/*.cu")