From cca404f9b8f56dec9ec7e819b83d433524d83ed3 Mon Sep 17 00:00:00 2001 From: SlowRiot Date: Tue, 10 Dec 2024 19:22:49 +0000 Subject: [PATCH] align comments --- CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 911850e..2166f05 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -188,7 +188,7 @@ target_compile_options(client PRIVATE -Wold-style-cast -Woverloaded-virtual -Wpacked - #-Wpadded # useful to turn on occasionally until split - see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52981 and https://bugs.llvm.org/show_bug.cgi?id=22442 + #-Wpadded # useful to turn on occasionally until split - see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52981 and https://bugs.llvm.org/show_bug.cgi?id=22442 -Wpointer-arith -Wrange-loop-analysis -Wredundant-decls @@ -201,7 +201,7 @@ target_compile_options(client PRIVATE -Wuninitialized -Wunused -Wzero-as-null-pointer-constant - -Wno-braced-scalar-init # suppression for clang bug https://github.com/llvm/llvm-project/issues/57286 + -Wno-braced-scalar-init # suppression for clang bug https://github.com/llvm/llvm-project/issues/57286 ) # suppress warnings for external libraries built as part of include file(GLOB_RECURSE include_files include/*) @@ -221,8 +221,7 @@ target_link_options(client PRIVATE ${exception_link_options} -sEXPORTED_RUNTIME_METHODS=[ccall] -sLLD_REPORT_UNDEFINED - # don't emit code for node.js etc - -sENVIRONMENT=web + -sENVIRONMENT=web # don't emit code for node.js etc --shell-file=${CMAKE_SOURCE_DIR}/html/client.html # embedded files --preload-file ../assets@/