diff options
author | Brad King <brad.king@kitware.com> | 2006-10-02 15:14:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-10-02 15:14:00 (GMT) |
commit | 1d9f287af758b4a9cf8c35463ce98af1169cccf6 (patch) | |
tree | 6b437cb7c5e9de4ae2ea2d7c357095a2026b0e9a /Tests/ComplexOneConfig/Library/notInAllLib.cxx | |
parent | 603b47c87a6b7bbf99dfd13e4b874ee51e528434 (diff) | |
download | CMake-1d9f287af758b4a9cf8c35463ce98af1169cccf6.zip CMake-1d9f287af758b4a9cf8c35463ce98af1169cccf6.tar.gz CMake-1d9f287af758b4a9cf8c35463ce98af1169cccf6.tar.bz2 |
ENH: Added NOT_IN_ALL option for ADD_LIBRARY and ADD_EXECUTABLE to avoid building the targets by default.
Diffstat (limited to 'Tests/ComplexOneConfig/Library/notInAllLib.cxx')
-rw-r--r-- | Tests/ComplexOneConfig/Library/notInAllLib.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/Library/notInAllLib.cxx b/Tests/ComplexOneConfig/Library/notInAllLib.cxx new file mode 100644 index 0000000..5d928f4 --- /dev/null +++ b/Tests/ComplexOneConfig/Library/notInAllLib.cxx @@ -0,0 +1,5 @@ +int notInAllLibFunc() { return 0; } + +#if 1 +# error "This target should not be compiled by ALL." +#endif |