blob: f59146289eb4b3b5600ac20797d5c8337884be05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
CMAKE_MINIMUM_REQUIRED(VERSION 1.5)
PROJECT(CTEST CXX)
SUBDIRS(Curl)
FIND_LIBRARY(CMAKE_LIBRARY NAMES CMakeLib PATHS
${CTEST_BINARY_DIR}/..
${CTEST_BINARY_DIR}/../Source
${CTEST_BINARY_DIR}/../../Source)
SET(CTEST_SRCS
../ctest.cxx
../cmCTest.cxx
cmCTestSubmit.cxx)
INCLUDE_DIRECTORIES(${CTEST_SOURCE_DIR}/..
${CTEST_SOURCE_DIR}/Curl)
ADD_DEFINITIONS(-DHAVE_CURL)
ADD_EXECUTABLE(ctest ${CTEST_SRCS})
TARGET_LINK_LIBRARIES(ctest ${CMAKE_LIBRARY} Curl)
|