You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ts...@apache.org on 2021/08/24 09:10:26 UTC

[logging-log4cxx] 01/01: CMAKE in VS 2019 16.11.1 warns about missing file extensions for XML-related tests:

This is an automated email from the ASF dual-hosted git repository.

tschoening pushed a commit to branch cmake_warning_xml_tests
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git

commit 00d9411b980b19935ce962087a157a40c3890010
Author: Thorsten Schöning <ts...@am-soft.de>
AuthorDate: Tue Aug 24 11:09:55 2021 +0200

    CMAKE in VS 2019 16.11.1 warns about missing file extensions for XML-related tests:
    
    > CMake Warning (dev) at src/test/cpp/xml/CMakeLists.txt:1 (add_executable):
    >   Policy CMP0115 is not set: Source file extensions must be explicit.  Run
    >   "cmake --help-policy CMP0115" for policy details.  Use the cmake_policy
    >   command to set the policy and suppress this warning.
---
 src/test/cpp/xml/CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/cpp/xml/CMakeLists.txt b/src/test/cpp/xml/CMakeLists.txt
index 138c489..cd54de6 100644
--- a/src/test/cpp/xml/CMakeLists.txt
+++ b/src/test/cpp/xml/CMakeLists.txt
@@ -1,7 +1,7 @@
 add_executable(xmltests
-    domtestcase
-    xmllayouttest
-    xmllayouttestcase
+    domtestcase.cpp
+    xmllayouttest.cpp
+    xmllayouttestcase.cpp
 )
 
 target_link_libraries(xmltests PRIVATE ${APR_UTIL_LIBRARIES} EXPAT::EXPAT)