From: <and...@us...> - 2008-01-17 23:04:03
|
Revision: 8141 http://plplot.svn.sourceforge.net/plplot/?rev=8141&view=rev Author: andrewross Date: 2008-01-17 15:04:02 -0800 (Thu, 17 Jan 2008) Log Message: ----------- Generate PLStream.java so it uses float for single precision. Modified Paths: -------------- trunk/bindings/java/CMakeLists.txt Modified: trunk/bindings/java/CMakeLists.txt =================================================================== --- trunk/bindings/java/CMakeLists.txt 2008-01-17 19:50:45 UTC (rev 8140) +++ trunk/bindings/java/CMakeLists.txt 2008-01-17 23:04:02 UTC (rev 8141) @@ -31,8 +31,8 @@ # Full list of generated java files set(JAVA_GEN_FILES config.java + ${SWIG_JAVA_FILES} PLStream.java - ${SWIG_JAVA_FILES} ) # All source files set(JAVA_FILES @@ -50,7 +50,6 @@ string( REGEX REPLACE "([a-zA-z]*)\\.java" "${CMAKE_CURRENT_BINARY_DIR}/plplot/core/\\1.class" JAVA_CLASSES "${JAVA_FILES}" ) set(JAVA_FILES_FULL ${JAVA_GEN_FILES_FULL} - ${CMAKE_CURRENT_SOURCE_DIR}/PLStream.java ) # Create config.java @@ -59,7 +58,13 @@ ${CMAKE_CURRENT_BINARY_DIR}/config.java ) -# Creat PLStream.java +if(PL_DOUBLE) + set(PLFLT double) +else(PL_DOUBLE) + set(PLFLT float) +endif(PL_DOUBLE) + +# Create PLStream.java configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/PLStream.java.in ${CMAKE_CURRENT_BINARY_DIR}/PLStream.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |