Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 11 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# License along with Mutation++. If not, see
# <http://www.gnu.org/licenses/>.
#
cmake_minimum_required(VERSION 3.10...4.0)
cmake_minimum_required(VERSION 3.15...4.0)
cmake_policy(SET CMP0048 NEW)
set(CMAKE_CXX_STANDARD 14)

Expand Down Expand Up @@ -204,10 +204,18 @@ endif()
###############################################################################
# ThirdParty Libraries
###############################################################################
include(FetchContent)

# Eigen
find_package(Eigen3)

FetchContent_Declare(
Eigen3
GIT_REPOSITORY https://gitlab.com/libeigen/eigen.git
GIT_TAG 3.4.1
GIT_SHALLOW TRUE
FIND_PACKAGE_ARGS
)
set(EIGEN_BUILD_CMAKE_PACKAGE YES)
FetchContent_MakeAvailable(Eigen3)

###############################################################################
# Source code
Expand Down
79 changes: 0 additions & 79 deletions cmake/modules/FindEigen3.cmake

This file was deleted.

7 changes: 0 additions & 7 deletions docs/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ If you don't have admin rights on your machine and you cannot get a module, we p

The source code of third-party dependencies is located in the `thirdparty` directory. The code for the following dependencies is taken directly from a git repository using the [subrepo](https://github.com/ingydotnet/git-subrepo) utility:

- Eigen ([GitHub mirror of the BitBucket Mercurial repository](https://github.com/RLovelett/eigen))
- Catch ([original GitHub project page](https://github.com/philsquared/Catch))

The installation process of the `subrepo` utility is detailed on the project page.
Expand All @@ -28,12 +27,6 @@ If a dependency is managed using `subrepo`, it can be updated by using it. From
git subrepo checkout <path_to_dependency> -b <tag_or_branch>
```

For instance, to upgrade Eigen to v3.3.2:

```bash
git subrepo checkout thirdparty/eigen -b 3.3.2
```

Check on the hosting git repo the tag or branch name to use.

If the code is not managed using `subrepo`, delete the current code and replace it with the new version.
Expand Down
11 changes: 0 additions & 11 deletions thirdparty/eigen/.gitrepo

This file was deleted.

8 changes: 0 additions & 8 deletions thirdparty/eigen/.hgeol

This file was deleted.

32 changes: 0 additions & 32 deletions thirdparty/eigen/.hgignore

This file was deleted.

35 changes: 0 additions & 35 deletions thirdparty/eigen/.hgtags

This file was deleted.

Loading