2011-05-06 04:25:32 -05:00
|
|
|
PROJECT(PARSEDRIVESPICE)
|
|
|
|
|
|
|
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0)
|
|
|
|
|
|
|
|
SET(CMAKE_MODULE_PATH "$ENV{VLSISAPD_USER_TOP}/share/cmake/Modules"
|
|
|
|
"$ENV{VLSISAPD_TOP}/share/cmake/Modules"
|
|
|
|
)
|
|
|
|
|
|
|
|
FIND_PACKAGE(VLSISAPD REQUIRED)
|
|
|
|
|
|
|
|
IF(SPICE_FOUND)
|
|
|
|
INCLUDE_DIRECTORIES(${SPICE_INCLUDE_DIR})
|
2011-05-10 06:10:34 -05:00
|
|
|
ADD_EXECUTABLE(driveSpice driveSpice.cpp)
|
2011-05-06 04:25:32 -05:00
|
|
|
ADD_EXECUTABLE(parseSpice parseSpice.cpp)
|
2011-05-10 06:10:34 -05:00
|
|
|
TARGET_LINK_LIBRARIES(driveOpenChams ${SPICE_LIBRARY})
|
2011-05-06 04:25:32 -05:00
|
|
|
TARGET_LINK_LIBRARIES(parseOpenChams ${SPICE_LIBRARY})
|
|
|
|
ENDIF(SPICE_FOUND)
|