Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
boolinq
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
boolinq
Commits
e8a4fe4f
Commit
e8a4fe4f
authored
Jul 02, 2019
by
Anton Bukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert to submodules
parent
4c5ef3e0
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
22 deletions
+14
-22
.gitmodules
.gitmodules
+6
-0
.travis.yml
.travis.yml
+1
-1
CMakeLists.txt
CMakeLists.txt
+3
-18
CMakeLists.txt
bench/CMakeLists.txt
+2
-3
benchmark
externals/benchmark
+1
-0
googletest
externals/googletest
+1
-0
No files found.
.gitmodules
0 → 100644
View file @
e8a4fe4f
[submodule "externals/googletest"]
path = externals/googletest
url = https://github.com/google/googletest.git
[submodule "externals/benchmark"]
path = externals/benchmark
url = https://github.com/google/benchmark.git
.travis.yml
View file @
e8a4fe4f
language
:
none
sudo
:
tru
e
sudo
:
fals
e
cache
:
apt
:
true
...
...
CMakeLists.txt
View file @
e8a4fe4f
...
...
@@ -27,25 +27,10 @@ ADD_CUSTOM_TARGET (cppcheck DEPENDS ${CppCheck_REPORT})
SET_DIRECTORY_PROPERTIES
(
PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES
${
CppCheck_REPORT
}
)
include
(
ExternalProject
)
ExternalProject_Add
(
benchmark
GIT_REPOSITORY https://github.com/google/benchmark.git
GIT_TAG v1.5.0
SOURCE_DIR
"
${
CMAKE_BINARY_DIR
}
/benchmark-src"
BINARY_DIR
"
${
CMAKE_BINARY_DIR
}
/benchmark-build"
CMAKE_ARGS
"-DBENCHMARK_ENABLE_GTEST_TESTS=OFF;-DCMAKE_BUILD_TYPE=Release"
)
ExternalProject_Add
(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG release-1.8.1
SOURCE_DIR
"
${
CMAKE_BINARY_DIR
}
/googletest-src"
BINARY_DIR
"
${
CMAKE_BINARY_DIR
}
/googletest-build"
CMAKE_ARGS
"-DCMAKE_BUILD_TYPE=Release"
)
# Testing.
ADD_SUBDIRECTORY
(
externals/googletest
)
ADD_SUBDIRECTORY
(
externals/benchmark
)
ADD_SUBDIRECTORY
(
test
)
ADD_SUBDIRECTORY
(
bench
)
ADD_DEPENDENCIES
(
"
${
PROJECT_NAME
}
-test"
g
oogle
test
)
ADD_DEPENDENCIES
(
"
${
PROJECT_NAME
}
-test"
gtest
)
ADD_DEPENDENCIES
(
"
${
PROJECT_NAME
}
-bench"
benchmark
)
bench/CMakeLists.txt
View file @
e8a4fe4f
# Common variables.
SET
(
CMAKE_BUILD_TYPE Release
)
#
SET (CMAKE_BUILD_TYPE Release)
SET
(
CMAKE_CXX_STANDARD 11
)
SET
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
SET
(
TARGET
"
${
PROJECT_NAME
}
-bench"
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wall -Wextra -Wmissing-include-dirs -Wfloat-equal -Wshadow"
)
...
...
@@ -27,7 +27,6 @@ ADD_EXECUTABLE (
)
TARGET_LINK_LIBRARIES
(
"
${
PROJECT_NAME
}
-bench"
benchmark_main
gtest_main
benchmark
gtest
)
benchmark
@
090faecb
Subproject commit 090faecb454fbd6e6e17a75ef8146acb037118d4
googletest
@
2fe3bd99
Subproject commit 2fe3bd994b3189899d93f1d5a881e725e046fdc2
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