Skip to content

Commit

Permalink
align comments
Browse files Browse the repository at this point in the history
  • Loading branch information
slowriot committed Dec 10, 2024
1 parent 471f1a3 commit cca404f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/*)
Expand All @@ -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@/
Expand Down

0 comments on commit cca404f

Please sign in to comment.