* All tools:

- Change: adopt a tree layout compliant with the UNIX FHS.
        * includes under      TOP/include/coriolis2.
        * shared datas under  TOP/shared/coriolis2.
        * docs under          TOP/share/doc/coriolis2.
        * configuration under TOP/etc/coriolis2

  * ./crlcore:
    - Change: In Environment, comply to the new tree layout, search configuration
        files under TOP/etc/coriolis2/.

  * ./knik:
    - Change: In flute, comply to the new tree layout, get the "POW*.dat" files
        from TOP/share/coriolis2/flute-2.4.
This commit is contained in:
Jean-Paul Chaput 2010-05-18 12:52:57 +00:00
parent e468caf46c
commit 3af2b0694f
3 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@ PROJECT(IO)
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0)
LIST(INSERT CMAKE_MODULE_PATH 0 "${IO_SOURCE_DIR}/cmake_modules/")
LIST(INSERT CMAKE_MODULE_PATH 0 "${IO_SOURCE_DIR}/cmake/Modules/")
FIND_PACKAGE(LibXml2 REQUIRED)

View File

@ -1 +1 @@
install(FILES FindIO.cmake DESTINATION share/cmake_modules)
install(FILES FindIO.cmake DESTINATION share/cmake/Modules)

View File

@ -34,22 +34,22 @@ SETUP_SEARCH_DIR(IO)
IF(IO_DIR_SEARCH)
# AGDS
FIND_PATH (AGDS_INCLUDE_DIR NAMES io/agds/GdsLibrary.h PATHS ${IO_DIR_SEARCH} PATH_SUFFIXES include)
FIND_PATH (AGDS_INCLUDE_DIR NAMES agds/GdsLibrary.h PATHS ${IO_DIR_SEARCH} PATH_SUFFIXES include/io include)
FIND_LIBRARY(AGDS_LIBRARY NAMES agds PATHS ${IO_DIR_SEARCH} PATH_SUFFIXES lib)
SET_FOUND(AGDS)
# CIF
FIND_PATH (CIF_INCLUDE_DIR NAMES io/cif/CifCircuit.h PATHS ${IO_DIR_SEARCH} PATH_SUFFIXES include)
FIND_PATH (CIF_INCLUDE_DIR NAMES cif/CifCircuit.h PATHS ${IO_DIR_SEARCH} PATH_SUFFIXES include/io include)
FIND_LIBRARY(CIF_LIBRARY NAMES cif PATHS ${IO_DIR_SEARCH} PATH_SUFFIXES lib)
SET_FOUND(CIF)
# OPENCHAMS
FIND_PATH (OPENCHAMS_INCLUDE_DIR NAMES io/openChams/Circuit.h PATHS ${IO_DIR_SEARCH} PATH_SUFFIXES include)
FIND_PATH (OPENCHAMS_INCLUDE_DIR NAMES openChams/Circuit.h PATHS ${IO_DIR_SEARCH} PATH_SUFFIXES include/io include)
FIND_LIBRARY(OPENCHAMS_LIBRARY NAMES openChams PATHS ${IO_DIR_SEARCH} PATH_SUFFIXES lib)
SET_FOUND(OPENCHAMS)
# DTR
FIND_PATH (DTR_INCLUDE_DIR NAMES io/dtr/Techno.h PATHS ${IO_DIR_SEARCH} PATH_SUFFIXES include)
FIND_PATH (DTR_INCLUDE_DIR NAMES dtr/Techno.h PATHS ${IO_DIR_SEARCH} PATH_SUFFIXES include/io include)
FIND_LIBRARY(DTR_LIBRARY NAMES dtr PATHS ${IO_DIR_SEARCH} PATH_SUFFIXES lib)
SET_FOUND(DTR)