dev-cpp/tiny-dnn: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-05-27 11:35:36 +02:00
parent a09de087cf
commit 1fab63f837
5 changed files with 214 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -32,7 +32,7 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
- 'sphinx.ext.mathjax'
+ 'sphinx.ext.mathjax', 'sphinx.ext.autodoc'
]
# Add any paths that contain templates here, relative to this directory.

View File

@@ -0,0 +1,29 @@
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -2,17 +2,6 @@
enable_testing()
-include(../cmake/DownloadProject/DownloadProject.cmake)
-#set(gtest_disable_pthreads on) #TODO(randl): Windows?
-download_project(
- PROJ googletest
- GIT_REPOSITORY https://github.com/google/googletest.git
- GIT_TAG master
- UPDATE_DISCONNECTED 1
-)
-
-add_subdirectory(${googletest_SOURCE_DIR} ${googletest_BINARY_DIR})
-
enable_testing()
# in ../googletest-src/googletest/CMakeLists.txt, BUILD_SHARED_LIBS is set to OFF
@@ -29,7 +18,7 @@
add_executable(tiny_dnn_test test.cpp test_no_duplicate_symbols.cpp)
target_link_libraries(tiny_dnn_test
- ${project_library_target_name} ${REQUIRED_LIBRARIES} gtest gmock)
+ ${project_library_target_name} ${REQUIRED_LIBRARIES})
add_test(all_tests tiny_dnn_test)
# workaround for https://gitlab.kitware.com/cmake/cmake/issues/8774