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:25 UTC

[logging-log4cxx] branch cmake_warning_xml_tests created (now 00d9411)

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

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


      at 00d9411  CMAKE in VS 2019 16.11.1 warns about missing file extensions for XML-related tests:

This branch includes the following new commits:

     new 00d9411  CMAKE in VS 2019 16.11.1 warns about missing file extensions for XML-related tests:

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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

Posted by ts...@apache.org.
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)