-
Notifications
You must be signed in to change notification settings - Fork 47
/
clone_all.bat
66 lines (62 loc) · 1.82 KB
/
clone_all.bat
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
@echo off
pushd ..
CALL :folder build_all
CALL :folder nvpro_core
CALL :folder dx12_present_barrier
CALL :folder gl_cadscene_rendertechniques
CALL :folder gl_commandlist_basic
CALL :folder gl_cuda_simple_interop
CALL :folder gl_dynamic_lod
CALL :folder gl_multicast
CALL :folder gl_occlusion_culling
CALL :folder gl_path_rendering_CMYK
CALL :folder gl_render_vk_direct_display
CALL :folder gl_ssao
CALL :folder gl_vk_bk3dthreaded
CALL :folder gl_vk_chopper
CALL :folder gl_vk_meshlet_cadscene
CALL :folder gl_vk_raytrace_interop
CALL :folder gl_vk_simple_interop
CALL :folder gl_vk_supersampled
CALL :folder gl_vk_threaded_cadscene
CALL :folder gl_vrs
CALL :folder nvml_enterprise_gpu_check
CALL :folder nvtt_samples
CALL :folder vk_async_resources
CALL :folder vk_compute_mipmaps
CALL :folder vk_ddisplay
CALL :folder vk_denoise
CALL :folder vk_device_generated_cmds
CALL :folder vk_idbuffer_rasterization
CALL :folder vk_inherited_viewport
CALL :folder vk_memory_decompression
CALL :folder vk_mini_path_tracer
CALL :folder vk_mini_samples
CALL :folder vk_offline
CALL :folder vk_order_independent_transparency
CALL :folder vk_raytrace
CALL :folder vk_raytrace_displacement
CALL :folder vk_raytracing_tutorial_KHR
CALL :folder vk_shaded_gltfscene
CALL :folder vk_streamline
CALL :folder vk_timeline_semaphore
CALL :folder vk_toon_shader
CALL :folder vk_video_samples
:: force execution to quit at the end of the "main" logic
EXIT /B %ERRORLEVEL%
:: a function to write to a log file and write to stdout
:folder
IF EXIST %* GOTO NOWINDIR
echo "--------------------------------------------"
git clone https://github.com/nvpro-samples/%*.git --recursive
GOTO DONE
:NOWINDIR
echo "--------------------------------------------"
echo %* already there... pulling
pushd %*
git pull
git submodule update --init --recursive
popd
EXIT /B 0
:DONE
EXIT /B 0