-
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.
Merge pull request #5 from yumetodo/feat/support_string_view
Feat: support string_view
- Loading branch information
Showing
31 changed files
with
2,385 additions
and
1,850 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 |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
[Rr]eleases/ | ||
[Xx]64/ | ||
[Xx]86/ | ||
[Bb]uild/ | ||
[Bb]uild*/ | ||
bld/ | ||
[Bb]in/ | ||
[Oo]bj/ | ||
|
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
cmake_minimum_required(VERSION 3.7) | ||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/modules) | ||
add_subdirectory(sample) | ||
add_subdirectory(benchmark) | ||
add_subdirectory(test) | ||
|
||
add_custom_target(ci | ||
DEPENDS benchmark run_sample | ||
) | ||
if((CMAKE_BUILD_TYPE STREQUAL "Debug") AND ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") AND STRING_SPLIT_ENABLE_COVERAGE) | ||
add_dependencies(ci test_coverage) | ||
else() | ||
add_dependencies(ci run_test) | ||
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
cmake_minimum_required(VERSION 3.7) | ||
enable_language(CXX) | ||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/../cmake/modules) | ||
|
||
# | ||
# C++ version | ||
# | ||
include(DecideCXXStanderd) | ||
DECIDE_CXX_STANDERD() | ||
message("CMAKE_CXX_STANDARD:${CMAKE_CXX_STANDARD}") | ||
|
||
set(CMAKE_CXX_STANDARD_REQUIRED ON) #...is required... | ||
set(CMAKE_CXX_EXTENSIONS OFF) #...without compiler extensions like gnu++11 | ||
|
||
# | ||
# Set our project name | ||
# | ||
project(benchmark) | ||
|
||
# | ||
# Source files | ||
# | ||
set(benchmark_src | ||
"./benchmark.cpp" | ||
) | ||
|
||
# | ||
# Compile | ||
# | ||
add_executable(benchmark ${benchmark_src}) |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.