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>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
// Copyright 2019 Open Source Robotics Foundation, Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef DARKNET_VENDOR__DARKNET_VENDOR_H_
|
||||
#define DARKNET_VENDOR__DARKNET_VENDOR_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <darknet.h>
|
||||
#include <darknet_vendor/version.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif // DARKNET_VENDOR__DARKNET_VENDOR_H_
|
||||
|
||||
Generated
+24
@@ -0,0 +1,24 @@
|
||||
// Copyright 2019 Open Source Robotics Foundation, Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#ifndef DARKNET_VENDOR__DARKNET_VERSION_H_
|
||||
#define DARKNET_VENDOR__DARKNET_VERSION_H_
|
||||
|
||||
#define DARKNET_VENDOR_MAJOR_VERSION @PROJECT_VERSION_MAJOR@
|
||||
#define DARKNET_VENDOR_MINOR_VERSION @PROJECT_VERSION_MINOR@
|
||||
#define DARKNET_VENDOR_PATCH_VERSION @PROJECT_VERSION_PATCH@
|
||||
|
||||
#define DARKNET_GIT_TAG "@darknet_git_tag@"
|
||||
|
||||
#endif // DARKNET_VENDOR__DARKNET_VERSION_H_
|
||||
Reference in New Issue
Block a user