-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
35 lines (26 loc) · 1003 Bytes
/
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
cmake_minimum_required(VERSION 3.14)
project(BindlessVk LANGUAGES C CXX)
include_directories(
${CMAKE_SOURCE_DIR}/Vendor/ktx/include
${CMAKE_SOURCE_DIR}/Vendor/ktx/other_include
)
set(SPIRV_REFLECT_STATIC_LIB ON)
set(SPIRV_REFLECT_EXECUTABLE OFF)
set(SPIRV_REFLECT_EXAMPLES OFF)
OPTION(SPIRV_REFLECT_STATIC_LIB ON)
OPTION(SPIRV_REFLECT_EXECUTABLE OFF)
OPTION(SPIRV_REFLECT_EXAMPLES OFF)
add_subdirectory(Vendor/)
add_subdirectory(ABC/)
add_subdirectory(AssetBaker/)
add_subdirectory(AssetParser/)
add_subdirectory(BindlessVk/)
target_compile_options(ABC PRIVATE -O3 -DNDEBUG -w)
target_link_options(ABC PRIVATE -O3 -DNDEBUG -w)
target_compile_options(AssetBaker PRIVATE -O3 -DNDEBUG -w)
target_link_options(AssetBaker PRIVATE -O3 -DNDEBUG -w)
target_compile_options(AssetParser PRIVATE -O3 -DNDEBUG -w )
target_link_options(AssetParser PRIVATE -O3 -DNDEBUG -w)
target_compile_options(BindlessVk PRIVATE -g -Og)
target_link_options(BindlessVk PRIVATE -g -Og)
add_subdirectory(Examples/)