Fixed the bad fix - now the unsupported examples and snippets work on windows.

This commit is contained in:
Hauke Heibel 2009-12-11 19:39:01 +01:00
parent 9a8c16810b
commit 494a88685e
6 changed files with 13 additions and 11 deletions

View File

@ -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

View File

@ -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;

View File

@ -1,4 +1,6 @@
#warning deprecated
#ifndef _MSC_VER
#warning deprecated
#endif
/*
Matrix3d m = Matrix3d::Zero();
m.part<Eigen::UpperTriangular>().setOnes();

View File

@ -1,4 +1,6 @@
#warning deprecated
#ifndef _MSC_VER
#warning deprecated
#endif
/*
Matrix3d m = Matrix3d::Zero();
m.part<Eigen::StrictlyUpperTriangular>().setOnes();

View File

@ -1,8 +1,4 @@
set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL TRUE)
if(NOT MSVC)
add_subdirectory(examples)
add_subdirectory(snippets)
endif(NOT MSVC)
add_subdirectory(examples)
add_subdirectory(snippets)

View File

@ -4,7 +4,7 @@ using namespace Eigen;
int main()
{
const double pi = std::acos(-1);
const double pi = std::acos(-1.0);
MatrixXd A(3,3);
A << 0, -pi/4, 0,