mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-11-27 06:30:28 +08:00
rename src/ to Eigen/ so that we're able to #include<Eigen/Core.h>
in the examples instead of ugly things like #include"../../src/Core.h"
This commit is contained in:
parent
647a817b2e
commit
a52c74095f
@ -13,6 +13,6 @@ endif (CMAKE_COMPILER_IS_GNUCXX)
|
|||||||
|
|
||||||
include_directories( ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} )
|
include_directories( ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} )
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(Eigen)
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
add_subdirectory(doc)
|
add_subdirectory(doc)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// g++ -O3 -DNDEBUG benchmark.cpp -o benchmark && time ./benchmark
|
// g++ -O3 -DNDEBUG benchmark.cpp -o benchmark && time ./benchmark
|
||||||
|
|
||||||
#include "src/Core.h"
|
#include <Eigen/Core.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
USING_EIGEN_DATA_TYPES
|
USING_EIGEN_DATA_TYPES
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "../src/Core.h"
|
#include <Eigen/Core.h>
|
||||||
|
|
||||||
USING_EIGEN_DATA_TYPES
|
USING_EIGEN_DATA_TYPES
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "../src/Core.h"
|
#include <Eigen/Core.h>
|
||||||
USING_EIGEN_DATA_TYPES
|
USING_EIGEN_DATA_TYPES
|
||||||
using namespace std;
|
using namespace std;
|
||||||
int main(int, char**)
|
int main(int, char**)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "../src/Core.h"
|
#include <Eigen/Core.h>
|
||||||
|
|
||||||
USING_EIGEN_DATA_TYPES
|
USING_EIGEN_DATA_TYPES
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#include <QtTest/QtTest>
|
#include <QtTest/QtTest>
|
||||||
|
|
||||||
#define EIGEN_INTERNAL_DEBUGGING
|
#define EIGEN_INTERNAL_DEBUGGING
|
||||||
#include "../src/Core.h"
|
#include <Eigen/Core.h>
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
|
Loading…
Reference in New Issue
Block a user