forked from DiligentGraphics/DiligentSamples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
31 lines (25 loc) · 711 Bytes
/
CMakeLists.txt
File metadata and controls
31 lines (25 loc) · 711 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
cmake_minimum_required (VERSION 3.6)
project(Tutorial06_Multithreading CXX)
set(SOURCE
src/Tutorial06_Multithreading.cpp
../Common/src/TexturedCube.cpp
)
set(INCLUDE
src/Tutorial06_Multithreading.hpp
../Common/src/TexturedCube.hpp
)
set(SHADERS
assets/cube.vsh
assets/cube.psh
)
set(ASSETS
assets/DGLogo0.png
assets/DGLogo1.png
assets/DGLogo2.png
assets/DGLogo3.png
)
add_sample_app("Tutorial06_Multithreading" "DiligentSamples/Tutorials" "${SOURCE}" "${INCLUDE}" "${SHADERS}" "${ASSETS}")
target_link_libraries(Tutorial06_Multithreading PRIVATE Diligent-TextureLoader)
if(PLATFORM_LINUX)
target_link_libraries(Tutorial06_Multithreading PRIVATE pthread)
endif()