-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCMakeOptions.cmake
36 lines (29 loc) · 1.26 KB
/
CMakeOptions.cmake
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
#
# ImGui Options
#
cmake_minimum_required(VERSION 3.6.0)
include(CMakeDependentOption)
##################################################################################################################
# Options
##################################################################################################################
option(IMGUI_STATIC_LIBRARY "Set to OFF to build as a DLL." ON)
option(IMGUI_WITH_IMPL "Set to OFF to not include 'imgui_impl*' sources." ON)
##################################################################################################################
# Options Dependent
##################################################################################################################
cmake_dependent_option(IMGUI_IMPL_DX9
"Set to ON to include implementation files." OFF
"IMGUI_WITH_IMPL" ON
)
cmake_dependent_option(IMGUI_IMPL_DX10
"Set to ON to include implementation files." OFF
"IMGUI_WITH_IMPL" ON
)
cmake_dependent_option(IMGUI_IMPL_DX11
"Set to ON to include implementation files." OFF
"IMGUI_WITH_IMPL" ON
)
cmake_dependent_option(IMGUI_IMPL_DX12
"Set to ON to include implementation files." OFF
"IMGUI_WITH_IMPL" ON
)