diff --git a/native/plugin.jelly b/native/plugin.jelly index eb44b25b..8fdc9c25 100644 --- a/native/plugin.jelly +++ b/native/plugin.jelly @@ -47,7 +47,17 @@ - + + + + + + + + @@ -152,6 +162,14 @@ + + + + + + + @@ -180,6 +198,14 @@ + + + + + + + + diff --git a/native/xdocs/changes.xml b/native/xdocs/changes.xml index e953cd7b..e0701558 100644 --- a/native/xdocs/changes.xml +++ b/native/xdocs/changes.xml @@ -25,6 +25,7 @@ + Checking for runtime property and adding it. Default to "dynamic" if not present. Add DLL support to the plugin Changed repository location of libraries from so to sos so Maven can handle them as dependencies Add support for native dependencies (libset/syslibset) diff --git a/native/xdocs/faq.fml b/native/xdocs/faq.fml index 3afe06c8..c800fe8a 100755 --- a/native/xdocs/faq.fml +++ b/native/xdocs/faq.fml @@ -7,12 +7,41 @@ How to run the gcc under cygwin? - Set the follwing properties in your project.properties: +

+ Set the following properties in your project.properties: +

- maven.native.include.os=win32 - maven.native.compiler.arg.start=-mno-cygwin - maven.native.linker.arg.start=-mno-cygwin -Wl,--add-stdcall-alias - +maven.native.include.os=win32 +maven.native.compiler.arg.start=-mno-cygwin +maven.native.linker.arg.start=-mno-cygwin -Wl,--add-stdcall-alias +
+
+ + How to run cl on Windows? + +

+ Set the following properties in your project.properties: +

+ +maven.native.include.os=win32 +maven.native.compiler.name=msvc +

+ Optionally, you can set the following property if you don't want the + default argument /MD (or /MDd if in debug mode) to be passed to cl. + At time of writing, this always gets set by CCTask so even if you + pass a different argument with maven.native.compiler.arg.start + property, it won't be unset. You will simply end up with 2 + arguments... +

+ +maven.native.runtime=static +

+ Other arguments for cl can be passed in by setting the following + property (with values you *really* want, of course, this is just an + example). Multiple values are separated by a space. +

+ +maven.native.compiler.arg.start=/GR /GX