From 494a88685ee995b34da0f3b79a68fa06c0ee63ff Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Fri, 11 Dec 2009 19:39:01 +0100 Subject: Fixed the bad fix - now the unsupported examples and snippets work on windows. --- doc/CMakeLists.txt | 2 +- doc/snippets/MatrixBase_extract.cpp | 4 +++- doc/snippets/MatrixBase_marked.cpp | 4 +++- doc/snippets/MatrixBase_part.cpp | 4 +++- 4 files changed, 10 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 1d20a6075..af756a516 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -63,7 +63,7 @@ add_custom_target( ) add_dependencies(doc-eigen-prerequisites all_snippets all_examples) -# add_dependencies(doc-unsupported-prerequisites unsupported_snippets unsupported_examples) +add_dependencies(doc-unsupported-prerequisites unsupported_snippets unsupported_examples) add_custom_target(doc ALL COMMAND doxygen Doxyfile-unsupported COMMAND doxygen diff --git a/doc/snippets/MatrixBase_extract.cpp b/doc/snippets/MatrixBase_extract.cpp index a5ccd7574..c96220f72 100644 --- a/doc/snippets/MatrixBase_extract.cpp +++ b/doc/snippets/MatrixBase_extract.cpp @@ -1,4 +1,6 @@ -#warning deprecated +#ifndef _MSC_VER + #warning deprecated +#endif /* deprecated Matrix3i m = Matrix3i::Random(); cout << "Here is the matrix m:" << endl << m << endl; diff --git a/doc/snippets/MatrixBase_marked.cpp b/doc/snippets/MatrixBase_marked.cpp index f536773c9..f60712178 100644 --- a/doc/snippets/MatrixBase_marked.cpp +++ b/doc/snippets/MatrixBase_marked.cpp @@ -1,4 +1,6 @@ -#warning deprecated +#ifndef _MSC_VER + #warning deprecated +#endif /* Matrix3d m = Matrix3d::Zero(); m.part().setOnes(); diff --git a/doc/snippets/MatrixBase_part.cpp b/doc/snippets/MatrixBase_part.cpp index 81e66c4cd..d3e7f482e 100644 --- a/doc/snippets/MatrixBase_part.cpp +++ b/doc/snippets/MatrixBase_part.cpp @@ -1,4 +1,6 @@ -#warning deprecated +#ifndef _MSC_VER + #warning deprecated +#endif /* Matrix3d m = Matrix3d::Zero(); m.part().setOnes(); -- cgit v1.2.3