# # $Id: FindNIDAQ.cmake,v 1.4 2007/04/26 19:33:56 anton Exp $ # # Author(s): Ankur Kapoor # Created on: 2004-05-27 # # (C) Copyright 2004-2007 Johns Hopkins University (JHU), All Rights # Reserved. # # --- begin cisst license - do not edit --- # # This software is provided "as is" under an open source license, with # no warranty. The complete license can be found in license.txt and # http://www.cisst.org/cisst/license.txt. # # --- end cisst license --- # # try to find NIDAQ on Windows systems. # (National Instrument) # # The following values are defined # # NIDAQ_INCLUDE_DIR - include directories to use MEI # NIDAQ_LIBRARIES - link against this to use MEI # # $Id: FindNIDAQ.cmake,v 1.4 2007/04/26 19:33:56 anton Exp $ # IF(WIN32) # Find the NI-DAQ Libraries FIND_LIBRARY(NIDAQ_LIBRARY_NIDAQ NAMES nidaq32 PATHS "C:/Program Files/National Instruments/NI-DAQ/Lib" ${NI_DAQ_LIBRARY}/*) FIND_LIBRARY(NIDAQ_LIBRARY_NIDEX NAMES nidex32 PATHS "C:/Program Files/National Instruments/NI-DAQ/Lib" ${NI_DAQ_LIBRARY}/*) SET(NIDAQ_LIBRARIES ${NIDAQ_LIBRARY_NIDAQ} ${NIDAQ_LIBRARY_NIDEX}) # Find the NI-DAQ include directory FIND_PATH(NIDAQ_INCLUDE_DIR nidaq.h "C:/Program Files/National Instruments/NI-DAQ/Include" ${NI_DAQ_LIBRARY_PATH}/include/) ENDIF(WIN32) # # $Log: FindNIDAQ.cmake,v $ # Revision 1.4 2007/04/26 19:33:56 anton # All files in libraries: Applied new license text, separate copyright and # updated dates, added standard header where missing. # # Revision 1.3 2006/11/20 20:33:19 anton # Licensing: Applied new license to cisstCommon, cisstVector, cisstNumerical, # cisstInteractive, cisstImage and cisstOSAbstraction. # # Revision 1.2 2005/09/06 13:58:53 anton # cmake files: Added license. # # Revision 1.1 2004/05/27 17:09:25 anton # Incorporated code from Ankur for the ATI, MEI, STG and LoPoMoCo devices. # The build process will have to be redone whenever will will add dynamic # loading. # #