File tree 9 files changed +14
-14
lines changed
9 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ set(CMAKE_CXX_EXTENSIONS OFF)
10
10
11
11
option (BUILD_TESTS "Build test programs, using Google Test" ON )
12
12
13
- add_custom_command (OUTPUT arpc_protocol.h
14
- COMMAND ${CMAKE_SOURCE_DIR} /scripts/aprotoc.py <${CMAKE_SOURCE_DIR} /src/arpc_protocol.proto >${CMAKE_BINARY_DIR} /arpc_protocol.h
13
+ add_custom_command (OUTPUT arpc_protocol.ad. h
14
+ COMMAND ${CMAKE_SOURCE_DIR} /scripts/aprotoc.py <${CMAKE_SOURCE_DIR} /src/arpc_protocol.proto >${CMAKE_BINARY_DIR} /arpc_protocol.ad. h
15
15
DEPENDS ${CMAKE_SOURCE_DIR} /src/arpc_protocol.proto
16
16
)
17
17
18
18
include_directories (${CMAKE_BINARY_DIR} )
19
19
20
20
add_library (arpc
21
- arpc_protocol.h
21
+ arpc_protocol.ad. h
22
22
include /arpc++/arpc++.h
23
23
src/argdata_builder.cc
24
24
src/argdata_parser.cc
@@ -52,15 +52,15 @@ install(TARGETS arpc EXPORT arpc
52
52
if (BUILD_TESTS)
53
53
add_subdirectory (contrib/googletest-release-1.8.0/googletest EXCLUDE_FROM_ALL )
54
54
55
- add_custom_command (OUTPUT server_test_proto.h
56
- COMMAND ${CMAKE_SOURCE_DIR} /scripts/aprotoc.py <${CMAKE_SOURCE_DIR} /src/server_test_proto.proto >${CMAKE_BINARY_DIR} /server_test_proto.h
55
+ add_custom_command (OUTPUT server_test_proto.ad. h
56
+ COMMAND ${CMAKE_SOURCE_DIR} /scripts/aprotoc.py <${CMAKE_SOURCE_DIR} /src/server_test_proto.proto >${CMAKE_BINARY_DIR} /server_test_proto.ad. h
57
57
DEPENDS ${CMAKE_SOURCE_DIR} /src/server_test_proto.proto
58
58
)
59
59
60
60
include_directories (${gtest_SOURCE_DIR} /include ${gtest_SOURCE_DIR} )
61
61
62
62
add_executable (arpc_tests
63
- server_test_proto.h
63
+ server_test_proto.ad. h
64
64
src/server_test.cc
65
65
)
66
66
target_link_libraries (arpc_tests arpc gtest_main)
Original file line number Diff line number Diff line change 9
9
10
10
#include < arpc++/arpc++.h>
11
11
12
- #include " arpc_protocol.h"
12
+ #include " arpc_protocol.ad. h"
13
13
14
14
using namespace arpc ;
15
15
Original file line number Diff line number Diff line change 8
8
#include < arpc++/arpc++.h>
9
9
#include < argdata.hpp>
10
10
11
- #include " arpc_protocol.h"
11
+ #include " arpc_protocol.ad. h"
12
12
13
13
using namespace arpc ;
14
14
Original file line number Diff line number Diff line change 8
8
#include < arpc++/arpc++.h>
9
9
#include < argdata.hpp>
10
10
11
- #include " arpc_protocol.h"
11
+ #include " arpc_protocol.ad. h"
12
12
13
13
using namespace arpc ;
14
14
Original file line number Diff line number Diff line change 7
7
#include < arpc++/arpc++.h>
8
8
#include < argdata.hpp>
9
9
10
- #include " arpc_protocol.h"
10
+ #include " arpc_protocol.ad. h"
11
11
12
12
using namespace arpc ;
13
13
Original file line number Diff line number Diff line change 7
7
#include < arpc++/arpc++.h>
8
8
#include < argdata.hpp>
9
9
10
- #include " arpc_protocol.h"
10
+ #include " arpc_protocol.ad. h"
11
11
12
12
using namespace arpc ;
13
13
Original file line number Diff line number Diff line change 15
15
#include < gtest/gtest.h>
16
16
#include < argdata.hpp>
17
17
18
- #include " server_test_proto.h"
18
+ #include " server_test_proto.ad. h"
19
19
20
20
TEST (Server, EndOfFile) {
21
21
// Close one half of a socket pair. Reading requests should return
Original file line number Diff line number Diff line change 5
5
#include < arpc++/arpc++.h>
6
6
#include < argdata.hpp>
7
7
8
- #include " arpc_protocol.h"
8
+ #include " arpc_protocol.ad. h"
9
9
10
10
using namespace arpc ;
11
11
Original file line number Diff line number Diff line change 4
4
5
5
#include < arpc++/arpc++.h>
6
6
7
- #include " arpc_protocol.h"
7
+ #include " arpc_protocol.ad. h"
8
8
9
9
using namespace arpc ;
10
10
You can’t perform that action at this time.
0 commit comments