removed old code

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@702 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Matthias Möller
2012-09-24 15:22:29 +00:00
parent 61eef1a1d7
commit cbe0094b81

View File

@@ -59,18 +59,6 @@ if ( OPENMESH_BUILD_UNIT_TESTS )
${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/unittests.exe ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/unittests.exe
${CMAKE_BINARY_DIR}/Unittests/unittests.exe) ${CMAKE_BINARY_DIR}/Unittests/unittests.exe)
# If OpenMesh is build as a shared library, we need to copy the dlls to the directory for the unittests!
if ( OPENMESH_BUILD_SHARED )
#!!!! Experimental Feature!!!
add_custom_command (TARGET unittests POST_BUILD
COMMAND ${CMAKE_COMMAND} -E
copy_if_different
${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_BINDIR}/OpenMesh*.dll
${CMAKE_BINARY_DIR}/Unittests/)
message("Copy from ${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_BINDIR}/OpenMesh*.dll to ${CMAKE_BINARY_DIR}/Unittests/")
endif()
endif() endif()
if ( OPENMESH_BUILD_SHARED ) if ( OPENMESH_BUILD_SHARED )