From d6aafb6846f09021f56c6bf1ffb3bc4594efa964 Mon Sep 17 00:00:00 2001 From: Stephane Poirier <stephane.poirier@synchrotron-soleil.fr> Date: Fri, 7 May 2021 13:33:39 +0000 Subject: [PATCH] fixed HDF5 info version on linux --- pom.xml | 144 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 pom.xml diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..87001e8 --- /dev/null +++ b/pom.xml @@ -0,0 +1,144 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>super-pom-C-CPP</artifactId> + <groupId>fr.soleil</groupId> + <version>RELEASE</version> + </parent> + <groupId>fr.soleil.lib</groupId> + <artifactId>NexusCPP-${aol}-${library}-${mode}</artifactId> + <version>3.4.0</version> + <packaging>nar</packaging> + <name>NexusCPP</name> + <description>NexusCPP library</description> + <developers> + <developer> + <id>poirier</id> + <name>poirier</name> + <email>stephane.poirier@synchrotron-soleil.fr</email> + <url>http://www.synchrotron-soleil.fr</url> + <organization>Synchrotron Soleil</organization> + <organizationUrl>http://www.synchrotron-soleil.fr</organizationUrl> + <roles> + <role>manager</role> + </roles> + <timezone>1</timezone> + </developer> + </developers> + <scm> + <connection>${scm.connection.svn.tango-cs}/share/nexuscpp</connection> + <developerConnection>${scm.developerConnection.svn.tango-cs}/share/nexuscpp</developerConnection> + <url>${scm.url.svn.tango-cs}/share/nexuscpp</url> + </scm> + + <profiles> + <profile> + <id>nexuscpp_linux</id> + <activation> + <os> + <family>Linux</family> + </os> + </activation> + <dependencies> + <dependency> + <groupId>fr.soleil.lib</groupId> + <artifactId>YAT-${aol}-${library}-${mode}</artifactId> + </dependency> + <dependency> + <groupId>ncsa.uiuc.edu</groupId> + <artifactId>HDF5-${aol}-shared-${mode}</artifactId> + </dependency> + </dependencies> + </profile> + <profile> + <id>nexuscpp_win32</id> + <activation> + <os> + <family>Windows</family> + </os> + </activation> + <dependencies> + <dependency> + <groupId>fr.soleil.lib</groupId> + <artifactId>YAT-${aol}-${library}-${mode}</artifactId> + </dependency> + <dependency> + <groupId>ncsa.uiuc.edu</groupId> + <artifactId>HDF5-${aol}-shared-release</artifactId> + <version>1.8.18</version> + </dependency> + </dependencies> + </profile> + </profiles> + + <build> + <plugins> + <plugin> + <groupId>org.freehep</groupId> + <artifactId>freehep-nar-plugin</artifactId> + <configuration> + <cpp> + <sourceDirectory>src</sourceDirectory> + <includePaths> + <includePath>include</includePath> + <includePath>src</includePath> + </includePaths> + <defines> + <define>PROJECT_VERSION=${project.version}</define> + <define>PROJECT_NAME=${project.name}</define> + <define>HDF_PROJECT_NAME=HDF5</define> + </defines> + </cpp> + <specificConfigurations> + <specificConfiguration> + <id>NexusCPP linux</id> + <activation> + <os>Linux</os> + </activation> + <cpp> + <defines> + <define>HDF_PROJECT_VERSION=1.8.16</define> + </defines> + </cpp> + </specificConfiguration> + <specificConfiguration> + <id>NexusCPP windows</id> + <activation> + <os>Windows</os> + </activation> + <cpp> + <defines> + <define>HDF_PROJECT_VERSION=1.8.18</define> + <define>_HDF5USEDLL_</define> + <define>WITH_HDF5</define> + <define>H5_BUILT_AS_DYNAMIC_LIB</define> + </defines> + </cpp> + </specificConfiguration> + <specificConfiguration> + <id>NexusCPP windows shared</id> + <activation> + <os>Windows</os> + <libraryType>shared</libraryType> + </activation> + <cpp> + <defines> + <define>HDF_PROJECT_VERSION=1.8.18</define> + <define>_HDF5USEDLL_</define> + <define>WITH_HDF5</define> + <define>H5_BUILT_AS_DYNAMIC_LIB</define> + <define>NEXUSCPP_DLL</define> + <define>NEXUSCPP_BUILD</define> + </defines> + </cpp> + </specificConfiguration> + </specificConfigurations> + </configuration> + </plugin> + </plugins> + </build> + +</project> + -- GitLab