root/library/system/FindACML.cmake @ 485

Revision 357, 1.1 kB (checked in by mido, 15 years ago)

mnoho zmen:
1) presun FindXXX modulu do \system
2) zalozeni dokumentace \doc\local\library_structure.dox
3) presun obsahu \tests\UI primo do \tests
4) namisto \INSTALL zalozen \install.html, je to vhodnejsi pro uzivatele WINDOWS, a snad i obecne
5) snaha o predelani veskerych UI podle nove koncepce, soubory pmsm_ui.h, arx_ui.h, KF_ui.h, libDS_ui.h, libEF_ui.h a loggers_ui.h ponechavam
jen zdokumentacnich duvodu, nic by na nich jiz nemelo zaviset, a po zkontrolovani spravnosti provedenych uprav by mely byt smazany
6) predelani estimatoru tak, aby fungoval s novym UI konceptem
7) vytazeni tridy bdmroot do samostatneho souboru \bdm\bdmroot.h
8) pridana dokumentace pro zacleneni programu ASTYLE do Visual studia, ASTYLE pridan do instalacniho balicku pro Windows

  • Property svn:eol-style set to native
Line 
1# - Find ACML
2# Find the native ACML includes and library
3# This module defines
4#  ACML_INCLUDE_DIR, where to find acml.h, etc.
5#  ACML_LIBRARIES, the libraries needed to use ACML.
6#  ACML_FOUND, If false, do not try to use ACML.
7# also defined, but not for general use are
8#  ACML_LIBRARY, where to find the ACML library.
9
10FIND_PATH(ACML_INCLUDE_DIR acml.h
11        "${ACML_DIR}\\pgi32\\include"
12 )
13
14FIND_LIBRARY(ACML_LIBRARY
15  NAMES libacml_dll
16  PATHS "${ACML_DIR}\\pgi32\\lib"
17  )
18
19IF (ACML_LIBRARY AND ACML_INCLUDE_DIR)
20    SET(ACML_LIBRARIES ${ACML_LIBRARY})
21    SET(ACML_FOUND "YES")
22ELSE (ACML_LIBRARY AND ACML_INCLUDE_DIR)
23  SET(ACML_FOUND "NO")
24ENDIF (ACML_LIBRARY AND ACML_INCLUDE_DIR)
25
26
27IF (ACML_FOUND)
28   IF (NOT ACML_FIND_QUIETLY)
29      MESSAGE(STATUS "Found ACML: ${ACML_LIBRARIES}")
30   ENDIF (NOT ACML_FIND_QUIETLY)
31ELSE (ACML_FOUND)
32   IF (ACML_FIND_REQUIRED)
33      MESSAGE(FATAL_ERROR "Could not find ACML library")
34   ENDIF (ACML_FIND_REQUIRED)
35ENDIF (ACML_FOUND)
36
37# Deprecated declarations.
38GET_FILENAME_COMPONENT (NATIVE_ACML_LIB_PATH ${ACML_LIBRARY} PATH)
39
40MARK_AS_ADVANCED(
41  ACML_LIBRARY
42  ACML_INCLUDE_DIR
43  )
Note: See TracBrowser for help on using the browser.