Skip to content

Commit

Permalink
Modified Cmake to also include new example
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejSakmary committed Oct 31, 2023
1 parent 13c486c commit 75a9e7a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ option(avk_toolkit_CreateDependencySymlinks "Create symbolic links instead of co
option(avk_toolkit_BuildExamples "Build all examples for Auto-Vk-Toolkit." OFF)
option(avk_toolkit_BuildHelloWorld "Build example: hello_world." OFF)
option(avk_toolkit_BuildFramebuffer "Build example: framebuffer." OFF)
option(avk_toolkit_BuildDynamicRendering "Build example: dynamic_rendering." OFF)
option(avk_toolkit_BuildComputeImageProcessing "Build example: compute_image_processing." OFF)
option(avk_toolkit_BuildMultiInvokeeRendering "Build example: multi_invokee_rendering." OFF)
option(avk_toolkit_BuildModelLoader "Build example: model_loader." OFF)
Expand All @@ -57,6 +58,7 @@ option(avk_toolkit_BuildPresentFromCompute "Build example: present_from_compute.
if (avk_toolkit_BuildExamples)
set(avk_toolkit_BuildHelloWorld ON)
set(avk_toolkit_BuildFramebuffer ON)
set(avk_toolkit_BuildDynamicRendering ON)
set(avk_toolkit_BuildComputeImageProcessing ON)
set(avk_toolkit_BuildMultiInvokeeRendering ON)
set(avk_toolkit_BuildModelLoader ON)
Expand Down Expand Up @@ -226,6 +228,11 @@ if (avk_toolkit_BuildFramebuffer)
add_subdirectory(examples/framebuffer)
endif()

## dynamic_rendering
if (avk_toolkit_BuildDynamicRendering)
add_subdirectory(examples/dynamic_rendering)
endif()

## compute_image_processing
if (avk_toolkit_BuildComputeImageProcessing)
add_subdirectory(examples/compute_image_processing)
Expand Down

0 comments on commit 75a9e7a

Please sign in to comment.