diff --git a/sapp/CMakeLists.txt b/sapp/CMakeLists.txt index 4831e7db..0770c670 100644 --- a/sapp/CMakeLists.txt +++ b/sapp/CMakeLists.txt @@ -474,67 +474,67 @@ fips_end_app() # endif() #fips_end_app() # -#fips_ide_group(Samples) -#fips_begin_app(sgl-sapp windowed) -# fips_files(sgl-sapp.c) -# fips_deps(sokol) -#fips_end_app() -#fips_ide_group(SamplesWithDebugUI) -#fips_begin_app(sgl-sapp-ui windowed) -# fips_files(sgl-sapp.c) -# fips_deps(sokol dbgui) -# target_compile_definitions(sgl-sapp-ui PRIVATE USE_DBG_UI) -#fips_end_app() -# -#fips_ide_group(Samples) -#fips_begin_app(sgl-lines-sapp windowed) -# fips_files(sgl-lines-sapp.c) -# fips_deps(sokol) -#fips_end_app() -#fips_ide_group(SamplesWithDebugUI) -#fips_begin_app(sgl-lines-sapp-ui windowed) -# fips_files(sgl-lines-sapp.c) -# fips_deps(sokol dbgui) -# target_compile_definitions(sgl-lines-sapp-ui PRIVATE USE_DBG_UI) -#fips_end_app() -# -#fips_ide_group(Samples) -#fips_begin_app(sgl-points-sapp windowed) -# fips_files(sgl-points-sapp.c) -# fips_deps(sokol) -#fips_end_app() -#fips_ide_group(SamplesWithDebugUI) -#fips_begin_app(sgl-points-sapp-ui windowed) -# fips_files(sgl-points-sapp.c) -# fips_deps(sokol dbgui) -# target_compile_definitions(sgl-points-sapp-ui PRIVATE USE_DBG_UI) -#fips_end_app() -# -#fips_ide_group(Samples) -#fips_begin_app(sgl-context-sapp windowed) -# fips_files(sgl-context-sapp.c) -# fips_deps(sokol) -#fips_end_app() -#fips_ide_group(SamplesWithDebugUI) -#fips_begin_app(sgl-context-sapp-ui windowed) -# fips_files(sgl-context-sapp.c) -# fips_deps(sokol dbgui) -# target_compile_definitions(sgl-context-sapp-ui PRIVATE USE_DBG_UI) -#fips_end_app() -# -#fips_ide_group(Samples) -#fips_begin_app(sgl-microui-sapp windowed) -# fips_files(sgl-microui-sapp.c) -# fips_deps(sokol microui) -#fips_end_app() -## NOTE: this uses cimgui -#fips_ide_group(SamplesWithDebugUI) -#fips_begin_app(sgl-microui-sapp-ui windowed) -# fips_files(sgl-microui-sapp.c) -# fips_deps(sokol cdbgui cimgui microui) -# target_compile_definitions(sgl-microui-sapp-ui PRIVATE USE_DBG_UI) -#fips_end_app() -# +fips_ide_group(Samples) +fips_begin_app(sgl-sapp windowed) + fips_files(sgl-sapp.c) + fips_deps(sokol) +fips_end_app() +fips_ide_group(SamplesWithDebugUI) +fips_begin_app(sgl-sapp-ui windowed) + fips_files(sgl-sapp.c) + fips_deps(sokol dbgui) + target_compile_definitions(sgl-sapp-ui PRIVATE USE_DBG_UI) +fips_end_app() + +fips_ide_group(Samples) +fips_begin_app(sgl-lines-sapp windowed) + fips_files(sgl-lines-sapp.c) + fips_deps(sokol) +fips_end_app() +fips_ide_group(SamplesWithDebugUI) +fips_begin_app(sgl-lines-sapp-ui windowed) + fips_files(sgl-lines-sapp.c) + fips_deps(sokol dbgui) + target_compile_definitions(sgl-lines-sapp-ui PRIVATE USE_DBG_UI) +fips_end_app() + +fips_ide_group(Samples) +fips_begin_app(sgl-points-sapp windowed) + fips_files(sgl-points-sapp.c) + fips_deps(sokol) +fips_end_app() +fips_ide_group(SamplesWithDebugUI) +fips_begin_app(sgl-points-sapp-ui windowed) + fips_files(sgl-points-sapp.c) + fips_deps(sokol dbgui) + target_compile_definitions(sgl-points-sapp-ui PRIVATE USE_DBG_UI) +fips_end_app() + +fips_ide_group(Samples) +fips_begin_app(sgl-context-sapp windowed) + fips_files(sgl-context-sapp.c) + fips_deps(sokol) +fips_end_app() +fips_ide_group(SamplesWithDebugUI) +fips_begin_app(sgl-context-sapp-ui windowed) + fips_files(sgl-context-sapp.c) + fips_deps(sokol dbgui) + target_compile_definitions(sgl-context-sapp-ui PRIVATE USE_DBG_UI) +fips_end_app() + +fips_ide_group(Samples) +fips_begin_app(sgl-microui-sapp windowed) + fips_files(sgl-microui-sapp.c) + fips_deps(sokol microui) +fips_end_app() +# NOTE: this uses cimgui +fips_ide_group(SamplesWithDebugUI) +fips_begin_app(sgl-microui-sapp-ui windowed) + fips_files(sgl-microui-sapp.c) + fips_deps(sokol cdbgui cimgui microui) + target_compile_definitions(sgl-microui-sapp-ui PRIVATE USE_DBG_UI) +fips_end_app() + #fips_ide_group(Samples) #fips_begin_app(nuklear-sapp windowed) # fips_files(nuklear-sapp.c) @@ -750,22 +750,22 @@ fips_end_app() # endif() #fips_end_app() # -#fips_ide_group(Samples) -#fips_begin_app(fontstash-sapp windowed) -# fips_files(fontstash-sapp.c) -# fips_deps(sokol fileutil) -# fips_dir(data) -# fipsutil_copy(fontstash.yml) -#fips_end_app() -#fips_ide_group(SamplesWithDebugUI) -#fips_begin_app(fontstash-sapp-ui windowed) -# fips_files(fontstash-sapp.c) -# fips_deps(sokol fileutil dbgui) -# fips_dir(data) -# fipsutil_copy(fontstash.yml) -# target_compile_definitions(fontstash-sapp-ui PRIVATE USE_DBG_UI) -#fips_end_app() -# +fips_ide_group(Samples) +fips_begin_app(fontstash-sapp windowed) + fips_files(fontstash-sapp.c) + fips_deps(sokol fileutil) + fips_dir(data) + fipsutil_copy(fontstash.yml) +fips_end_app() +fips_ide_group(SamplesWithDebugUI) +fips_begin_app(fontstash-sapp-ui windowed) + fips_files(fontstash-sapp.c) + fips_deps(sokol fileutil dbgui) + fips_dir(data) + fipsutil_copy(fontstash.yml) + target_compile_definitions(fontstash-sapp-ui PRIVATE USE_DBG_UI) +fips_end_app() + #fips_ide_group(Samples) #fips_begin_app(fontstash-layers-sapp windowed) # fips_files(fontstash-layers-sapp.c)