diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-02-11 16:41:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-02-12 16:17:38 (GMT) |
commit | c248a437c47b4419fd955d4b1f406f7c8b9dcd74 (patch) | |
tree | 37a953da5b8130fdde1e36e9c731930c161fd896 /Tests/RunCMake/CMP0049/empty.cpp | |
parent | 418a155be7e44117297c072b6aa0f21f4407c052 (diff) | |
download | CMake-c248a437c47b4419fd955d4b1f406f7c8b9dcd74.zip CMake-c248a437c47b4419fd955d4b1f406f7c8b9dcd74.tar.gz CMake-c248a437c47b4419fd955d4b1f406f7c8b9dcd74.tar.bz2 |
Add policy CMP0049 to avoid variable expansion in source lists
Diffstat (limited to 'Tests/RunCMake/CMP0049/empty.cpp')
-rw-r--r-- | Tests/RunCMake/CMP0049/empty.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0049/empty.cpp b/Tests/RunCMake/CMP0049/empty.cpp new file mode 100644 index 0000000..bfbbdde --- /dev/null +++ b/Tests/RunCMake/CMP0049/empty.cpp @@ -0,0 +1,7 @@ +#ifdef _WIN32 +__declspec(dllexport) +#endif +int empty() +{ + return 0; +} |