From cdf2c4545e9736befd5ceb95273083500f51ae42 Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Sat, 2 Sep 2023 18:29:57 +0200 Subject: [PATCH] uniformtypes-sapp working for wgpu --- sapp/CMakeLists.txt | 58 ++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/sapp/CMakeLists.txt b/sapp/CMakeLists.txt index e6b21a21..e77f78af 100644 --- a/sapp/CMakeLists.txt +++ b/sapp/CMakeLists.txt @@ -251,21 +251,21 @@ fips_begin_app(mipmap-sapp-ui windowed) target_compile_definitions(mipmap-sapp-ui PRIVATE USE_DBG_UI) fips_end_app() -#fips_ide_group(Samples) -#fips_begin_app(basisu-sapp windowed) -# fips_files(basisu-sapp.c) -# fips_deps(sokol basisu) -# fips_dir(data) -# fipsutil_embed(basisu-assets.yml basisu-assets.h) -#fips_end_app() -#fips_ide_group(SamplesWithDebugUI) -#fips_begin_app(basisu-sapp-ui windowed) -# fips_files(basisu-sapp.c) -# fips_deps(sokol basisu dbgui) -# fips_dir(data) -# fipsutil_embed(basisu-assets.yml basisu-assets.h) -# target_compile_definitions(basisu-sapp-ui PRIVATE USE_DBG_UI) -#fips_end_app() +# fips_ide_group(Samples) +# fips_begin_app(basisu-sapp windowed) +# fips_files(basisu-sapp.c) +# fips_deps(sokol basisu) +# fips_dir(data) +# fipsutil_embed(basisu-assets.yml basisu-assets.h) +# fips_end_app() +# fips_ide_group(SamplesWithDebugUI) +# fips_begin_app(basisu-sapp-ui windowed) +# fips_files(basisu-sapp.c) +# fips_deps(sokol basisu dbgui) +# fips_dir(data) +# fipsutil_embed(basisu-assets.yml basisu-assets.h) +# target_compile_definitions(basisu-sapp-ui PRIVATE USE_DBG_UI) +# fips_end_app() # fips_ide_group(Samples) fips_begin_app(blend-sapp windowed) @@ -295,20 +295,20 @@ fips_begin_app(uvwrap-sapp-ui windowed) target_compile_definitions(uvwrap-sapp-ui PRIVATE USE_DBG_UI) fips_end_app() -#fips_ide_group(Samples) -#fips_begin_app(uniformtypes-sapp windowed) -# fips_files(uniformtypes-sapp.c) -# sokol_shader(uniformtypes-sapp.glsl ${slang}) -# fips_deps(sokol) -#fips_end_app() -#fips_ide_group(SamplesWithDebugUI) -#fips_begin_app(uniformtypes-sapp-ui windowed) -# fips_files(uniformtypes-sapp.c) -# sokol_shader(uniformtypes-sapp.glsl ${slang}) -# fips_deps(sokol dbgui) -# target_compile_definitions(uniformtypes-sapp-ui PRIVATE USE_DBG_UI) -#fips_end_app() -# +fips_ide_group(Samples) +fips_begin_app(uniformtypes-sapp windowed) + fips_files(uniformtypes-sapp.c) + sokol_shader(uniformtypes-sapp.glsl ${slang}) + fips_deps(sokol) +fips_end_app() +fips_ide_group(SamplesWithDebugUI) +fips_begin_app(uniformtypes-sapp-ui windowed) + fips_files(uniformtypes-sapp.c) + sokol_shader(uniformtypes-sapp.glsl ${slang}) + fips_deps(sokol dbgui) + target_compile_definitions(uniformtypes-sapp-ui PRIVATE USE_DBG_UI) +fips_end_app() + #fips_ide_group(Samples) #fips_begin_app(imgui-sapp windowed) # fips_files(imgui-sapp.cc)