-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
17,722 additions
and
0 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
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,13 @@ | ||
all: ./build | ||
@cmake -S . -B ./build | ||
@$(MAKE) -C ./build | ||
@make test | ||
|
||
./build: | ||
@mkdir -p $@ | ||
|
||
test: ./build | ||
@cmake -S . -B ./build | ||
@$(MAKE) -C ./build test | ||
@find build/test -type f -executable -print0 | xargs -0 -n1 /usr/bin/env | ||
|
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,9 @@ | ||
add_executable(test_rpcrunnable | ||
test_rpcrunnable.cpp | ||
) | ||
set_property(TARGET test_rpcrunnable PROPERTY CXX_STANDARD 20) | ||
target_link_libraries(test_rpcrunnable flatrpc) | ||
|
||
add_custom_target(test) | ||
|
||
add_dependencies(test test_rpcrunnable) |
Oops, something went wrong.