do you have chance to take a look at existing examples? If the examples dont work out for you, perhaps a pom file will help to figure out the issue
-D On Mon, Mar 21, 2011 at 2:00 PM, stevek <st...@dsoft-solutions.co.uk> wrote: > Hi All > > New to Maven and trying to figure out how I might use it for C++ projects on > a windows platform. Downloaded Maven 3.0.2 and trying to use the Native > Maven plugin. Using compiler provider msvc and compilerExecutable as cl I > have been able to get source compiled. However when I try to link it seem to > be using the wrong cl option i.e. /out rather than /Fe. I get the following > type of output: > > [INFO] --- native-maven-plugin:1.0-alpha-7:link (default-cli) @ my-cpp-app > --- > [INFO] cmd.exe /X /C "cl > /out:c:\Users\Steve\my-cpp-app\target\my-cpp-app-1.0-SNAPSHOT.exe > target\objs\HelloWorldApp.obj" > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for > 80x86 > Copyright (C) Microsoft Corporation. All rights reserved. > > cl : Command line warning D9035 : option 'o' has been deprecated and will be > removed in a future release > Microsoft (R) Incremental Linker Version 9.00.21022.08 > Copyright (C) Microsoft Corporation. All rights reserved. > > /out:HelloWorldApp.exe > /out:ut:c:\Users\Steve\my-cpp-app\target\my-cpp-app-1.0-SNAPSHOT.exe > target\objs\HelloWorldApp.obj > LINK : fatal error LNK1104: cannot open file > 'ut:c:\Users\Steve\my-cpp-app\target\my-cpp-app-1.0-SNAPSHOT.exe' > > Thanks in advance > > Steve > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Maven-native-link-naming-exe-tp4239754p4239754.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org