• Home
  • Raw
  • Download

Lines Matching +full:cmake +full:- +full:unix

2 …p://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http…
5 <artifactId>aws-crt</artifactId>
7 <version>1.0.0-SNAPSHOT</version>
10 <url>https://github.com/awslabs/aws-crt-java</url>
15 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
22 <email>aws-sdk-common-runtime@amazon.com</email>
29 <connection>scm:git:git://github.com/awslabs/aws-crt-java.git</connection>
30 <developerConnection>scm:git:ssh://github.com:awslabs/aws-crt-java.git</developerConnection>
31 <url>https://github.com/awslabs/aws-crt-java/tree/main</url>
35 <cmake.command>cmake</cmake.command>
36 <cmake.buildtype>RelWithDebInfo</cmake.buildtype>
37 <cmake.buildconfig>${cmake.buildtype}</cmake.buildconfig>
38 <cmake.binaries>target/cmake-build</cmake.binaries>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42 <cmake.warningsareerrors>OFF</cmake.warningsareerrors>
43 <cmake.s2nNoPqAsm>OFF</cmake.s2nNoPqAsm>
44 <cmake.osx_arch>-DOSX_ARCH_DUMMY=1</cmake.osx_arch>
45 <cmake.min_osx_version>-DOSX_DEPLOYMENT_TARGET_DUMMY=1</cmake.min_osx_version>
46 <cmake.disable_perl>ON</cmake.disable_perl>
47 <cmake.disable_aws_lc_512avx>OFF</cmake.disable_aws_lc_512avx>
52 <id>compile-for-java-8</id>
61 <id>continuous-integration</id>
63 <cmake.warningsareerrors>ON</cmake.warningsareerrors>
67 <!-- Windows profile: find cmake generators and use ALL_BUILD target
68 … NOTE: CMake generator will be cached to target/cmake-build/cmake.properties, delete or edit this
70 -->
71 <id>windows-vs</id>
78 <cmake.buildtype></cmake.buildtype>
79 <cmake.buildconfig>RelWithDebInfo</cmake.buildconfig>
80 <cmake.cflags/>
83 <!-- Unix/Linux/OSX profiles: use makefiles and the "all" compile target -->
85 <id>unix-make</id>
88 <family>unix</family>
92 <cmake.cflags/>
96 <id>mac-x64</id>
104 <cmake.cflags/>
105 <cmake.min_osx_version>-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9</cmake.min_osx_version>
106 <cmake.osx_arch>-DCMAKE_OSX_ARCHITECTURES=x86_64</cmake.osx_arch>
110 <id>mac-arm64</id>
118 <cmake.min_osx_version>-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9</cmake.min_osx_version>
119 <cmake.osx_arch>-DCMAKE_OSX_ARCHITECTURES=arm64</cmake.osx_arch>
122 <!-- 32-bit Unix -->
124 <id>unix-x86</id>
127 <family>unix</family>
132 <cmake.cflags>-m32</cmake.cflags>
136 <id>debug-native</id>
143 <cmake.buildtype>Debug</cmake.buildtype>
146 <!-- native compilation -->
148 <id>build-shared-lib</id>
151 <name>!shared-lib.skip</name>
156 <!-- cmake configure and build -->
159 <artifactId>exec-maven-plugin</artifactId>
162 <!-- cmake configure -->
164 <id>cmake-configure</id>
165 <phase>generate-sources</phase>
170 <executable>${cmake.command}</executable>
173 <argument>-B${cmake.binaries}</argument>
174 <argument>-H${project.basedir}</argument>
175 <argument>-DCMAKE_BUILD_TYPE=${cmake.buildtype}</argument>
176 <argument>-DCMAKE_EXPORT_COMPILE_COMMANDS=ON</argument>
177 <argument>-DBUILD_DEPS=ON</argument>
178 … <argument>-DAWS_WARNINGS_ARE_ERRORS=${cmake.warningsareerrors}</argument>
179 … <argument>-DCMAKE_PREFIX_PATH=${cmake.binaries}/install</argument>
180 … <argument>-DCMAKE_INSTALL_PREFIX=${cmake.binaries}/install</argument>
181 <argument>-DCMAKE_C_FLAGS=${cmake.cflags}</argument>
182 <argument>${cmake.min_osx_version}</argument>
183 <argument>${cmake.osx_arch}</argument>
184 <argument>-DS2N_NO_PQ_ASM=${cmake.s2nNoPqAsm}</argument>
185 <argument>-DBUILD_TESTING=OFF</argument>
186 <argument>-DDISABLE_PERL=${cmake.disable_perl}</argument>
187 … <argument>-DMY_ASSEMBLER_IS_TOO_OLD_FOR_512AVX=${cmake.disable_aws_lc_512avx}</argument>
188 <argument>--no-warn-unused-cli</argument>
189 <argument>${cmake.generator}</argument>
190 <argument>${cmake.toolset}</argument>
194 <!-- cmake build -->
197 <phase>generate-resources</phase>
202 <executable>${cmake.command}</executable>
203 <workingDirectory>${cmake.binaries}</workingDirectory>
205 <argument>--build</argument>
207 <argument>--config</argument>
208 <argument>${cmake.buildconfig}</argument>
209 <argument>--target</argument>
210 <argument>aws-crt-jni</argument>
229 <!-- staging/release to Sonatype -->
232 <artifactId>nexus-staging-maven-plugin</artifactId>
242 <!-- source jar -->
245 <artifactId>maven-source-plugin</artifactId>
249 <id>attach-sources</id>
251 <goal>jar-no-fork</goal>
256 <!-- javadoc jar -->
259 <artifactId>maven-javadoc-plugin</artifactId>
263 <id>attach-javadocs</id>
270 <!-- GPG signing -->
273 <artifactId>maven-gpg-plugin</artifactId>
277 <id>sign-artifacts</id>
302 <artifactId>mockito-core</artifactId>
307 <groupId>commons-cli</groupId>
308 <artifactId>commons-cli</artifactId>
315 <!-- shared libs built via cmake -->
317 <directory>${cmake.binaries}/lib</directory>
319 …exclude>**/*.ilk</exclude> <!-- no one needs incremental linker files in their …
320 …xclude>**/*.pdb</exclude> <!-- do not package pdbs, comment this out to debug C…
321 … <exclude>**/*.dbg</exclude> <!-- UNIX debug info, same as PDBs -->
322 … <exclude>**/*.a</exclude> <!-- ignore any libraries from building -->
334 <artifactId>maven-compiler-plugin</artifactId>
339 <artifactId>maven-jar-plugin</artifactId>
344 <goal>test-jar</goal>
358 <!-- make build dir for cmake -->
360 <artifactId>maven-antrun-plugin</artifactId>
364 <id>create-build-dir</id>
368 <mkdir dir="${cmake.binaries}"/>
376 <id>cmake-generator</id>
385 …<condition property="cmake.generator" value="-G${env.AWS_CMAKE_GENERATOR}" else="-DGENERATOR_DUMMY…
388 <echo message="Generator = ${cmake.generator}"/>
393 <id>cmake-toolset</id>
402 … <condition property="cmake.toolset" value="-T${env.AWS_CMAKE_TOOLSET}" else="-DTOOLSET_DUMMY=1">
405 <echo message="Toolset = ${cmake.toolset}"/>
411 <!-- unit test configuration -->
414 <artifactId>maven-surefire-plugin</artifactId>
434 <argLine>-Daws.crt.memory.tracing=2 -Xcheck:jni</argLine>