From 5e248c00779692c8cd3763de1de4707b7a6591a8 Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Tue, 1 Dec 2009 15:38:04 +0100 Subject: Fixed NAR-13 --- src/it/it0019-compiler/pom.xml | 67 ++++++++++++++++++++++++++ src/it/it0019-compiler/src/main/c/Executable.c | 27 +++++++++++ 2 files changed, 94 insertions(+) create mode 100644 src/it/it0019-compiler/pom.xml create mode 100644 src/it/it0019-compiler/src/main/c/Executable.c (limited to 'src/it') diff --git a/src/it/it0019-compiler/pom.xml b/src/it/it0019-compiler/pom.xml new file mode 100644 index 0000000..40c199b --- /dev/null +++ b/src/it/it0019-compiler/pom.xml @@ -0,0 +1,67 @@ + + + + + + 4.0.0 + + + org.apache.maven.its.nar + it-parent + 1.0-SNAPSHOT + ../it-parent/pom.xml + + + it0019-compiler + nar + + Maven NAR Compiler Test + 1.0-SNAPSHOT + + Compiler Configuration Test + + http://maven.apache.org/ + + + true + + + + integration-test + + + maven-nar-plugin + true + + true + + icc + + + + executable + true + + + + + + + diff --git a/src/it/it0019-compiler/src/main/c/Executable.c b/src/it/it0019-compiler/src/main/c/Executable.c new file mode 100644 index 0000000..19afb26 --- /dev/null +++ b/src/it/it0019-compiler/src/main/c/Executable.c @@ -0,0 +1,27 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +#include + +int main(int argc, char *argv[]) { + printf("Helloworld\n"); + return 0; +} + + -- cgit v1.2.3