Build: Ensure compilers required directory structure is present. (#662)

The compiler test requires that directories named "includeTestDirectory" and "secondIncludeTestDirectory" are present with the binary.
This commit is contained in:
Jeremy Kemp
2020-03-07 14:36:53 +00:00
committed by GitHub
parent bbbc27e6df
commit 4b281af946

View File

@@ -220,8 +220,8 @@ endif(WIN32)
# as required for the compiler testing.
# ... For running the compiler test on the command line.
file(COPY "${CLConform_SOURCE_DIR}/test_conformance/compiler/includeTestDirectory" DESTINATION ${DST_DIR})
file(COPY "${CLConform_SOURCE_DIR}/test_conformance/compiler/secondIncludeTestDirectory" DESTINATION ${DST_DIR})
file(COPY "${CLConform_SOURCE_DIR}/test_conformance/compiler/includeTestDirectory" DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/test_conformance/compiler)
file(COPY "${CLConform_SOURCE_DIR}/test_conformance/compiler/secondIncludeTestDirectory" DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/test_conformance/compiler)
# ... For running the compiler test with VisualStudio.
if(MSVC)