2002-01-20 05:24:55 +03:00
|
|
|
#
|
|
|
|
# Create exe.
|
|
|
|
#
|
2001-08-23 21:57:45 +04:00
|
|
|
ADD_EXECUTABLE(complex complex)
|
2002-01-19 03:21:43 +03:00
|
|
|
|
2002-03-06 18:11:58 +03:00
|
|
|
SET(COMPLEX_LIBS CMakeTestLibrary;CMakeTestLibraryShared)
|
|
|
|
TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS})
|
2001-08-23 21:57:45 +04:00
|
|
|
|
2002-01-20 05:24:55 +03:00
|
|
|
#
|
|
|
|
# Link to CMake lib
|
|
|
|
#
|
2002-01-19 03:21:43 +03:00
|
|
|
FIND_LIBRARY(CMAKE_LIB
|
2002-03-26 22:41:33 +03:00
|
|
|
CMakeLib
|
|
|
|
${Wrapping_BINARY_DIR}/../../Source/${CMAKE_CFG_INTDIR})
|
2002-01-19 03:21:43 +03:00
|
|
|
|
2002-01-20 09:58:57 +03:00
|
|
|
# Specify the same one for debug/optimized to increase coverage
|
|
|
|
TARGET_LINK_LIBRARIES(complex
|
|
|
|
${CMAKE_LIB}
|
|
|
|
debug ${CMAKE_LIB}
|
|
|
|
optimized ${CMAKE_LIB})
|
2002-01-19 03:21:43 +03:00
|
|
|
|
2002-01-20 08:12:27 +03:00
|
|
|
#
|
|
|
|
# Output the files required by 'complex' to a file.
|
|
|
|
#
|
2002-01-22 21:30:06 +03:00
|
|
|
# This test has been moved to the 'required' subdir so that it
|
|
|
|
# has no side-effects on the current Makefile (duplicated source file
|
|
|
|
# due to source list expansion done twice).
|
|
|
|
#
|
2002-01-22 23:57:40 +03:00
|
|
|
SUBDIRS(Temp)
|
2002-01-20 08:12:27 +03:00
|
|
|
|
2002-01-19 04:32:06 +03:00
|
|
|
#
|
2002-01-20 05:24:55 +03:00
|
|
|
# Extra coverage.Not used.
|
2002-01-19 04:32:06 +03:00
|
|
|
#
|
2002-01-19 03:21:43 +03:00
|
|
|
INSTALL_TARGETS(/tmp complex)
|
|
|
|
INSTALL_PROGRAMS(/tmp complex)
|
2002-01-20 05:24:55 +03:00
|
|
|
|
|
|
|
SOURCE_GROUP(A_GROUP ".cxx")
|
2002-01-20 08:12:27 +03:00
|
|
|
|