feat: cmake + lib

This commit is contained in:
2025-01-03 19:57:39 +01:00
parent c23a33ebef
commit 126ef4ace8
8 changed files with 12217 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# Compiler and flags
NVCC = nvcc
CXXFLAGS = -I./src -std=c++17 $(shell nc-config --cxx4flags) $(shell nc-config --cxx4libs) -g -G
CXXFLAGS = -I./src -std=c++17 $(shell ncxx4-config --cflags) $(shell ncxx4-config --libs) -g -G
COMPILE_OBJ_FLAGS = --device-c
# Directories
@@ -36,4 +36,4 @@ clean:
$(BUILD_DIR):
mkdir -p $(BUILD_DIR)
.PHONY: all clean debug
.PHONY: all clean debug