- Corrected include path settings, so the C/C++ Analysis of Eclipse Indigo works
- Added a debug build option to build.xml git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@289 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
<targetPlatform binaryParser="org.eclipse.cdt.core.PE" id="cdt.managedbuild.target.gnu.platform.mingw.so.debug.419792570" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.mingw.so.debug"/>
|
<targetPlatform binaryParser="org.eclipse.cdt.core.PE" id="cdt.managedbuild.target.gnu.platform.mingw.so.debug.419792570" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.mingw.so.debug"/>
|
||||||
<builder buildPath="${workspace_loc:/LibusbJava-1.0/Debug}" enabledIncrementalBuild="false" errorParsers="" id="cdt.managedbuild.tool.gnu.builder.mingw.base.1336735830" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="CDT Internal Builder" superClass="cdt.managedbuild.tool.gnu.builder.mingw.base"/>
|
<builder buildPath="${workspace_loc:/LibusbJava-1.0/Debug}" enabledIncrementalBuild="false" errorParsers="" id="cdt.managedbuild.tool.gnu.builder.mingw.base.1336735830" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="CDT Internal Builder" superClass="cdt.managedbuild.tool.gnu.builder.mingw.base"/>
|
||||||
<tool command="as" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.tool.gnu.assembler.mingw.so.debug.33475304" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.mingw.so.debug">
|
<tool command="as" commandLinePattern="${COMMAND} ${FLAGS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT} ${INPUTS}" errorParsers="org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.tool.gnu.assembler.mingw.so.debug.33475304" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.mingw.so.debug">
|
||||||
<option id="gnu.both.asm.option.include.paths.1659184725" superClass="gnu.both.asm.option.include.paths" valueType="includePath">
|
<option id="gnu.both.asm.option.include.paths.1659184725" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" valueType="includePath">
|
||||||
<listOptionValue builtIn="false" value=""C:/Program Files/Java/jdk1.6.0_26/include""/>
|
<listOptionValue builtIn="false" value=""C:/Program Files/Java/jdk1.6.0_26/include""/>
|
||||||
<listOptionValue builtIn="false" value=""C:/Program Files/Java/jdk1.6.0_26/include/win32""/>
|
<listOptionValue builtIn="false" value=""C:/Program Files/Java/jdk1.6.0_26/include/win32""/>
|
||||||
</option>
|
</option>
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.mingw.so.debug.option.optimization.level.10490174" name="Optimization Level" superClass="gnu.c.compiler.mingw.so.debug.option.optimization.level" valueType="enumerated"/>
|
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.mingw.so.debug.option.optimization.level.10490174" name="Optimization Level" superClass="gnu.c.compiler.mingw.so.debug.option.optimization.level" valueType="enumerated"/>
|
||||||
<option id="gnu.c.compiler.mingw.so.debug.option.debugging.level.614745454" name="Debug Level" superClass="gnu.c.compiler.mingw.so.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
|
<option id="gnu.c.compiler.mingw.so.debug.option.debugging.level.614745454" name="Debug Level" superClass="gnu.c.compiler.mingw.so.debug.option.debugging.level" value="gnu.c.debugging.level.max" valueType="enumerated"/>
|
||||||
<option id="gnu.c.compiler.option.warnings.allwarn.26121016" name="All warnings (-Wall)" superClass="gnu.c.compiler.option.warnings.allwarn" value="false" valueType="boolean"/>
|
<option id="gnu.c.compiler.option.warnings.allwarn.26121016" name="All warnings (-Wall)" superClass="gnu.c.compiler.option.warnings.allwarn" value="false" valueType="boolean"/>
|
||||||
<option id="gnu.c.compiler.option.include.paths.1758454762" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
<option id="gnu.c.compiler.option.include.paths.1758454762" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
|
||||||
<listOptionValue builtIn="false" value=""C:/Program Files/Java/jdk1.6.0_26/include""/>
|
<listOptionValue builtIn="false" value=""C:/Program Files/Java/jdk1.6.0_26/include""/>
|
||||||
<listOptionValue builtIn="false" value=""C:/Program Files/Java/jdk1.6.0_26/include/win32""/>
|
<listOptionValue builtIn="false" value=""C:/Program Files/Java/jdk1.6.0_26/include/win32""/>
|
||||||
</option>
|
</option>
|
||||||
|
|||||||
@@ -90,6 +90,30 @@
|
|||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="Windows 64Bit Debug" depends="clean, Windows Resource" description="--> Build LibusbJava-1_0.dll">
|
||||||
|
<echo level="info" message="Building Library" />
|
||||||
|
<exec dir="." executable="g++">
|
||||||
|
<arg value="-Wall" />
|
||||||
|
<arg value="-Wno-write-strings" />
|
||||||
|
<arg value="-D_JNI_IMPLEMENTATION_" />
|
||||||
|
<arg value="-Wl,--kill-at" />
|
||||||
|
<arg value="-O0" />
|
||||||
|
<arg value="-g" />
|
||||||
|
<arg value="-mwindows" />
|
||||||
|
<arg value="-static" />
|
||||||
|
<arg value="-shared" />
|
||||||
|
<arg value="-IC:/Program Files/Java/jdk${java.version}/include" />
|
||||||
|
<arg value="-IC:/Program Files/Java/jdk${java.version}/include/win32" />
|
||||||
|
<arg value="-I${basedir}" />
|
||||||
|
<arg value="${basedir}/LibusbJava.cpp" />
|
||||||
|
<arg value="${ver_info}" />
|
||||||
|
<arg value="-o" />
|
||||||
|
<arg value="${basedir}/out/LibusbJava-1_0.dll" />
|
||||||
|
<arg value="-L${basedir}/MinGW64/static" />
|
||||||
|
<arg value="-lusb-1.0" />
|
||||||
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="Windows Resource" description="--> Build Version resource">
|
<target name="Windows Resource" description="--> Build Version resource">
|
||||||
<property name="rc_file" value="${basedir}/out/LibusbJava.rc" />
|
<property name="rc_file" value="${basedir}/out/LibusbJava.rc" />
|
||||||
<basename property="filename" file="${rc_file}"/>
|
<basename property="filename" file="${rc_file}"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user