2003-01-07 07:07:24 +03:00
|
|
|
CMAKE_MINIMUM_REQUIRED(VERSION 1.5)
|
|
|
|
PROJECT(CTEST CXX)
|
|
|
|
|
|
|
|
SUBDIRS(Curl)
|
|
|
|
|
|
|
|
FIND_LIBRARY(CMAKE_LIBRARY NAMES CMakeLib PATHS
|
2003-01-08 06:23:55 +03:00
|
|
|
${CTEST_BINARY_DIR}/..
|
|
|
|
${CTEST_BINARY_DIR}/../Source
|
|
|
|
${CTEST_BINARY_DIR}/../../Source)
|
2003-01-07 07:07:24 +03:00
|
|
|
|
|
|
|
SET(CTEST_SRCS
|
|
|
|
../ctest.cxx
|
|
|
|
../cmCTest.cxx
|
|
|
|
cmCTestSubmit.cxx)
|
|
|
|
|
2003-01-08 06:23:55 +03:00
|
|
|
INCLUDE_DIRECTORIES(${CTEST_SOURCE_DIR}/..
|
|
|
|
${CTEST_SOURCE_DIR}/Curl)
|
2003-01-07 07:07:24 +03:00
|
|
|
|
|
|
|
ADD_DEFINITIONS(-DHAVE_CURL)
|
|
|
|
ADD_EXECUTABLE(ctest ${CTEST_SRCS})
|
|
|
|
TARGET_LINK_LIBRARIES(ctest ${CMAKE_LIBRARY} Curl)
|