mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-03 18:24:02 +08:00
Fixed the bad fix - now the unsupported examples and snippets work on windows.
This commit is contained in:
parent
9a8c16810b
commit
494a88685e
@ -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
|
||||
|
@ -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;
|
||||
|
@ -1,4 +1,6 @@
|
||||
#warning deprecated
|
||||
#ifndef _MSC_VER
|
||||
#warning deprecated
|
||||
#endif
|
||||
/*
|
||||
Matrix3d m = Matrix3d::Zero();
|
||||
m.part<Eigen::UpperTriangular>().setOnes();
|
||||
|
@ -1,4 +1,6 @@
|
||||
#warning deprecated
|
||||
#ifndef _MSC_VER
|
||||
#warning deprecated
|
||||
#endif
|
||||
/*
|
||||
Matrix3d m = Matrix3d::Zero();
|
||||
m.part<Eigen::StrictlyUpperTriangular>().setOnes();
|
||||
|
@ -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)
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user