-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
45 lines (33 loc) · 1.29 KB
/
CMakeLists.txt
File metadata and controls
45 lines (33 loc) · 1.29 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
cmake_minimum_required(VERSION 3.8)
project(1_viewport)
add_executable(1_viewport WIN32 src/examples/1_viewport.cpp)
project(2_navigation)
add_executable(2_navigation WIN32 src/examples/2_navigation.cpp)
project(3_cameras)
add_executable(3_cameras WIN32 src/examples/3_cameras.cpp)
project(4_shapes)
add_executable(4_shapes WIN32 src/examples/4_shapes.cpp)
project(5_manipulation)
add_executable(5_manipulation WIN32 src/examples/5_manipulation.cpp)
project(6_mesh)
add_executable(6_mesh WIN32 src/examples/6_mesh.cpp)
project(7_scene)
add_executable(7_scene WIN32 src/examples/7_scene.cpp)
project(obj2mesh)
add_executable(obj2mesh src/obj2mesh.cpp)
project(bmp2texture)
add_executable(bmp2texture src/bmp2texture.cpp)
project(bmp2image)
add_executable(bmp2image src/bmp2image.cpp)
project(ClosestPointOnMesh)
add_executable(ClosestPointOnMesh WIN32 src/examples/ClosestPointOnMeshApp.cpp)
# For CUDA compilation, uncomment the following lines as-needed
#set(CMAKE_CUDA_STANDARD 11)
#if(NOT DEFINED CMAKE_CUDA_ARCHITECTURES)
# set(CMAKE_CUDA_ARCHITECTURES 52)
#endif()
#set(CUDA_VERBOSE_BUILD ON)
#
#project(ClosestPointOnMeshXPU CUDA)
#add_executable(ClosestPointOnMeshXPU WIN32 src/examples/ClosestPointOnMeshApp.cu)
#set_target_properties(ClosestPointOnMeshXPU PROPERTIES CUDA_SEPARABLE_COMPILATION ON)