-
Notifications
You must be signed in to change notification settings - Fork 38
Cmake #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Cmake #76
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
c79b044
Set min version
andreiavrammsd d30c45a
Format cmake files
andreiavrammsd a670353
Add words
andreiavrammsd 3ead163
Add clean
andreiavrammsd bb46752
Clean Dockerfile
andreiavrammsd 0e0c5d1
Allow ASLR
andreiavrammsd 5dc192f
Remove unused
andreiavrammsd 663aa35
Install cmake-format
andreiavrammsd 2d90aa5
Add gdb
andreiavrammsd 6ef6b84
Add cmake kits
andreiavrammsd 8cfb59b
Kits
andreiavrammsd 5c69bcc
ASLR
andreiavrammsd 00dea7e
CMake
andreiavrammsd 15eabe1
Add word
andreiavrammsd 5f83d4b
Extract dir vars
andreiavrammsd 4e160ea
Clean
andreiavrammsd e6c5bbe
Remove -std
andreiavrammsd 5d958f3
MSVC std
andreiavrammsd 46ed6fa
MSVC
andreiavrammsd ac92864
Split tests/benchmarks
andreiavrammsd 89008d9
Set before download
andreiavrammsd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,5 @@ | ||
{ | ||
"line_width": 120, | ||
"tab_size": 4, | ||
"max_subgroups_hwrap": 3 | ||
} | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,18 @@ | ||
[ | ||
{ | ||
"name": "GCC", | ||
"compilers": { | ||
"C": "/usr/bin/gcc", | ||
"CXX": "/usr/bin/g++" | ||
}, | ||
"isTrusted": true | ||
}, | ||
{ | ||
"name": "Clang", | ||
"compilers": { | ||
"C": "/usr/bin/clang", | ||
"CXX": "/usr/bin/clang++" | ||
}, | ||
"isTrusted": true | ||
} | ||
] |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,9 @@ | ||
InheritParentConfig: true | ||
|
||
Checks: > | ||
-cppcoreguidelines-avoid-magic-numbers, | ||
-readability-magic-numbers, | ||
-fuchsia-default-arguments-calls | ||
|
||
CheckOptions: | ||
- { key: readability-identifier-length.MinimumVariableNameLength, value: '1' } |
This file contains hidden or 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,16 @@ | ||
include(FetchContent) | ||
if(NOT benchmark_POPULATED) | ||
set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "" FORCE) | ||
set(BENCHMARK_ENABLE_GTEST_TESTS OFF CACHE BOOL "" FORCE) | ||
FetchContent_Declare(benchmark URL https://github.com/google/benchmark/archive/refs/tags/v1.9.4.zip | ||
DOWNLOAD_EXTRACT_TIMESTAMP TRUE) | ||
FetchContent_MakeAvailable(benchmark) | ||
endif() | ||
|
||
function(package_add_benchmark TESTNAME) | ||
add_executable(${TESTNAME} ${ARGN}) | ||
set_target_warnings(${TESTNAME} PRIVATE) | ||
target_link_libraries(${TESTNAME} benchmark) | ||
endfunction() | ||
|
||
package_add_benchmark(channel_benchmark channel_benchmark.cpp) |
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.