-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
33 lines (30 loc) · 765 Bytes
/
CMakeLists.txt
File metadata and controls
33 lines (30 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
project(PARALLEL_MESH LANGUAGES CXX CUDA)
find_package(CUDA QUIET REQUIRED)
set(SOURCES
src/grainmesh.h
src/grainmesh.cpp
src/iotetgen.h
src/iotetgen.cpp
src/mystl.h
src/mystl.cpp
src/meshoperations.h
src/meshoperations.cpp
src/meshcut.h
src/meshcut.cpp
src/meshsmooth.h
src/meshsmooth.cpp
src/mymesh.h
src/mymesh.cpp
src/common.h
src/common.cpp
src/cuda_pip.cuh
src/helper_math.cuh
src/cuda_meshgen.cuh
src/kernel.cu)
add_executable(RJNAMM ${SOURCES})
target_compile_features(RJNAMM PUBLIC cxx_std_11)
set_target_properties( RJNAMM
PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
set_property(TARGET RJNAMM
PROPERTY CUDA_SEPARABLE_COMPILATION ON)