complex test needs the dll
This commit is contained in:
parent
2fc458ecce
commit
c4076fb287
@ -16,6 +16,16 @@ ADD_EXECUTABLE(complex complex)
|
|||||||
TARGET_LINK_LIBRARIES(complex
|
TARGET_LINK_LIBRARIES(complex
|
||||||
CMakeLib)
|
CMakeLib)
|
||||||
|
|
||||||
|
IF(WIN32)
|
||||||
|
# we must copy the dll to the correct location
|
||||||
|
FIND_FILE(CMAKE_DLL CMakeLib.dll ${Complex_BINARY_DIR}/../../Source ${Complex_BINARY_DIR}/../../Source/Debug)
|
||||||
|
IF (CMAKE_DLL)
|
||||||
|
CONFIGURE_FILE(
|
||||||
|
${CMAKE_DLL}
|
||||||
|
${Complex_BINARY_DIR}/CMakeLib.dll COPYONLY)
|
||||||
|
ENDIF (CMAKE_DLL)
|
||||||
|
ENDIF (WIN32)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Output the files required by 'complex' to a file.
|
# Output the files required by 'complex' to a file.
|
||||||
#
|
#
|
||||||
|
@ -16,6 +16,16 @@ ADD_EXECUTABLE(complex complex)
|
|||||||
TARGET_LINK_LIBRARIES(complex
|
TARGET_LINK_LIBRARIES(complex
|
||||||
CMakeLib)
|
CMakeLib)
|
||||||
|
|
||||||
|
IF(WIN32)
|
||||||
|
# we must copy the dll to the correct location
|
||||||
|
FIND_FILE(CMAKE_DLL CMakeLib.dll ${Complex_BINARY_DIR}/../../Source ${Complex_BINARY_DIR}/../../Source/Debug)
|
||||||
|
IF (CMAKE_DLL)
|
||||||
|
CONFIGURE_FILE(
|
||||||
|
${CMAKE_DLL}
|
||||||
|
${Complex_BINARY_DIR}/CMakeLib.dll COPYONLY)
|
||||||
|
ENDIF (CMAKE_DLL)
|
||||||
|
ENDIF (WIN32)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Output the files required by 'complex' to a file.
|
# Output the files required by 'complex' to a file.
|
||||||
#
|
#
|
||||||
|
@ -16,6 +16,16 @@ ADD_EXECUTABLE(complex complex)
|
|||||||
TARGET_LINK_LIBRARIES(complex
|
TARGET_LINK_LIBRARIES(complex
|
||||||
CMakeLib)
|
CMakeLib)
|
||||||
|
|
||||||
|
IF(WIN32)
|
||||||
|
# we must copy the dll to the correct location
|
||||||
|
FIND_FILE(CMAKE_DLL CMakeLib.dll ${Complex_BINARY_DIR}/../../Source ${Complex_BINARY_DIR}/../../Source/Debug)
|
||||||
|
IF (CMAKE_DLL)
|
||||||
|
CONFIGURE_FILE(
|
||||||
|
${CMAKE_DLL}
|
||||||
|
${Complex_BINARY_DIR}/CMakeLib.dll COPYONLY)
|
||||||
|
ENDIF (CMAKE_DLL)
|
||||||
|
ENDIF (WIN32)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Output the files required by 'complex' to a file.
|
# Output the files required by 'complex' to a file.
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user