Browse Source

added more submodules

submodule
Trevor Irons 6 years ago
parent
commit
453b982a9a
5 changed files with 29 additions and 12 deletions
  1. 6
    0
      .gitmodules
  2. 20
    11
      CMakeLists.txt
  3. 1
    0
      external/CxxTest
  4. 1
    1
      external/eigen
  5. 1
    0
      external/yaml-cpp

+ 6
- 0
.gitmodules View File

1
 [submodule "external/eigen"]
1
 [submodule "external/eigen"]
2
 	path = external/eigen
2
 	path = external/eigen
3
 	url = https://github.com/eigenteam/eigen-git-mirror.git
3
 	url = https://github.com/eigenteam/eigen-git-mirror.git
4
+[submodule "external/yaml-cpp"]
5
+	path = external/yaml-cpp
6
+	url = https://github.com/jbeder/yaml-cpp.git
7
+[submodule "external/CxxTest"]
8
+	path = external/CxxTest
9
+	url = https://github.com/CxxTest/cxxtest.git

+ 20
- 11
CMakeLists.txt View File

43
 ###################
43
 ###################
44
 # External Projects
44
 # External Projects
45
 ###################
45
 ###################
46
-include(ExternalProject)
46
+
47
 ##########################################################################################
47
 ##########################################################################################
48
 # Eigen, this header-library is used extensively for linear algebra, matrices, and arrays
48
 # Eigen, this header-library is used extensively for linear algebra, matrices, and arrays
49
 # Eigen now has an official mirror on GitHub, so Mercurial is no longer a requirement! 
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
 # Yaml-cpp, this library is used extensively for serialisation of classes (class persistence) 
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
 if (yaml-cpp_FOUND)
71
 if (yaml-cpp_FOUND)
63
     message( STATUS "YAML-CPP FOUND ${yaml-cpp_FOUND}" )
72
     message( STATUS "YAML-CPP FOUND ${yaml-cpp_FOUND}" )
64
     message( STATUS "YAML-CPP LIBRARIES ${YAML_CPP_LIBRARIES}" )
73
     message( STATUS "YAML-CPP LIBRARIES ${YAML_CPP_LIBRARIES}" )
76
                    -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} 
85
                    -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} 
77
     	           -DYAML_CPP_BUILD_TESTS=OFF
86
     	           -DYAML_CPP_BUILD_TESTS=OFF
78
 	)	
87
 	)	
79
-	find_package(yaml-cpp)
88
+#	find_package(yaml-cpp)
80
 endif()
89
 endif()
81
 
90
 
82
 # CxxTest 
91
 # CxxTest 

+ 1
- 0
external/CxxTest

1
+Subproject commit 48bf84df8a84794cbc3919281f7f95663db9217a

+ 1
- 1
external/eigen

1
-Subproject commit d58f73408e2b31dcb4244001df551b71f2aa96b6
1
+Subproject commit 9e97af7de76716c99abdbfd4a4acb182ef098808

+ 1
- 0
external/yaml-cpp

1
+Subproject commit 5d5bb52ec2825eb4c0c932a9c2d50dc3699f932f

Loading…
Cancel
Save