From 011faa1989200d755bceade8137173366a324fa1 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 9 Aug 2025 00:46:21 +0200 Subject: [PATCH] comment --- docs/examples/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/CMakeLists.txt b/docs/examples/CMakeLists.txt index f61d668392..358af24d07 100644 --- a/docs/examples/CMakeLists.txt +++ b/docs/examples/CMakeLists.txt @@ -38,7 +38,7 @@ foreach(_target IN LISTS check_PROGRAMS _all) # keep '_all' last list(TRANSFORM _examples_c APPEND ".c") add_library(${_target_name} OBJECT EXCLUDE_FROM_ALL ${_examples_c}) if(MSVC AND NOT CMAKE_C_COMPILER_ID STREQUAL "Clang") - # CMake generates a static library for the OBJECT target. Which triggers warnings: + # CMake generates a static library for the OBJECT target. Silence these 'lib.exe' warnings: # warning LNK4006: main already defined in ....obj; second definition ignored # warning LNK4221: This object file does not define any previously undefined public symbols, # so it will not be used by any link operation that consumes this library