summaryrefslogtreecommitdiffhomepage
path: root/share/bjam/nectar-ptx.jam
diff options
context:
space:
mode:
Diffstat (limited to 'share/bjam/nectar-ptx.jam')
-rw-r--r--share/bjam/nectar-ptx.jam19
1 files changed, 19 insertions, 0 deletions
diff --git a/share/bjam/nectar-ptx.jam b/share/bjam/nectar-ptx.jam
new file mode 100644
index 0000000..bacc607
--- /dev/null
+++ b/share/bjam/nectar-ptx.jam
@@ -0,0 +1,19 @@
+#
+# File: nectar.jam
+# Author: Amlal El Mahrouss,
+# Copyright 2025, Amlal El Mahrouss, Licensed under the Boost Software License
+#
+
+# Supports the Nectar compiler for PTX.
+
+import toolset ;
+
+if [ MATCH (--debug-configuration) : [ modules.peek : ARGV ] ]
+{
+ .debug-configuration = true ;
+}
+
+feature.extend toolset : ptx-necdrv ;
+
+
+