aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2021-10-21 01:57:05 +0800
committerKunoiSayami <[email protected]>2021-10-21 01:57:05 +0800
commit5bf90aa4e7e5b6127352a494782346caf69386b7 (patch)
tree4c6ee126c8689411b33da5720cfa3be648f4aa2e /CMakeLists.txt
init
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..f1c2883
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,9 @@
+cmake_minimum_required(VERSION 3.20)
+project(cleveldb CUDA)
+
+set(CMAKE_CUDA_STANDARD 14)
+
+add_executable(cleveldb main.cu arena.cu arena.cuh)
+
+set_target_properties(cleveldb PROPERTIES
+ CUDA_SEPARABLE_COMPILATION ON)