##// END OF EJS Templates
Improves AMDA result parsing...
Improves AMDA result parsing Finds the unit among all the commented lines, in order to handle the case where the number of commented lines differs from one file to another

File last commit:

r349:3585c3c11ab5
r492:41e897ecff03
Show More
Findsciqlop-amda.cmake
22 lines | 677 B | text/x-cmake | CMakeLexer
/ plugins / amda / cmake / Findsciqlop-amda.cmake
Alexandre Leroux
Cmakes for AMDA plugin
r349 # - Try to find sciqlop-amda
# Once done this will define
# SCIQLOP-AMDA_FOUND - System has sciqlop-amda
# SCIQLOP-AMDA_INCLUDE_DIR - The sciqlop-amda include directories
# SCIQLOP-AMDA_LIBRARIES - The libraries needed to use sciqlop-amda
if(SCIQLOP-AMDA_FOUND)
return()
endif(SCIQLOP-AMDA_FOUND)
set(SCIQLOP-AMDA_INCLUDE_DIR ${sciqlop-amda_DIR}/../include)
set (OS_LIB_EXTENSION "so")
if(WIN32)
set (OS_LIB_EXTENSION "dll")
endif(WIN32)
# TODO: Add Mac Support
set(SCIQLOP-AMDA_LIBRARIES_NAME "libsciqlop_amda${DEBUG_SUFFIX}.${OS_LIB_EXTENSION}")
set(SCIQLOP-AMDA_LIBRARIES "${LIBRARY_OUTPUT_PATH}/${SCIQLOP-AMDA_LIBRARIES_NAME}")
set(SCIQLOP-AMDA_FOUND TRUE)