blob: 15808b443039f6540cdcd0da4a5d7b6abe361710 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
ADD_EXECUTABLE(complex complex)
TARGET_LINK_LIBRARIES(complex CMakeTestLibrary)
TARGET_LINK_LIBRARIES(complex CMakeTestLibraryShared)
FIND_LIBRARY(CMAKE_LIB
CMakeLib
${Complex_BINARY_DIR}/../../Source
${Complex_BINARY_DIR}/../../Source/Debug
${Complex_BINARY_DIR}/../../Source/Release
${Complex_BINARY_DIR}/../../Source/MinSizeRel
${Complex_BINARY_DIR}/../../Source/RelWithDebInfo)
TARGET_LINK_LIBRARIES(complex ${CMAKE_LIB})
LINK_LIBRARIES(${CMAKE_LIB})
#
# Testing
#
ADD_TEST(complex ${Complex_BINARY_DIR}/bin/complex)
#
# More coverage
#
INSTALL_TARGETS(/tmp complex)
INSTALL_PROGRAMS(/tmp complex)
|