mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
add a test for escape quotes and configure file
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "cmTestConfigure.h"
|
||||
#include "cmTestConfigureEscape.h"
|
||||
#include "cmVersion.h"
|
||||
#include "ExtraSources/file1.h"
|
||||
#include "file2.h"
|
||||
@@ -678,6 +679,18 @@ int main()
|
||||
{
|
||||
cmFailed("SEPARATE_ARGUMENTS is not working");
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Test Escape Quotes
|
||||
if(strcmp("\"hello world\"", STRING_WITH_QUOTES) == 0)
|
||||
{
|
||||
cmPassed("ESCAPE_QUOTES is working");
|
||||
}
|
||||
else
|
||||
{
|
||||
cmFailed("ESCAPE_QUOTES is not working");
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Summary
|
||||
|
||||
|
||||
Reference in New Issue
Block a user