mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-01 04:03:24 +03:00
Tests: Run ctest custom commands with VERBATIM
This commit is contained in:
1 parent
5b2fba5d40
commit
cf8645e82d
2 files changed
+6
-3
No files matched your search
@@ -43,7 +43,8 @@ add_custom_command(
|
||||
--build-generator ${CMAKE_GENERATOR}
|
||||
--build-makeprogram ${CMAKE_MAKE_PROGRAM}
|
||||
--build-options -C${ExportImport_BINARY_DIR}/InitialCache.cmake
|
||||
)
|
||||
VERBATIM
|
||||
)
|
||||
add_custom_target(ExportTarget ALL DEPENDS ${ExportImport_BINARY_DIR}/ExportProject)
|
||||
add_dependencies(ExportTarget CleanupTarget)
|
||||
set_property(
|
||||
@@ -63,7 +64,8 @@ add_custom_command(
|
||||
--build-generator ${CMAKE_GENERATOR}
|
||||
--build-makeprogram ${CMAKE_MAKE_PROGRAM}
|
||||
--build-options -C${ExportImport_BINARY_DIR}/InitialCache.cmake
|
||||
)
|
||||
VERBATIM
|
||||
)
|
||||
add_custom_target(ImportTarget ALL DEPENDS ${ExportImport_BINARY_DIR}/ImportProject)
|
||||
add_dependencies(ImportTarget ExportTarget)
|
||||
set_property(
|
||||
|
||||
@@ -205,7 +205,8 @@ if(TEST_MODULE_DEPENDS)
|
||||
-DCMAKE_Fortran_FLAGS_MINSIZEREL:STRING=${CMAKE_Fortran_FLAGS_MINSIZEREL}
|
||||
-DCMAKE_Fortran_FLAGS_RELWITHDEBINFO:STRING=${CMAKE_Fortran_FLAGS_RELWITHDEBINFO}
|
||||
${External_BUILD_TYPE}
|
||||
)
|
||||
VERBATIM
|
||||
)
|
||||
add_custom_target(ExternalTarget ALL DEPENDS ${testf_BINARY_DIR}/ExternalProject)
|
||||
|
||||
# Test module output directory if available.
|
||||
|
||||
Reference in new issue
Block a user