diff options
author | Brad King <brad.king@kitware.com> | 2009-02-24 19:32:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-24 19:32:31 (GMT) |
commit | ff32962a682387ada24a7485a1bd21a3fc1b19d4 (patch) | |
tree | 40e54183224937af5d68cf6c26bf4feff6cefed1 /Tests/Fortran/include | |
parent | 66f2edbe635b6f0ae740a1a614cbddc831ce383e (diff) | |
download | CMake-ff32962a682387ada24a7485a1bd21a3fc1b19d4.zip CMake-ff32962a682387ada24a7485a1bd21a3fc1b19d4.tar.gz CMake-ff32962a682387ada24a7485a1bd21a3fc1b19d4.tar.bz2 |
ENH: Test included header in Fortran preprocessing
This extends the Fortran preprocessing test to include a header file
through a preprocessor directive.
Diffstat (limited to 'Tests/Fortran/include')
-rw-r--r-- | Tests/Fortran/include/test_preprocess.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/Fortran/include/test_preprocess.h b/Tests/Fortran/include/test_preprocess.h new file mode 100644 index 0000000..29ac4b6 --- /dev/null +++ b/Tests/Fortran/include/test_preprocess.h @@ -0,0 +1,5 @@ +#ifdef BAR + PRINT * , 'BAR was defined via ADD_DEFINITIONS' +#else + PRINT *, 'If you can read this something went wrong' +#endif |