summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig/Executable/CMakeLists.txt
blob: 4bd16202dee848931ec845b06246fcc6f0927e77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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})

# More coverage

INSTALL_TARGETS(/tmp complex)
INSTALL_PROGRAMS(/tmp complex)