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 2020/02/09 20:20:20 UTC

[logging-log4cxx] 40/49: Allow maven to be used with generators that need to be told which configuration to test

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 <sw...@gmail.com>
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>