|
@@ -43,22 +43,31 @@ endif(NOT CMAKE_BUILD_TYPE)
|
43
|
43
|
###################
|
44
|
44
|
# External Projects
|
45
|
45
|
###################
|
46
|
|
-include(ExternalProject)
|
|
46
|
+
|
47
|
47
|
##########################################################################################
|
48
|
48
|
# Eigen, this header-library is used extensively for linear algebra, matrices, and arrays
|
49
|
49
|
# Eigen now has an official mirror on GitHub, so Mercurial is no longer a requirement!
|
50
|
|
-ExternalProject_Add(EIGEN
|
51
|
|
- GIT_REPOSITORY "https://github.com/eigenteam/eigen-git-mirror.git"
|
52
|
|
- UPDATE_COMMAND ""
|
53
|
|
- GIT_TAG "3.3.3" #"default"
|
54
|
|
- PREFIX ${CMAKE_CURRENT_BINARY_DIR}/external/eigen
|
55
|
|
- CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX}
|
56
|
|
-)
|
57
|
|
-include_directories ("${CMAKE_INSTALL_PREFIX}/include/eigen3")
|
|
50
|
+#ExternalProject_Add(EIGEN
|
|
51
|
+# GIT_REPOSITORY "https://github.com/eigenteam/eigen-git-mirror.git"
|
|
52
|
+# UPDATE_COMMAND ""
|
|
53
|
+# GIT_TAG "3.3.3" #"default"
|
|
54
|
+# PREFIX ${CMAKE_CURRENT_BINARY_DIR}/external/eigen
|
|
55
|
+# CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX}
|
|
56
|
+#)
|
|
57
|
+#include_directories ("${CMAKE_INSTALL_PREFIX}/include/eigen3")
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+####################
|
|
61
|
+# Build SubModules #
|
|
62
|
+####################
|
|
63
|
+include(ExternalProject)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
58
|
67
|
|
59
|
68
|
#############################################################################################
|
60
|
69
|
# Yaml-cpp, this library is used extensively for serialisation of classes (class persistence)
|
61
|
|
-#find_package(yaml-cpp)
|
|
70
|
+find_package(yaml-cpp)
|
62
|
71
|
if (yaml-cpp_FOUND)
|
63
|
72
|
message( STATUS "YAML-CPP FOUND ${yaml-cpp_FOUND}" )
|
64
|
73
|
message( STATUS "YAML-CPP LIBRARIES ${YAML_CPP_LIBRARIES}" )
|
|
@@ -76,7 +85,7 @@ else()
|
76
|
85
|
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
|
77
|
86
|
-DYAML_CPP_BUILD_TESTS=OFF
|
78
|
87
|
)
|
79
|
|
- find_package(yaml-cpp)
|
|
88
|
+# find_package(yaml-cpp)
|
80
|
89
|
endif()
|
81
|
90
|
|
82
|
91
|
# CxxTest
|