forked from GPUOpen-LibrariesAndSDKs/RenderPipelineShaders
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
38 lines (32 loc) · 1.15 KB
/
CMakeLists.txt
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
# Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved.
#
# This file is part of the AMD Render Pipeline Shaders SDK which is
# released under the AMD INTERNAL EVALUATION LICENSE.
#
# See file LICENSE.txt for full license details.
file (GLOB_RECURSE SrcFiles
"${CMAKE_CURRENT_SOURCE_DIR}/src/*.h"
"${CMAKE_CURRENT_SOURCE_DIR}/src/*.hpp"
"${CMAKE_CURRENT_SOURCE_DIR}/src/*.c"
"${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/src/*.inl"
"${CMAKE_CURRENT_SOURCE_DIR}/include/*.h"
"${CMAKE_CURRENT_SOURCE_DIR}/include/*.hpp"
)
add_library( rps_visualizer STATIC ${SrcFiles} ${ImGuiSrcFiles} )
target_include_directories( rps_visualizer
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/src/
${CMAKE_CURRENT_SOURCE_DIR}/include/
${PROJECT_SOURCE_DIR}/tools/
${PROJECT_SOURCE_DIR}/tools/shared/
${PROJECT_SOURCE_DIR}/include/
${PROJECT_SOURCE_DIR}/src/
${PROJECT_SOURCE_DIR}/external/
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include/
)
target_link_libraries( rps_visualizer ImGui )
set_target_properties( rps_visualizer PROPERTIES
FOLDER "${AppFolder}"
)