[svn-r30204] Move CXX tests to C++ compiler test file

This commit is contained in:
Allen Byrne
2016-07-20 09:45:25 -05:00
parent d3b724f86a
commit a621f5f668
4 changed files with 60 additions and 44 deletions

View File

@@ -279,3 +279,13 @@ macro (HDF_README_PROPERTIES target_fortran)
${CMAKE_BINARY_DIR}/README.txt @ONLY
)
endmacro (HDF_README_PROPERTIES)
macro (HDFTEST_COPY_FILE src dest target)
add_custom_command(
OUTPUT "${dest}"
COMMAND "${CMAKE_COMMAND}"
ARGS -E copy_if_different "${src}" "${dest}"
DEPENDS "${src}"
)
list (APPEND ${target}_list "${dest}")
endmacro ()