Unverified Commit 27f972fc authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

add version.hpp to ngraph install files for external backends (#2277)

* add version.hpp to ngraph install files for external backends

* update date
parent ba299b93
......@@ -179,6 +179,8 @@ if(NGRAPH_DISTRIBUTED_ENABLE)
list(APPEND SRC distributed.cpp)
endif()
configure_file(version.in.hpp version.hpp)
add_library(ngraph SHARED ${SRC})
if(NGRAPH_DISTRIBUTED_ENABLE)
......@@ -264,6 +266,8 @@ install(DIRECTORY
PATTERN "*.hpp"
PATTERN "*.h"
)
install(FILES ${CMAKE_BINARY_DIR}/src/ngraph/version.hpp
DESTINATION "${NGRAPH_INSTALL_INCLUDE}/ngraph")
set(CPACK_GENERATOR "DEB")
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
......
//*****************************************************************************
// Copyright 2017-2019 Intel Corporation
//
// 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.
//*****************************************************************************
const char* NGRAPH_VERSION_NUMBER = "${NGRAPH_VERSION}";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment