<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  
  <modelVersion>4.0.0</modelVersion>
  
  <parent>
    <groupId>activemq</groupId>
    <artifactId>activemq-cpp-parent</artifactId>
    <version>1.0-SNAPSHOT</version>
    <relativePath>../pom.xml</relativePath>
  </parent>
  
  <artifactId>libactivemq-cpp</artifactId>
  <name>ActiveMQ :: CPP :: WIN32 :: GCC</name>
  <description>The C++ client library for interfacing with an ActiveMQ broker</description>
  <packaging>a</packaging>  

  <build>
  	  <finalName>${artifactId}</finalName>	  
	  <plugins>
	      <plugin>
	      
	        <!-- configure the Mojo native plugin -->
	        <groupId>org.codehaus.mojo</groupId>
	        <artifactId>native-maven-plugin</artifactId>
	        <version>1.0-alpha-1-SNAPSHOT</version>
	        <extensions>true</extensions>
	             
	        <configuration>
	        
	          <!-- All compiler flags are determined by the profile -->
	          <compilerProvider>generic</compilerProvider>
	          <compilerStartOptions>
	            <compilerStartOption>${compiler.options}</compilerStartOption>
	          </compilerStartOptions>
	          <linkerExecutable>ar</linkerExecutable>
	          <linkerStartOptions>
	            <linkerStartOption>-r</linkerStartOption>
	          </linkerStartOptions>
	          
	      	</configuration>
	      	
	      </plugin>
	    </plugins>
  </build>
  
  <profiles>
  	<profile>
    
      <id>release</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      
      <properties>
	    <compiler.options>-frtti -O3 -DNDEBUG -D_REENTRANT -D_WIN32 -DWINVER=0x0502 -DWIN32_LEAN_AND_MEAN</compiler.options>
  	  </properties>
  	  
    </profile>
    
    <profile>
    
      <id>debug</id>
      <activation>
        <property>
          <name>debug</name>
        </property>
      </activation>
      
      <properties>
	    <compiler.options>-frtti -g -DDEBUG -D_DEBUG -D_REENTRANT -D_WIN32 -DWINVER=0x0502 -DWIN32_LEAN_AND_MEAN</compiler.options>
  	  </properties>
  	  
    </profile>
    
  </profiles>

</project>