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

tschoening pushed a commit to branch ghpr_14_replace-ant-build-with-cmake
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git

commit d0c6cae2e4ede3cc6530f4b5ac8f80732a6b08fc
Author: Stephen Webb <[email protected]>
AuthorDate: Fri Feb 7 17:13:02 2020 +1100

    Allow maven to be used with generators that need to be told which 
configuration to test
---
 pom.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pom.xml b/pom.xml
index b520f3f..60ce98a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -224,6 +224,7 @@
                     
<buildDirectory>${project.build.directory}/${platform}</buildDirectory>
                     <testFailureIgnore>true</testFailureIgnore>
                     <ctest.skip.tests>${maven.test.skip}</ctest.skip.tests>
+                    <config>${cmake.config}</config>
                   </configuration>
                 </execution>
               </executions>
@@ -465,6 +466,7 @@
                                <platform>mac-x86_64</platform>
                                <build.type>debug</build.type>
                                <cmake.classifier>mac-x86_64</cmake.classifier>
+                               <cmake.config>${build.type}</cmake.config>
                        </properties>
                </profile>
                <profile>
@@ -479,6 +481,7 @@
                                <platform>mac-x86_64</platform>
                                <build.type>release</build.type>
                                <cmake.classifier>mac-x86_64</cmake.classifier>
+                               <cmake.config>${build.type}</cmake.config>
                        </properties>
                </profile>
     </profiles>

Reply via email to