File: README.md

package info (click to toggle)
tiny-dnn 1.0.0a3%2Bds-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,784 kB
  • sloc: cpp: 16,471; ansic: 11,829; lisp: 3,682; python: 3,422; makefile: 208
file content (24 lines) | stat: -rw-r--r-- 1,205 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# DownloadProject


Platform | Build status
---------|-------------:
Linux<br>Mac OSX | [![Build Status](https://travis-ci.org/Crascit/DownloadProject.svg?branch=master)](https://travis-ci.org/Crascit/DownloadProject)
Windows (VS2015) | [![Build status](https://ci.appveyor.com/api/projects/status/1qdjq4fpef25tftw/branch/master?svg=true)](https://ci.appveyor.com/project/Crascit/downloadproject/branch/master)

This repository contains a generalized implementation for downloading an
external project's source at CMake's configure step rather than as part
of the main build. The primary advantage of this is that the project's source
code can then be included directly in the main CMake build using the
add_subdirectory() command, making all of the external project's targets,
etc. available without any further effort. The technique is fully explained
in the article available at:

http://crascit.com/2015/07/25/cmake-gtest/

An example as described in that article is provided here to demonstrate
how to use the DownloadProject module. It uses [googletest][1] as the
example, downloading and building trivial gtest and gmock test cases
to show the technique.

[1]: https://github.com/google/googletest