diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-10-12 17:17:30 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-10-17 16:21:12 -0400 |
commit | 145a4af8d3812fbd6a28f27e6fd4bb4d60d715af (patch) | |
tree | 270027ee7d1da41684b72a1b7f9ac84b3db27d9d /Tests/CompileDefinitions/compiletest.cpp | |
parent | e2d141d47410ad17ba2b63fd32a61cead8a50606 (diff) | |
download | cmake-145a4af8d3812fbd6a28f27e6fd4bb4d60d715af.tar.gz |
GenEx: Test the use of generator expressions to generate lists.
We can't test this in the GeneratorExpression unit test because
the ';' chars are processed specically by the CMake function argument
parser.
Diffstat (limited to 'Tests/CompileDefinitions/compiletest.cpp')
-rw-r--r-- | Tests/CompileDefinitions/compiletest.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/CompileDefinitions/compiletest.cpp b/Tests/CompileDefinitions/compiletest.cpp index 4a68a0750c..f18e59e67c 100644 --- a/Tests/CompileDefinitions/compiletest.cpp +++ b/Tests/CompileDefinitions/compiletest.cpp @@ -34,6 +34,15 @@ enum { #ifdef GE_NOT_DEFINED #error Expect not defined generator expression #endif + +#ifndef ARGUMENT +#error Expected define expanded from list +#endif +#ifndef LIST +#error Expected define expanded from list +#endif + +// TEST_GENERATOR_EXPRESSIONS #endif int main(int argc, char **argv) |