mirror of
https://github.com/reactos/CMake.git
synced 2024-12-08 11:56:25 +00:00
229b67a249
This test checks that configure_file() handles input and output file arguments as documented.
17 lines
416 B
CMake
17 lines
416 B
CMake
set(DirInput-RESULT 1)
|
|
set(DirInput-STDERR "is a directory")
|
|
set(DirOutput-RESULT 0)
|
|
set(DirOutput-STDERR "DirOutput test file")
|
|
set(Relative-RESULT 0)
|
|
set(Relative-STDERR "Relative test file")
|
|
set(BadArg-RESULT 1)
|
|
set(BadArg-STDERR "called with incorrect number of arguments")
|
|
|
|
include("@CMAKE_CURRENT_SOURCE_DIR@/CheckCMakeTest.cmake")
|
|
check_cmake_test(ConfigureFile
|
|
DirInput
|
|
DirOutput
|
|
Relative
|
|
BadArg
|
|
)
|