greenhouse/cmake/FetchContent/CMakeLists.cmake.in
Shane Loretz 84cb832919
Initial version of darknet_vendor (#1)
* Initial version of darknet_vendor

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Quote to make tag usable as string

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Add OpenCV option

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Fix include guards

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* First cuda attempt

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Cuda builds and runs

Signed-off-by: Shane Loretz<sloretz@openrobotics.org>
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Avoid -pthread flag

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Combine cuda blocks, trivial cleanup

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Add opencv and cuda dependencies

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Add license for FetchContent

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Add Apache 2.0 license

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* FetchContent uses git

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

* Add CONTRIBUTING.md

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
2019-10-04 15:42:48 -07:00

25 lines
928 B
CMake

# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
cmake_minimum_required(VERSION ${CMAKE_VERSION})
# We name the project and the target for the ExternalProject_Add() call
# to something that will highlight to the user what we are working on if
# something goes wrong and an error message is produced.
project(${contentName}-populate NONE)
include(ExternalProject)
ExternalProject_Add(${contentName}-populate
${ARG_EXTRA}
SOURCE_DIR "${ARG_SOURCE_DIR}"
BINARY_DIR "${ARG_BINARY_DIR}"
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
TEST_COMMAND ""
USES_TERMINAL_DOWNLOAD YES
USES_TERMINAL_UPDATE YES
)