Skip to content

Commit c4750d7

Browse files
authored
Merge pull request #78 from scotthart/release_0_1_0
chore: set repo version to 0.1.0
2 parents 73401a7 + 51c4ad0 commit c4750d7

File tree

4 files changed

+32
-2
lines changed

4 files changed

+32
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ set(PACKAGE_BUGREPORT
2222
"https://github.com/googleapis/google-cloud-cpp-bigquery/issues")
2323
project(
2424
google-cloud-cpp-bigquery
25-
VERSION 0.0.0
25+
VERSION 0.1.0
2626
LANGUAGES CXX)
2727
set(PROJECT_VERSION_PRE_RELEASE "")
2828

google/cloud/bigquery_unified/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ find_package(google_cloud_cpp_bigquery REQUIRED)
2222
find_package(google_cloud_cpp_bigquerycontrol REQUIRED)
2323
find_package(Arrow REQUIRED)
2424

25+
# Generate the version information from the CMake values.
26+
configure_file(internal/version_info.h.in
27+
${CMAKE_CURRENT_SOURCE_DIR}/internal/version_info.h)
28+
2529
function (bigquery_unified_library library_name library_alias)
2630
cmake_parse_arguments(_opt "EXPERIMENTAL;TRANSITION;INSTALL" "INITIAL_YEAR"
2731
"LIBRARY_FILES;DEPS;PKGCONFIG_DEPS" ${ARGN})

google/cloud/bigquery_unified/internal/version_info.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// NOLINTNEXTLINE(modernize-macro-to-enum)
1919
#define GOOGLE_CLOUD_CPP_BIGQUERY_VERSION_MAJOR 0
2020
// NOLINTNEXTLINE(modernize-macro-to-enum)
21-
#define GOOGLE_CLOUD_CPP_BIGQUERY_VERSION_MINOR 0
21+
#define GOOGLE_CLOUD_CPP_BIGQUERY_VERSION_MINOR 1
2222
// NOLINTNEXTLINE(modernize-macro-to-enum)
2323
#define GOOGLE_CLOUD_CPP_BIGQUERY_VERSION_PATCH 0
2424
#define GOOGLE_CLOUD_CPP_BIGQUERY_VERSION_PRE_RELEASE ""
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Copyright 2024 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
#ifndef GOOGLE_CLOUD_CPP_BIGQUERY_GOOGLE_CLOUD_BIGQUERY_UNIFIED_INTERNAL_VERSION_INFO_H
16+
#define GOOGLE_CLOUD_CPP_BIGQUERY_GOOGLE_CLOUD_BIGQUERY_UNIFIED_INTERNAL_VERSION_INFO_H
17+
18+
// NOLINTNEXTLINE(modernize-macro-to-enum)
19+
#define GOOGLE_CLOUD_CPP_BIGQUERY_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
20+
// NOLINTNEXTLINE(modernize-macro-to-enum)
21+
#define GOOGLE_CLOUD_CPP_BIGQUERY_VERSION_MINOR @PROJECT_VERSION_MINOR@
22+
// NOLINTNEXTLINE(modernize-macro-to-enum)
23+
#define GOOGLE_CLOUD_CPP_BIGQUERY_VERSION_PATCH @PROJECT_VERSION_PATCH@
24+
#define GOOGLE_CLOUD_CPP_BIGQUERY_VERSION_PRE_RELEASE "@PROJECT_VERSION_PRE_RELEASE@"
25+
26+
#endif // GOOGLE_CLOUD_CPP_BIGQUERY_GOOGLE_CLOUD_BIGQUERY_UNIFIED_INTERNAL_VERSION_INFO_H

0 commit comments

Comments
 (0)