Changeset 1625 for trunk/bindings


Ignore:
Timestamp:
05/08/11 16:25:35 (10 months ago)
Author:
Stephen Rankin
Message:

More updates for Windows build. ref#236.

Location:
trunk/bindings
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bindings/CMakeLists.txt

    r1606 r1625  
     1## Process this file with cmake 
     2#==================================================================== 
     3#  NeXus - Neutron & X-ray Common Data Format 
     4 
     5#  CMakeLists for building the NeXus library and applications. 
     6# 
     7#  Copyright (C) 2011 Stephen Rankin 
     8 
     9#  This library is free software; you can redistribute it and/or 
     10#  modify it under the terms of the GNU Lesser General Public 
     11#  License as published by the Free Software Foundation; either 
     12#  version 2 of the License, or (at your option) any later version. 
     13#  
     14#  This library is distributed in the hope that it will be useful, 
     15#  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
     17#  Lesser General Public License for more details. 
     18#  
     19#  You should have received a copy of the GNU Lesser General Public 
     20#  License along with this library; if not, write to the Free  
     21#  Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,  
     22#  MA  02111-1307  USA 
     23#              
     24#  For further information, see <http://www.neutron.anl.gov/NeXus/> 
     25# 
     26# 
     27#==================================================================== 
    128# Recurse into the subdirectories. 
    229add_subdirectory (cpp) 
     
    835add_subdirectory (java) 
    936#add_subdirectory (matlab) 
    10 add_subdirectory (python) 
     37if (PYTHONINTERP_FOUND) 
     38    add_subdirectory (python) 
     39endif (PYTHONINTERP_FOUND) 
    1140#add_subdirectory (swig) 
  • trunk/bindings/java/CMakeLists.txt

    r1618 r1625  
    103103        ADD_CUSTOM_COMMAND(  
    104104            OUTPUT    ${JNI_HEADER} 
    105             COMMAND   ${JAVA_NATIVE} 
     105            COMMAND   ${Java_JNI_EXECUTABLE} 
    106106            ARGS      -jni -d native -classpath . org.nexusformat.NexusFile 
    107107            DEPENDS   ${JAR_ARCHIVE} 
     
    111111        ADD_CUSTOM_COMMAND(  
    112112            OUTPUT    ${JAVA_DOCS} 
    113             COMMAND   ${JAVA_DOC} 
     113            COMMAND   ${Java_DOC_EXECUTABLE} 
    114114            ARGS      -d ${JAVA_DOCS} -windowtitle jnexus -doctitle jnexus -classpath .  
    115115                      -sourcepath ${CMAKE_SOURCE_DIR}/bindings/java org.nexusformat ncsa.hdf.hdflib 
     
    135135 
    136136        TARGET_LINK_LIBRARIES(jnexus NeXus_Shared_Library ${HDF5_LIBRARIES} 
    137                       ${MXML_LINK} ${READLINE_LINK} ${M_LINK} ${DF_LINK} 
     137                      ${READLINE_LINK} ${M_LINK} ${DF_LINK} 
    138138                      ${DL_LINK} ${PTHREAD_LINK} ${TERMCAP_LINK} ${HDF4_LINK} 
    139139                      ${HISTORY_LINK} ${JPEG_LIBRARIES} ${ZIP_LIB} ${SZIP_LIB} 
Note: See TracChangeset for help on using the changeset viewer.