mirror of
https://github.com/AdaCore/cuda.git
synced 2026-02-12 13:05:54 -08:00
26 lines
564 B
Plaintext
26 lines
564 B
Plaintext
with "cuda_api_host";
|
|
|
|
project Host is
|
|
|
|
for Exec_Dir use ".";
|
|
for Object_Dir use "obj/host";
|
|
for Source_Dirs use ("src/common", "src/host");
|
|
for Main use ("main.adb");
|
|
|
|
for Target use CUDA_API_Host.CUDA_Host;
|
|
|
|
package Compiler is
|
|
for Switches ("ada") use CUDA_API_Host.Compiler_Options & ("-g");
|
|
end Compiler;
|
|
|
|
package Linker is
|
|
for Switches ("ada") use CUDA_API_Host.Linker_Options;
|
|
end Linker;
|
|
|
|
package Binder is
|
|
for Default_Switches ("ada") use CUDA_API_Host.Binder_Options & ("-g");
|
|
end Binder;
|
|
|
|
end Host;
|
|
|