|
3 | 3 | # For conditions of distribution and use, see copyright notice in nabla.h |
4 | 4 |
|
5 | 5 | if(NBL_BUILD_EXAMPLES) |
| 6 | + project(NablaExamples) |
| 7 | + |
6 | 8 | if(NBL_BUILD_ANDROID) |
7 | 9 | nbl_android_create_media_storage_apk() |
8 | 10 | endif() |
9 | 11 |
|
10 | 12 | # showcase the use of `nbl::core`,`nbl::system` and `nbl::asset` |
11 | | - add_subdirectory(01_HelloCoreSystemAsset EXCLUDE_FROM_ALL) |
| 13 | + add_subdirectory(01_HelloCoreSystemAsset) |
12 | 14 | # showcase the use of `system::IApplicationFramework` and `nbl::video` |
13 | | - add_subdirectory(02_HelloCompute EXCLUDE_FROM_ALL) |
| 15 | + add_subdirectory(02_HelloCompute) |
14 | 16 | # showcase physical device selection, resource embedding and the use of identical headers in HLSL and C++ |
15 | | - add_subdirectory(03_DeviceSelectionAndSharedSources EXCLUDE_FROM_ALL) |
| 17 | + add_subdirectory(03_DeviceSelectionAndSharedSources) |
16 | 18 | # showcase the creation of windows and polling for input |
17 | | - add_subdirectory(04_HelloUI EXCLUDE_FROM_ALL) |
| 19 | + add_subdirectory(04_HelloUI) |
18 | 20 | # showcase the semi-advanced use of Nabla's Streaming Buffers and BDA |
19 | | - add_subdirectory(05_StreamingAndBufferDeviceAddressApp EXCLUDE_FROM_ALL) |
| 21 | + add_subdirectory(05_StreamingAndBufferDeviceAddressApp) |
20 | 22 | # showcase the use of a graphics queue |
21 | | - add_subdirectory(06_HelloGraphicsQueue EXCLUDE_FROM_ALL) |
| 23 | + add_subdirectory(06_HelloGraphicsQueue) |
22 | 24 | # showcase the set-up of multiple queues |
23 | | - add_subdirectory(07_StagingAndMultipleQueues EXCLUDE_FROM_ALL) |
| 25 | + add_subdirectory(07_StagingAndMultipleQueues) |
24 | 26 | # showcase the set-up of a swapchain and picking of a matching device |
25 | | - add_subdirectory(08_HelloSwapchain EXCLUDE_FROM_ALL) |
26 | | - add_subdirectory(09_GeometryCreator EXCLUDE_FROM_ALL) |
| 27 | + add_subdirectory(08_HelloSwapchain) |
| 28 | + add_subdirectory(09_GeometryCreator) |
27 | 29 | # demonstrate the counting sort utility |
28 | | - add_subdirectory(10_CountingSort EXCLUDE_FROM_ALL) |
| 30 | + add_subdirectory(10_CountingSort) |
29 | 31 | # showcase use of FFT for post-FX Bloom effect |
30 | | - add_subdirectory(11_FFT EXCLUDE_FROM_ALL) |
| 32 | + add_subdirectory(11_FFT) |
31 | 33 |
|
32 | 34 |
|
33 | 35 | # Waiting for a refactor |
34 | | - #add_subdirectory(27_PLYSTLDemo EXCLUDE_FROM_ALL) |
35 | | - #add_subdirectory(33_Draw3DLine EXCLUDE_FROM_ALL) |
| 36 | + #add_subdirectory(27_PLYSTLDemo) |
| 37 | + #add_subdirectory(33_Draw3DLine) |
36 | 38 |
|
37 | 39 | # Unit Test Examples |
38 | | - add_subdirectory(20_AllocatorTest EXCLUDE_FROM_ALL) |
39 | | - add_subdirectory(21_LRUCacheUnitTest EXCLUDE_FROM_ALL) |
40 | | - add_subdirectory(22_CppCompat EXCLUDE_FROM_ALL) |
41 | | - add_subdirectory(23_ArithmeticUnitTest EXCLUDE_FROM_ALL) |
42 | | - add_subdirectory(24_ColorSpaceTest EXCLUDE_FROM_ALL) |
43 | | - add_subdirectory(25_FilterTest EXCLUDE_FROM_ALL) |
44 | | - add_subdirectory(26_Blur EXCLUDE_FROM_ALL) |
45 | | - add_subdirectory(27_MPMCScheduler EXCLUDE_FROM_ALL) |
46 | | - add_subdirectory(28_FFTBloom EXCLUDE_FROM_ALL) |
47 | | - add_subdirectory(29_MeshLoaders EXCLUDE_FROM_ALL) |
48 | | - # add_subdirectory(36_CUDAInterop EXCLUDE_FROM_ALL) |
| 40 | + add_subdirectory(20_AllocatorTest) |
| 41 | + add_subdirectory(21_LRUCacheUnitTest) |
| 42 | + add_subdirectory(22_CppCompat) |
| 43 | + add_subdirectory(23_ArithmeticUnitTest) |
| 44 | + add_subdirectory(24_ColorSpaceTest) |
| 45 | + add_subdirectory(25_FilterTest) |
| 46 | + add_subdirectory(26_Blur) |
| 47 | + add_subdirectory(27_MPMCScheduler) |
| 48 | + add_subdirectory(28_FFTBloom) |
| 49 | + add_subdirectory(29_MeshLoaders) |
| 50 | + # add_subdirectory(36_CUDAInterop) |
49 | 51 |
|
50 | 52 | # Showcase compute pathtracing |
51 | | - add_subdirectory(30_ComputeShaderPathTracer EXCLUDE_FROM_ALL) |
| 53 | + add_subdirectory(30_ComputeShaderPathTracer) |
52 | 54 |
|
53 | | - add_subdirectory(38_EXRSplit EXCLUDE_FROM_ALL) |
| 55 | + add_subdirectory(38_EXRSplit) |
54 | 56 | # if (NBL_BUILD_MITSUBA_LOADER AND NBL_BUILD_OPTIX) |
55 | | - # add_subdirectory(39_DenoiserTonemapper EXCLUDE_FROM_ALL) |
| 57 | + # add_subdirectory(39_DenoiserTonemapper) |
56 | 58 | # endif() |
57 | 59 |
|
58 | | - #add_subdirectory(43_SumAndCDFFilters EXCLUDE_FROM_ALL) |
59 | | - add_subdirectory(47_DerivMapTest EXCLUDE_FROM_ALL) |
60 | | - add_subdirectory(54_Transformations EXCLUDE_FROM_ALL) |
61 | | - add_subdirectory(55_RGB18E7S3 EXCLUDE_FROM_ALL) |
62 | | - add_subdirectory(61_UI EXCLUDE_FROM_ALL) |
63 | | - add_subdirectory(62_CAD EXCLUDE_FROM_ALL) |
64 | | - add_subdirectory(62_SchusslerTest EXCLUDE_FROM_ALL) |
65 | | - add_subdirectory(64_EmulatedFloatTest EXCLUDE_FROM_ALL) |
66 | | - add_subdirectory(0_ImportanceSamplingEnvMaps EXCLUDE_FROM_ALL) #TODO: integrate back into 42 |
| 60 | + #add_subdirectory(43_SumAndCDFFilters) |
| 61 | + add_subdirectory(47_DerivMapTest) |
| 62 | + add_subdirectory(54_Transformations) |
| 63 | + add_subdirectory(55_RGB18E7S3) |
| 64 | + add_subdirectory(61_UI) |
| 65 | + add_subdirectory(62_CAD) |
| 66 | + add_subdirectory(62_SchusslerTest) |
| 67 | + add_subdirectory(64_EmulatedFloatTest) |
| 68 | + add_subdirectory(0_ImportanceSamplingEnvMaps) #TODO: integrate back into 42 |
67 | 69 |
|
68 | | - add_subdirectory(66_HLSLBxDFTests EXCLUDE_FROM_ALL) |
69 | | - add_subdirectory(67_RayQueryGeometry EXCLUDE_FROM_ALL) |
70 | | - add_subdirectory(68_JpegLoading EXCLUDE_FROM_ALL) |
| 70 | + add_subdirectory(66_HLSLBxDFTests) |
| 71 | + add_subdirectory(67_RayQueryGeometry) |
| 72 | + add_subdirectory(68_JpegLoading) |
71 | 73 |
|
72 | | - add_subdirectory(70_FLIPFluids EXCLUDE_FROM_ALL) |
73 | | - add_subdirectory(71_RayTracingPipeline EXCLUDE_FROM_ALL) |
| 74 | + add_subdirectory(70_FLIPFluids) |
| 75 | + add_subdirectory(71_RayTracingPipeline) |
74 | 76 |
|
75 | 77 | NBL_GET_ALL_TARGETS(TARGETS) |
76 | 78 |
|
|
0 commit comments