forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nanobench] Update to 4.3.7 (microsoft#24225)
* [nanobench] Update to 4.3.7 * [nanobench] Update version files * [nanobench] Fix build on window x86 * [nanobench] Update version files * [nanobench] Add missing patch file * [nanobench] Update version files
- Loading branch information
Showing
5 changed files
with
52 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index b2f6089..d997097 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -3,9 +3,6 @@ project(nanobench LANGUAGES CXX) | ||
|
||
# determine whether this is a standalone project or included by other projects | ||
set(NANOBENCH_STANDALONE_PROJECT OFF) | ||
-if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) | ||
- set(NANOBENCH_STANDALONE_PROJECT ON) | ||
-endif() | ||
|
||
if (NANOBENCH_STANDALONE_PROJECT) | ||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) # generate compile_commands.json | ||
@@ -131,4 +128,6 @@ else() | ||
add_library(nanobench::nanobench ALIAS nanobench) | ||
set_property(TARGET nanobench PROPERTY CXX_STANDARD 17) | ||
target_include_directories(nanobench PUBLIC ${PROJECT_SOURCE_DIR}/src/include) | ||
+ install(TARGETS nanobench LIBRARY DESTINATION lib) | ||
+ install(FILES src/include/nanobench.h DESTINATION include) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
{ | ||
"name": "nanobench", | ||
"version": "4.3.6", | ||
"version": "4.3.7", | ||
"description": "Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20", | ||
"homepage": "https://nanobench.ankerl.com", | ||
"license": "MIT" | ||
"license": "MIT", | ||
"supports": "!uwp", | ||
"dependencies": [ | ||
"fmt", | ||
{ | ||
"name": "vcpkg-cmake", | ||
"host": true | ||
}, | ||
{ | ||
"name": "vcpkg-cmake-config", | ||
"host": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters