Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
benchmark
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
benchmark
Commits
f65c6d9a
Unverified
Commit
f65c6d9a
authored
Nov 06, 2017
by
Dominic Hamon
Committed by
GitHub
Nov 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated headers (#473)
parent
1e525601
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
57 deletions
+3
-57
benchmark_api.h
include/benchmark/benchmark_api.h
+0
-27
reporter.h
include/benchmark/reporter.h
+0
-27
CMakeLists.txt
src/CMakeLists.txt
+3
-3
No files found.
include/benchmark/benchmark_api.h
deleted
100644 → 0
View file @
1e525601
// Copyright 2015 Google Inc. All rights reserved.
//
// 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 BENCHMARK_BENCHMARK_API_H_
#define BENCHMARK_BENCHMARK_API_H_
#ifdef __DEPRECATED
# ifndef BENCHMARK_WARNING_MSG
# warning the benchmark_api.h header has been deprecated and will be removed, please include benchmark.h instead
# else
BENCHMARK_WARNING_MSG
(
"the benchmark_api.h header has been deprecated and will be removed, please include benchmark.h instead"
)
# endif
#endif
#include "benchmark.h" // For forward declaration of BenchmarkReporter
#endif // BENCHMARK_BENCHMARK_API_H_
include/benchmark/reporter.h
deleted
100644 → 0
View file @
1e525601
// Copyright 2015 Google Inc. All rights reserved.
//
// 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 BENCHMARK_REPORTER_H_
#define BENCHMARK_REPORTER_H_
#ifdef __DEPRECATED
# ifndef BENCHMARK_WARNING_MSG
# warning the reporter.h header has been deprecated and will be removed, please include benchmark.h instead
# else
BENCHMARK_WARNING_MSG
(
"the reporter.h header has been deprecated and will be removed, please include benchmark.h instead"
)
# endif
#endif
#include "benchmark.h" // For forward declaration of BenchmarkReporter
#endif // BENCHMARK_REPORTER_H_
src/CMakeLists.txt
View file @
f65c6d9a
...
@@ -63,16 +63,16 @@ if (BENCHMARK_ENABLE_INSTALL)
...
@@ -63,16 +63,16 @@ if (BENCHMARK_ENABLE_INSTALL)
LIBRARY DESTINATION
${
lib_install_dir
}
LIBRARY DESTINATION
${
lib_install_dir
}
RUNTIME DESTINATION
${
bin_install_dir
}
RUNTIME DESTINATION
${
bin_install_dir
}
INCLUDES DESTINATION
${
include_install_dir
}
)
INCLUDES DESTINATION
${
include_install_dir
}
)
install
(
install
(
DIRECTORY
"
${
PROJECT_SOURCE_DIR
}
/include/benchmark"
DIRECTORY
"
${
PROJECT_SOURCE_DIR
}
/include/benchmark"
DESTINATION
${
include_install_dir
}
DESTINATION
${
include_install_dir
}
FILES_MATCHING PATTERN
"*.*h"
)
FILES_MATCHING PATTERN
"*.*h"
)
install
(
install
(
FILES
"
${
project_config
}
"
"
${
version_config
}
"
FILES
"
${
project_config
}
"
"
${
version_config
}
"
DESTINATION
"
${
config_install_dir
}
"
)
DESTINATION
"
${
config_install_dir
}
"
)
install
(
install
(
EXPORT
"
${
targets_export_name
}
"
EXPORT
"
${
targets_export_name
}
"
NAMESPACE
"
${
namespace
}
"
NAMESPACE
"
${
namespace
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment